Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions fusion/domain/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
"""
FUSION Domain Model Package.

This package contains the typed domain objects for FUSION v5:
- SimulationConfig: Immutable simulation configuration
- Request: Network service request with lifecycle tracking
- Lightpath: Allocated optical path with capacity management
- Result objects: Immutable pipeline stage outputs

All domain objects support legacy conversion via from_legacy_dict/to_legacy_dict.
"""

from fusion.domain.config import SimulationConfig
from fusion.domain.lightpath import Lightpath
from fusion.domain.request import (
BlockReason,
ProtectionStatus,
Request,
RequestStatus,
RequestType,
)
from fusion.domain.results import (
AllocationResult,
GroomingResult,
ProtectionResult,
RouteResult,
SlicingResult,
SNRResult,
SpectrumResult,
)

__all__ = [
# Config
"SimulationConfig",
# Request
"Request",
"RequestType",
"RequestStatus",
"BlockReason",
"ProtectionStatus",
# Lightpath
"Lightpath",
# Results
"RouteResult",
"SpectrumResult",
"GroomingResult",
"SlicingResult",
"SNRResult",
"ProtectionResult",
"AllocationResult",
]
Loading
Loading