How sheilajb/demo-proyecto works
G3 is a network-slice design and deployment orchestrator. An operator uses the unified CLI to create a linear, ring, or tree draft, validate and visualize it, optionally save it as JSON, then deploy, verify connectivity, inspect status, or tear down resources in the VNRT cluster. Draft modeling and cluster deployment are distinct layers; deployment uses an SSH executor to run cluster automation scripts. The README documents the major capabilities, but several implementation links are based on that documentation because the relevant source excerpts are partial.
Main entry points: orchestrator_cli.py Unified CLI · graph_validator.py Graph Validation · cli_draft.py Draft CLI · draft_storage.py JSON Storage
Components 14
Operator Interface
- Program Entry
main.py - Unified CLI
cli/orchestrator_cli.py - Draft CLI
cli/cli_draft.py
Draft Design
- Draft Models
core/models.py - Topology Factory
core/draft_factory.py - Graph Validation
core/graph_validator.py
Cluster Operations
- VNRT Deployer
orchestration/deployer_vnrt.py - SSH Executor
orchestration/vnrt_executor.py - Cluster Automation
scripts
Draft Artifacts
- JSON Storage
core/draft_storage.py - Draft JSON
- Topology PNGs
Other components
- Operator
- VNRT Cluster
Connections 22
- Operator → Program Entry: runs
README.md - Program Entry → Unified CLI: invokes
main.py - Operator → Unified CLI: uses
README.md - Operator → Draft CLI: uses
README.md - Unified CLI → Topology Factory: creates drafts
README.md - Draft CLI → Topology Factory: creates drafts
cli/cli_draft.py - Topology Factory → Draft Models: builds
core/draft_factory.py - Unified CLI → Graph Validation: validates drafts
cli/orchestrator_cli.py - Draft CLI → Graph Validation: validates drafts
cli/cli_draft.py - Graph Validation → Draft Models: reads and updates
core/graph_validator.py - Unified CLI → Graph Validation: renders diagrams
cli/orchestrator_cli.py - Draft CLI → Graph Validation: renders diagrams
cli/cli_draft.py - Graph Validation → Topology PNGs: writes PNG
README.md - Unified CLI → JSON Storage: imports and exports
README.md - Draft CLI → JSON Storage: exports drafts
cli/cli_draft.py - JSON Storage → Draft Models: serializes drafts
core/draft_storage.py - JSON Storage → Draft JSON: reads and writes
core/draft_storage.py - Unified CLI → VNRT Deployer: controls deployment
README.md - VNRT Deployer → SSH Executor: runs remote actions
orchestration/deployer_vnrt.py - SSH Executor → Cluster Automation: loads scripts
orchestration/vnrt_executor.py - SSH Executor → VNRT Cluster: executes over SSH
orchestration/vnrt_executor.py - VNRT Deployer → VNRT Cluster: deploys and verifies
README.md