Skip to content

Commit 896ca3a

Browse files
committed
adding test data
1 parent 9745a22 commit 896ca3a

159 files changed

Lines changed: 2000501 additions & 36 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ notebooks/private/
117117

118118
# Data files (to be on the safe side)
119119
data/
120+
!tests/data/
120121
datasets/
121122
output/
122123
exports/
@@ -138,6 +139,14 @@ analysis*.ipynb
138139
analysis*.html
139140
*_analysis.html
140141
scenarios*/
142+
!tests/data/scenarios/
143+
!tests/data/scenarios/**
144+
!tests/data/scenarios_metrics/
145+
!tests/data/scenarios_metrics/**
146+
!tests/data/scenarios_metrics_/
147+
!tests/data/scenarios_metrics_/**
148+
tests/data/**/*.png
149+
tests/data/**/*.jpg
141150

142151
# Performance analysis results
143152
dev/perf_results/

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ repos:
2424
- id: check-json
2525
- id: check-merge-conflict
2626
- id: check-added-large-files
27+
args: [--maxkb=10000]
28+
exclude: ^tests/data/.*
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Scope StartUTC EndUTC ElapsedSec
2+
ngraph 2025-08-24T17:59:16.773967+00:00 2025-08-24T17:59:16.778210+00:00 0.004
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ScenarioDir Scenario Inspect Run
2+
scenarios/small_baseline/small_baseline__seed11 small_baseline__seed11_scenario.yml ⏭️ cached ⏭️ cached
3+
scenarios/small_baseline/small_baseline__seed12 small_baseline__seed12_scenario.yml ⏭️ cached ⏭️ cached
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ScenarioDir Scenario Inspect Run
2+
scenarios/small_clos/small_clos__seed11 small_clos__seed11_scenario.yml ⏭️ cached ⏭️ cached
3+
scenarios/small_clos/small_clos__seed12 small_clos__seed12_scenario.yml ⏭️ cached ⏭️ cached
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ScenarioDir Scenario Inspect Run
2+
scenarios/small_dragonfly/small_dragonfly__seed11 small_dragonfly__seed11_scenario.yml ⏭️ cached ⏭️ cached
3+
scenarios/small_dragonfly/small_dragonfly__seed12 small_dragonfly__seed12_scenario.yml ⏭️ cached ⏭️ cached
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ScenarioDir Scenario Inspect Run
2+
scenarios/small_dragonfly_custom/small_dragonfly_custom__seed11 small_dragonfly_custom__seed11_scenario.yml ⏭️ cached ⏭️ cached
3+
scenarios/small_dragonfly_custom/small_dragonfly_custom__seed12 small_dragonfly_custom__seed12_scenario.yml ⏭️ cached ⏭️ cached
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
18:59:11 [INFO] topogen.config: Loading configuration from: /Users/networmix/ws/project/NetLab/topogen_configs_small/small_baseline.yml
2+
18:59:11 [INFO] topogen.cli: Loaded configuration from /Users/networmix/ws/project/NetLab/topogen_configs_small/small_baseline.yml
3+
18:59:11 [INFO] topogen.cli: Starting Topology generation pipeline
4+
18:59:11 [INFO] topogen.integrated_graph: Loading integrated graph from JSON: scenarios/small_baseline/small_baseline/small_baseline_integrated_graph.json
5+
18:59:11 [INFO] topogen.integrated_graph: Loaded integrated graph: 5 nodes, 8 edges
6+
18:59:11 [INFO] topogen.cli: Starting Generate NetGraph scenario
7+
18:59:11 [INFO] topogen.scenario.assembly: Building NetGraph scenario from integrated graph
8+
18:59:11 [INFO] topogen.scenario.assembly: Found 5 metro nodes
9+
18:59:11 [INFO] topogen.scenario.assembly: Maximum sites per metro: 2
10+
18:59:11 [INFO] topogen.scenario.assembly: Maximum DC regions per metro: 1
11+
18:59:11 [INFO] topogen.scenario.assembly: Building site-level MultiGraph
12+
18:59:11 [INFO] topogen.scenario.graph_pipeline: Building site-level MultiGraph
13+
18:59:11 [INFO] topogen.scenario.graph_pipeline: Forming intra-metro PoP mesh edges for 5 metros
14+
18:59:11 [INFO] topogen.scenario.graph_pipeline: Forming DC-to-PoP edges where DC regions exist
15+
18:59:11 [INFO] topogen.scenario.graph_pipeline: Forming inter-metro corridor edges from integrated graph
16+
18:59:11 [INFO] topogen.scenario.graph_pipeline: MultiGraph built: 13 nodes, 27 edges (multi-edges counted)
17+
18:59:11 [INFO] topogen.scenario.graph_pipeline: TM sizing: generating early traffic matrix
18+
18:59:11 [INFO] topogen.scenario.graph_pipeline: TM sizing: corridor capacity totals (Gbps) before=51,200.0 after=108,800.0 delta=57,600.0
19+
18:59:11 [INFO] topogen.scenario.graph_pipeline: TM sizing: new-york-jersey-city-newark -> columbus corridor capacity 6,400.0 -> 25,600.0 (delta=19,200.0, x4.00)
20+
18:59:11 [INFO] topogen.scenario.graph_pipeline: TM sizing: new-york-jersey-city-newark -> washington-arlington corridor capacity 6,400.0 -> 25,600.0 (delta=19,200.0, x4.00)
21+
18:59:11 [INFO] topogen.scenario.graph_pipeline: TM sizing: washington-arlington -> columbus corridor capacity 6,400.0 -> 25,600.0 (delta=19,200.0, x4.00)
22+
18:59:11 [INFO] topogen.scenario.graph_pipeline: TM sizing: applied capacities (Q=3200 Gb/s, h=1.300, alpha=1.200, beta=0.800)
23+
18:59:11 [INFO] topogen.scenario.assembly: Assigning per-link capacities after TM-based sizing
24+
18:59:11 [INFO] topogen.scenario.graph_pipeline: Assigning per-link capacities by splitting base over expansion size
25+
18:59:11 [INFO] topogen.scenario.assembly: Saving site-level network graph to JSON: scenarios/small_baseline/small_baseline/small_baseline_network_graph.json
26+
18:59:11 [INFO] topogen.scenario.graph_pipeline: Saving site-level network graph to JSON: scenarios/small_baseline/small_baseline/small_baseline_network_graph.json
27+
18:59:11 [INFO] topogen.scenario.graph_pipeline: Saved site network graph JSON (0.03 MB) → scenarios/small_baseline/small_baseline/small_baseline_network_graph.json
28+
18:59:11 [INFO] topogen.scenario.assembly: Exporting site-level graph visualization to: scenarios/small_baseline/small_baseline/small_baseline_site_graph.jpg
29+
18:59:11 [INFO] topogen.visualization: Exporting site graph visualization to scenarios/small_baseline/small_baseline/small_baseline_site_graph.jpg
30+
18:59:16 [INFO] topogen.visualization: Saved site graph visualization → scenarios/small_baseline/small_baseline/small_baseline_site_graph.jpg (489.2 KB)
31+
18:59:16 [INFO] topogen.scenario.libraries: HW: node blueprint=SingleRouter group=core role=core platform=CoreRouter
32+
18:59:16 [INFO] topogen.scenario.libraries: Node hardware assigned for 1 of 2 blueprint groups (with_role=2)
33+
18:59:16 [INFO] topogen.scenario.assembly: Serializing network sections from MultiGraph
34+
18:59:16 [INFO] topogen.scenario.graph_pipeline: Serializing MultiGraph to scenario network sections
35+
18:59:16 [INFO] topogen.scenario.graph_pipeline: Serialized network: 8 groups, 27 adjacency entries
36+
18:59:16 [INFO] topogen.scenario.risk: Generated 8 risk group definitions
37+
18:59:16 [INFO] topogen.scenario.assembly: HW: applied optics to 27 adjacencies (top role-pairs: (core,core)=21, (core,dc)=6)
38+
18:59:16 [INFO] topogen.visualization: Saved blueprint diagram → scenarios/small_baseline/small_baseline/small_baseline_blueprint_DCRegion.jpg
39+
18:59:16 [INFO] topogen.visualization: Saved blueprint diagram → scenarios/small_baseline/small_baseline/small_baseline_blueprint_SingleRouter.jpg
40+
18:59:16 [INFO] topogen.scenario.assembly: Generated NetGraph scenario YAML
41+
18:59:16 [INFO] topogen.cli: Completed Generate NetGraph scenario in 4.4s
42+
18:59:16 [INFO] topogen.cli: Starting Write scenario to scenarios/small_baseline/small_baseline/small_baseline_scenario.yml
43+
18:59:16 [INFO] topogen.cli: Completed Write scenario to scenarios/small_baseline/small_baseline/small_baseline_scenario.yml in 0.0s
44+
18:59:16 [INFO] topogen.validation.scenario_dict: dc capacity check: metro1/dc1 capacity=64,000.0 egress_demand=30,000.0 ingress_demand=30,000.0
45+
18:59:16 [INFO] topogen.validation.scenario_dict: dc capacity check: metro2/dc1 capacity=76,800.0 egress_demand=30,000.0 ingress_demand=30,000.0
46+
18:59:16 [INFO] topogen.validation.scenario_dict: dc capacity check: metro5/dc1 capacity=76,800.0 egress_demand=30,000.0 ingress_demand=30,000.0
47+
18:59:16 [INFO] topogen.cli: Completed Topology generation pipeline in 4.5s
48+
🔄 Topology generation pipeline...
49+
Topology Generation Pipeline
50+
==================================================
51+
🔄 Loading integrated graph...
52+
📊 Graph loaded: 5 nodes, 8 edges
53+
Metro nodes: 5
54+
Highway nodes: 0
55+
🔄 Generate NetGraph scenario...
56+
✅ Generate NetGraph scenario (completed in 4.4s)
57+
🔄 Write scenario to scenarios/small_baseline/small_baseline/small_baseline_scenario.yml...
58+
✅ Write scenario to scenarios/small_baseline/small_baseline/small_baseline_scenario.yml (completed in 0.0s)
59+
60+
📄 Scenario written to: scenarios/small_baseline/small_baseline/small_baseline_scenario.yml
61+
🔄 Validating generated scenario...
62+
✅ Scenario validation passed
63+
✅ Topology generation pipeline (completed in 4.5s)
64+
🎉 SUCCESS! Generated topology: scenarios/small_baseline/small_baseline/small_baseline_scenario.yml
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
⏭️ Skipping generate: found existing small_baseline_integrated_graph.json

0 commit comments

Comments
 (0)