2026-09-11 01:31:26 +02:00
|
|
|
|
"""hms_cluster – Clusterprotokoll, Registry, Paarung, Discovery, Gruppen,
|
|
|
|
|
|
Clock-Sync, zeitgestempelte Aktivierung (§6.3–§6.5; ADR-0009/0010)."""
|
2026-09-11 01:06:26 +02:00
|
|
|
|
|
2026-09-11 01:31:26 +02:00
|
|
|
|
from hms_cluster.activation import (
|
|
|
|
|
|
ActivationCoordinator,
|
|
|
|
|
|
ArmState,
|
|
|
|
|
|
PlannedActivation,
|
|
|
|
|
|
)
|
|
|
|
|
|
from hms_cluster.clock import ClockEstimator, ClockSample, now_monotonic_ns
|
2026-09-11 01:06:26 +02:00
|
|
|
|
from hms_cluster.discovery import (
|
|
|
|
|
|
DISCOVERY_PROTOCOL_VERSION,
|
|
|
|
|
|
SERVICE_TYPE,
|
|
|
|
|
|
ManualNodeList,
|
|
|
|
|
|
ServiceInfo,
|
|
|
|
|
|
capability_digest,
|
|
|
|
|
|
)
|
2026-09-11 01:31:26 +02:00
|
|
|
|
from hms_cluster.groups import GroupRouter, GroupRule, ServerGroup, TargetKind
|
2026-09-11 01:06:26 +02:00
|
|
|
|
from hms_cluster.message import ClusterMessage, CommandStatus, CommandTracker
|
|
|
|
|
|
from hms_cluster.pairing import (
|
|
|
|
|
|
PairingPin,
|
|
|
|
|
|
PairingStore,
|
|
|
|
|
|
Scope,
|
|
|
|
|
|
generate_pin,
|
|
|
|
|
|
hash_token,
|
|
|
|
|
|
identity_fingerprint,
|
|
|
|
|
|
new_token,
|
|
|
|
|
|
pin_valid,
|
|
|
|
|
|
)
|
|
|
|
|
|
from hms_cluster.registry import (
|
|
|
|
|
|
DuplicateNodeError,
|
|
|
|
|
|
HealthThresholds,
|
|
|
|
|
|
NodeCategory,
|
|
|
|
|
|
NodeEntry,
|
|
|
|
|
|
NodeHealth,
|
|
|
|
|
|
NodeRegistry,
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
|
|
"SERVICE_TYPE",
|
|
|
|
|
|
"DISCOVERY_PROTOCOL_VERSION",
|
|
|
|
|
|
"ServiceInfo",
|
|
|
|
|
|
"ManualNodeList",
|
|
|
|
|
|
"capability_digest",
|
|
|
|
|
|
"ClusterMessage",
|
|
|
|
|
|
"CommandStatus",
|
|
|
|
|
|
"CommandTracker",
|
|
|
|
|
|
"PairingPin",
|
|
|
|
|
|
"PairingStore",
|
|
|
|
|
|
"Scope",
|
|
|
|
|
|
"generate_pin",
|
|
|
|
|
|
"pin_valid",
|
|
|
|
|
|
"identity_fingerprint",
|
|
|
|
|
|
"new_token",
|
|
|
|
|
|
"hash_token",
|
|
|
|
|
|
"DuplicateNodeError",
|
|
|
|
|
|
"HealthThresholds",
|
|
|
|
|
|
"NodeCategory",
|
|
|
|
|
|
"NodeEntry",
|
|
|
|
|
|
"NodeHealth",
|
|
|
|
|
|
"NodeRegistry",
|
2026-09-11 01:31:26 +02:00
|
|
|
|
"GroupRouter",
|
|
|
|
|
|
"GroupRule",
|
|
|
|
|
|
"ServerGroup",
|
|
|
|
|
|
"TargetKind",
|
|
|
|
|
|
"ClockEstimator",
|
|
|
|
|
|
"ClockSample",
|
|
|
|
|
|
"now_monotonic_ns",
|
|
|
|
|
|
"ActivationCoordinator",
|
|
|
|
|
|
"ArmState",
|
|
|
|
|
|
"PlannedActivation",
|
2026-09-11 01:06:26 +02:00
|
|
|
|
]
|