How project-kelvin/openrase works
OpenRASE emulates NFV service-function-chain placement and benchmarks resource-allocation strategies. A run configures a virtual topology, generates SFC requests, solves placements into embedding graphs, and sends them through the orchestrator for VNF deployment and network setup; traffic generation and telemetry support evaluation. The repository also contains DRL, greedy, genetic, and hybrid solvers, plus calibration and benchmarking. Several links are based on SOURCE INDEX references rather than complete excerpts, so unsampled implementation details are not expanded.
Main entry points: solver.py Solver dispatch · runs Experiment runners · sfc_emulator.py SFC emulator · orchestrator.py Orchestrator
Components 27
Emulation workflow
- Experiment runners
src/runs - SFC emulator
src/sfc/sfc_emulator.py - SFC request generation
src/sfc/sfc_request_generator.py - Solver dispatch
src/sfc/solver.py - Traffic generation
src/sfc/traffic_generator.py
NFV control plane
- Orchestrator
src/mano/orchestrator.py - Infrastructure manager
src/mano/infra_manager.py - VNF manager
src/mano/vnf_manager.py - SDN controller
src/mano/sdn_controller.py - Notifications
src/mano/notification_system.py
Placement algorithms
- DRL embedding
src/algorithms/drl_sfcr_embedding.py - Greedy Dijkstra
src/algorithms/greedy_dijkstra_algorithm.py - Genetic Dijkstra
src/algorithms/ga_dijkstra_algorithm - Hybrid solvers
src/algorithms/hybrid
Evaluation and shared models
- Telemetry
src/mano/telemetry.py - Calibration benchmarks
src/calibrate/run_benchmark.py - Embedding graph model
packages/python/shared/models/embedding_graph.py - SFC request model
packages/python/shared/models/sfc_request.py - Topology model
packages/python/shared/models/topology.py - Traffic design model
packages/python/shared/models/traffic_design.py - Configuration
packages/python/shared/utils/config.py - Progress interface
src/utils/tui.py
Other components
- Researcher
- Emulated network
- Docker containers
- Ryu controller
- InfluxDB
Connections 31
- Researcher → Experiment runners: starts experiment
README.md - Experiment runners → SFC emulator: runs emulation
src/runs/hybrid/genesis.py - Experiment runners → Solver dispatch: uses solver
src/runs/hybrid/genesis.py - Experiment runners → Orchestrator: configures orchestration
src/runs/hybrid/genesis.py - SFC emulator → SFC request generation: generates requests
src/sfc/sfc_emulator.py - SFC emulator → Solver dispatch: dispatches requests
src/sfc/sfc_emulator.py - Solver dispatch → Orchestrator: submits placements
src/sfc/solver.py - Orchestrator → VNF manager: deploys graphs
src/mano/orchestrator.py - Orchestrator → Infrastructure manager: installs topology
src/mano/orchestrator.py - Orchestrator → Telemetry: gets telemetry
src/mano/orchestrator.py - Infrastructure manager → SDN controller: configures flows
src/mano/infra_manager.py - Infrastructure manager → Emulated network: builds topology
src/mano/infra_manager.py - VNF manager → Infrastructure manager: embeds SFC
src/mano/vnf_manager.py - VNF manager → Docker containers: runs VNF containers
src/mano/vnf_manager.py - VNF manager → Notifications: publishes deployment
src/mano/vnf_manager.py - SDN controller → Ryu controller: installs flow rules
src/mano/sdn_controller.py - Traffic generation → Notifications: subscribes to events
src/sfc/traffic_generator.py - Traffic generation → Docker containers: starts traffic containers
src/sfc/traffic_generator.py - Traffic generation → InfluxDB: reads measurements
- Experiment runners → DRL embedding: selects algorithm
src/runs/drl_sfcr/run.py - Experiment runners → Hybrid solvers: selects algorithm
src/runs/hybrid/genesis.py - Solver dispatch → Greedy Dijkstra: dispatches strategy
- Solver dispatch → Genetic Dijkstra: dispatches strategy
- Calibration benchmarks → SFC emulator: benchmarks emulation
src/calibrate/run_benchmark.py - Calibration benchmarks → Solver dispatch: benchmarks solver
src/calibrate/run_benchmark.py - SFC emulator → Progress interface: logs progress
src/sfc/sfc_emulator.py - Experiment runners → Configuration: loads settings
src/runs/hybrid/genesis.py - Solver dispatch → Embedding graph model: uses graph model
src/sfc/solver.py - Solver dispatch → SFC request model: accepts requests
src/sfc/solver.py - Infrastructure manager → Topology model: uses topology model
src/mano/infra_manager.py - Traffic generation → Traffic design model: uses traffic design
src/sfc/traffic_generator.py