How kytos-ng/mef_eline works
mef_eline is a Kytos NApp for provisioning and managing point-to-point Layer 2 Ethernet Virtual Circuits (EVCs). A user submits a circuit request through the REST API; the application manages the circuit, selects or validates paths, deploys flows, and keeps circuit state synchronized with persistent storage. Scheduling and link-failure recovery are additional lifecycle branches, and a web UI supports management. The graph combines shown source relationships with README-documented capabilities; several integration and UI implementation details were not sampled.
Main entry points: main.py Lifecycle orchestration · evc.py EVC lifecycle · __init__.py EVC persistence · path.py Path model
Components 14
API and orchestration
- Circuit REST API
main.py - Lifecycle orchestration
main.py - Management UI
ui
Circuit lifecycle
- EVC lifecycle
models/evc.py - Path model
models/path.py - Circuit scheduler
scheduler.py
Persistence and scheduling
- EVC persistence
controllers/__init__.py - Storage schemas
db/models.py - MongoDB
Network integrations
- Pathfinder
- Flow Manager
- Topology events
- SDN trace service
Other components
- Network operator
Connections 14
- Network operator → Circuit REST API: requests circuits
README.rst - Circuit REST API → Lifecycle orchestration: routes requests
README.rst - Lifecycle orchestration → EVC lifecycle: deploys circuits
main.py - EVC lifecycle → Path model: uses paths
models/evc.py - Path model → Pathfinder: requests paths
models/path.py - EVC lifecycle → Flow Manager: installs flows
- EVC lifecycle → SDN trace service: checks traces
models/evc.py - Lifecycle orchestration → EVC persistence: synchronizes circuits
README.rst - EVC persistence → Storage schemas: validates documents
controllers/__init__.py - EVC persistence → MongoDB: reads and writes
controllers/__init__.py - Lifecycle orchestration → Circuit scheduler: manages schedules
README.rst - Circuit scheduler → EVC lifecycle: runs deploy or remove
scheduler.py - Topology events → Lifecycle orchestration: signals link changes
README.rst - Management UI → Circuit REST API: manages circuits
README.rst