| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- # -*- coding: utf-8 -*-
- """
- Trixy Satellite-Verwaltung.
- Bietet:
- - Core: Satellite, SatelliteManager, RegistrationManager
- - API: High-Level Plugin-API für Satellite-Interaktion
- - Groups: Gruppierung und Zone-Management
- - LoadBalancing: Lastverteilung über Satellites
- - Health: Gesundheits-Monitoring und Scoring
- - Failover: Automatisches Failover zu Backup-Satellites
- - Capability: Dynamische Fähigkeitserkennung
- - Metrics: Metriken-Sammlung und Aggregation
- """
- from trixy_core.satellite.satellite import Satellite, ConnectionState
- from trixy_core.satellite.satellite_manager import SatelliteManager
- from trixy_core.satellite.registration_manager import RegistrationManager
- from trixy_core.satellite.api import (
- SatelliteAPI,
- SatelliteProxy,
- SatelliteCollection,
- StreamSession,
- StreamState,
- TTSRequest,
- get_satellite_api,
- )
- # Groups
- from trixy_core.satellite.groups import (
- SatelliteGroup,
- GroupManager,
- GroupType,
- Zone,
- ZoneManager,
- ZoneConfig,
- )
- # Load Balancing
- from trixy_core.satellite.loadbalancing import (
- LoadBalancingStrategy,
- LoadBalancer,
- SelectionResult,
- RoundRobinStrategy,
- LeastConnectionsStrategy,
- WeightedStrategy,
- WeightConfig,
- )
- # Health
- from trixy_core.satellite.health import (
- HealthScorer,
- HealthMetrics,
- HealthScore,
- HealthState,
- HealthThresholds,
- ThresholdConfig,
- ThresholdViolation,
- )
- # Failover
- from trixy_core.satellite.failover import (
- FailoverManager,
- FailoverConfig,
- FailoverEvent,
- FailoverState,
- BackupAssignment,
- BackupRegistry,
- BackupStrategy,
- )
- # Capability
- from trixy_core.satellite.capability import (
- CapabilityDiscovery,
- DiscoveryConfig,
- CapabilityProbe,
- CapabilityRegistry,
- Capability,
- CapabilityInfo,
- CapabilityState,
- )
- # Metrics
- from trixy_core.satellite.metrics import (
- SatelliteMetricsCollector,
- MetricType,
- MetricValue,
- SatelliteMetrics,
- MetricsAggregator,
- AggregationType,
- AggregatedMetric,
- TimeWindow,
- )
- # Connection Notification
- from trixy_core.satellite.connection_notification import (
- ConnectionNotificationHandler,
- setup_connection_notification,
- )
- __all__ = [
- # Core
- "Satellite",
- "ConnectionState",
- "SatelliteManager",
- "RegistrationManager",
- # High-Level API
- "SatelliteAPI",
- "SatelliteProxy",
- "SatelliteCollection",
- "StreamSession",
- "StreamState",
- "TTSRequest",
- "get_satellite_api",
- # Groups
- "SatelliteGroup",
- "GroupManager",
- "GroupType",
- "Zone",
- "ZoneManager",
- "ZoneConfig",
- # Load Balancing
- "LoadBalancingStrategy",
- "LoadBalancer",
- "SelectionResult",
- "RoundRobinStrategy",
- "LeastConnectionsStrategy",
- "WeightedStrategy",
- "WeightConfig",
- # Health
- "HealthScorer",
- "HealthMetrics",
- "HealthScore",
- "HealthState",
- "HealthThresholds",
- "ThresholdConfig",
- "ThresholdViolation",
- # Failover
- "FailoverManager",
- "FailoverConfig",
- "FailoverEvent",
- "FailoverState",
- "BackupAssignment",
- "BackupRegistry",
- "BackupStrategy",
- # Capability
- "CapabilityDiscovery",
- "DiscoveryConfig",
- "CapabilityProbe",
- "CapabilityRegistry",
- "Capability",
- "CapabilityInfo",
- "CapabilityState",
- # Metrics
- "SatelliteMetricsCollector",
- "MetricType",
- "MetricValue",
- "SatelliteMetrics",
- "MetricsAggregator",
- "AggregationType",
- "AggregatedMetric",
- "TimeWindow",
- # Connection Notification
- "ConnectionNotificationHandler",
- "setup_connection_notification",
- ]
|