Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Thomas Vachuska
2014-10-29 22:40:52 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8ec96ecfd8e8556463295608376c0a6016ecd7f0
8ec96ecf
1 parent
e3784c9c
Added ONOS topology config JSON for 10-node non-linear optical topology.
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
144 additions
and
6 deletions
tools/test/topos/oe-linear-3.json
tools/test/topos/oe-nonlinear-10.json
tools/test/topos/oe-linear-3.json
View file @
8ec96ec
...
...
@@ -20,7 +20,7 @@
},
{
"uri"
:
"of:0000ffffffff0001"
,
"mac"
:
"ffffffffff000
3
"
,
"type"
:
"SWITCH"
,
"uri"
:
"of:0000ffffffff0001"
,
"mac"
:
"ffffffffff000
1
"
,
"type"
:
"SWITCH"
,
"mfr"
:
"Linc"
,
"hw"
:
"PK"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"ROUTER1"
,
"annotations"
:
{
"latitude"
:
37.6
,
"longitude"
:
122.3
},
"ports"
:
[
{
"port"
:
1
,
"speed"
:
10000
,
"type"
:
"COPPER"
},
{
"port"
:
2
,
"speed"
:
100000
,
"type"
:
"FIBER"
}
]
...
...
@@ -41,10 +41,8 @@
{
"src"
:
"of:0000ffffffff0002/2"
,
"dst"
:
"of:0000ffffffffff02/11"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"bandwidth"
:
100000
,
"optical.type"
:
"cross-connect"
}
}
],
"Xhosts"
:
[
{
"mac"
:
"a0:00:00:00:00:11"
,
"vlan"
:
-1
,
"location"
:
"of:0000ffffffff0001/11"
,
"ip"
:
"1.2.3.4"
},
{
"mac"
:
"a0:00:00:00:00:12"
,
"vlan"
:
-1
,
"location"
:
"of:0000ffffffff0001/12"
,
"ip"
:
"1.2.3.5"
},
{
"mac"
:
"a0:00:00:00:00:21"
,
"vlan"
:
-1
,
"location"
:
"of:0000ffffffff0002/11"
,
"ip"
:
"2.2.3.4"
},
{
"mac"
:
"a0:00:00:00:00:22"
,
"vlan"
:
-1
,
"location"
:
"of:0000ffffffff0002/12"
,
"ip"
:
"2.2.3.5"
}
"hosts"
:
[
{
"mac"
:
"00:00:00:00:00:01"
,
"vlan"
:
-1
,
"location"
:
"of:0000ffffffff0001/1"
,
"ip"
:
"10.0.0.1"
},
{
"mac"
:
"00:00:00:00:00:02"
,
"vlan"
:
-1
,
"location"
:
"of:0000ffffffff0002/1"
,
"ip"
:
"10.0.0.2"
}
]
}
\ No newline at end of file
...
...
tools/test/topos/oe-nonlinear-10.json
0 → 100644
View file @
8ec96ec
{
"devices"
:
[
{
"uri"
:
"of:0000ffffffffff01"
,
"mac"
:
"ffffffffffff01"
,
"type"
:
"ROADM"
,
"mfr"
:
"Linc"
,
"hw"
:
"OE"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"SFO-W10"
,
"annotations"
:
{
"latitude"
:
37.6
,
"longitude"
:
122.3
,
"optical.regens"
:
0
},
"ports"
:
[
{
"port"
:
10
,
"speed"
:
100000
,
"type"
:
"FIBER"
},
{
"port"
:
20
,
"speed"
:
0
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffffff02"
,
"mac"
:
"ffffffffffff02"
,
"type"
:
"ROADM"
,
"mfr"
:
"Linc"
,
"hw"
:
"OE"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"SJC-W10"
,
"annotations"
:
{
"latitude"
:
37.3
,
"longitude"
:
121.9
,
"optical.regens"
:
0
},
"ports"
:
[
{
"port"
:
11
,
"speed"
:
100000
,
"type"
:
"FIBER"
},
{
"port"
:
21
,
"speed"
:
0
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffffff03"
,
"mac"
:
"ffffffffffff03"
,
"type"
:
"ROADM"
,
"mfr"
:
"Linc"
,
"hw"
:
"OE"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"LAX-W10"
,
"annotations"
:
{
"latitude"
:
33.9
,
"longitude"
:
118.4
,
"optical.regens"
:
0
},
"ports"
:
[
{
"port"
:
30
,
"speed"
:
0
,
"type"
:
"FIBER"
},
{
"port"
:
31
,
"speed"
:
0
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffffff04"
,
"mac"
:
"ffffffffffff04"
,
"type"
:
"ROADM"
,
"mfr"
:
"Linc"
,
"hw"
:
"OE"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"SDG-W10"
,
"annotations"
:
{
"latitude"
:
32.8
,
"longitude"
:
117.1
,
"optical.regens"
:
3
},
"ports"
:
[
{
"port"
:
30
,
"speed"
:
0
,
"type"
:
"FIBER"
},
{
"port"
:
31
,
"speed"
:
0
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffffff05"
,
"mac"
:
"ffffffffffff05"
,
"type"
:
"ROADM"
,
"mfr"
:
"Linc"
,
"hw"
:
"OE"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"MSP-M10"
,
"annotations"
:
{
"latitude"
:
44.8
,
"longitude"
:
93.1
,
"optical.regens"
:
3
},
"ports"
:
[
{
"port"
:
30
,
"speed"
:
0
,
"type"
:
"FIBER"
},
{
"port"
:
31
,
"speed"
:
0
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffffff06"
,
"mac"
:
"ffffffffffff06"
,
"type"
:
"ROADM"
,
"mfr"
:
"Linc"
,
"hw"
:
"OE"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"DFW-M10"
,
"annotations"
:
{
"latitude"
:
32.8
,
"longitude"
:
97.1
,
"optical.regens"
:
3
},
"ports"
:
[
{
"port"
:
30
,
"speed"
:
0
,
"type"
:
"FIBER"
},
{
"port"
:
31
,
"speed"
:
0
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffffff07"
,
"mac"
:
"ffffffffffff07"
,
"type"
:
"ROADM"
,
"mfr"
:
"Linc"
,
"hw"
:
"OE"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"CHG-N10"
,
"annotations"
:
{
"latitude"
:
41.8
,
"longitude"
:
120.1
,
"optical.regens"
:
3
},
"ports"
:
[
{
"port"
:
30
,
"speed"
:
0
,
"type"
:
"FIBER"
},
{
"port"
:
31
,
"speed"
:
0
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffffff08"
,
"mac"
:
"ffffffffffff08"
,
"type"
:
"ROADM"
,
"mfr"
:
"Linc"
,
"hw"
:
"OE"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"IAD-M10"
,
"annotations"
:
{
"latitude"
:
38.8
,
"longitude"
:
77.1
,
"optical.regens"
:
3
},
"ports"
:
[
{
"port"
:
30
,
"speed"
:
0
,
"type"
:
"FIBER"
},
{
"port"
:
31
,
"speed"
:
0
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffffff09"
,
"mac"
:
"ffffffffffff09"
,
"type"
:
"ROADM"
,
"mfr"
:
"Linc"
,
"hw"
:
"OE"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"JFK-M10"
,
"annotations"
:
{
"latitude"
:
40.8
,
"longitude"
:
73.1
,
"optical.regens"
:
0
},
"ports"
:
[
{
"port"
:
30
,
"speed"
:
0
,
"type"
:
"FIBER"
},
{
"port"
:
31
,
"speed"
:
0
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffffff0A"
,
"mac"
:
"ffffffffffff0A"
,
"type"
:
"ROADM"
,
"mfr"
:
"Linc"
,
"hw"
:
"OE"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"ATL-S10"
,
"annotations"
:
{
"latitude"
:
33.8
,
"longitude"
:
84.1
,
"optical.regens"
:
0
},
"ports"
:
[
{
"port"
:
30
,
"speed"
:
0
,
"type"
:
"FIBER"
},
{
"port"
:
31
,
"speed"
:
0
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffffff06"
,
"mac"
:
"ffffffffffff06"
,
"type"
:
"ROADM"
,
"mfr"
:
"Linc"
,
"hw"
:
"OE"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"DFW-M10"
,
"annotations"
:
{
"latitude"
:
32.8
,
"longitude"
:
97.1
,
"optical.regens"
:
3
},
"ports"
:
[
{
"port"
:
30
,
"speed"
:
0
,
"type"
:
"FIBER"
},
{
"port"
:
31
,
"speed"
:
0
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffff0001"
,
"mac"
:
"ffffffffff0001"
,
"type"
:
"SWITCH"
,
"mfr"
:
"Linc"
,
"hw"
:
"PK"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"SFO-R10"
,
"annotations"
:
{
"latitude"
:
37.6
,
"longitude"
:
122.3
},
"ports"
:
[
{
"port"
:
1
,
"speed"
:
10000
,
"type"
:
"COPPER"
},
{
"port"
:
2
,
"speed"
:
100000
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffff0003"
,
"mac"
:
"ffffffffff0003"
,
"type"
:
"SWITCH"
,
"mfr"
:
"Linc"
,
"hw"
:
"PK"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"LAX-R10"
,
"annotations"
:
{
"latitude"
:
33.9
,
"longitude"
:
118.4
},
"ports"
:
[
{
"port"
:
1
,
"speed"
:
10000
,
"type"
:
"COPPER"
},
{
"port"
:
2
,
"speed"
:
100000
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffff0004"
,
"mac"
:
"ffffffffff0004"
,
"type"
:
"SWITCH"
,
"mfr"
:
"Linc"
,
"hw"
:
"PK"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"SDG-R10"
,
"annotations"
:
{
"latitude"
:
32.8
,
"longitude"
:
117.1
},
"ports"
:
[
{
"port"
:
1
,
"speed"
:
10000
,
"type"
:
"COPPER"
},
{
"port"
:
2
,
"speed"
:
100000
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffff0007"
,
"mac"
:
"ffffffffff0007"
,
"type"
:
"SWITCH"
,
"mfr"
:
"Linc"
,
"hw"
:
"PK"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"CHG-R10"
,
"annotations"
:
{
"latitude"
:
41.8
,
"longitude"
:
120.1
},
"ports"
:
[
{
"port"
:
1
,
"speed"
:
10000
,
"type"
:
"COPPER"
},
{
"port"
:
2
,
"speed"
:
100000
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffff0009"
,
"mac"
:
"ffffffffff0009"
,
"type"
:
"SWITCH"
,
"mfr"
:
"Linc"
,
"hw"
:
"PK"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"JFK-R10"
,
"annotations"
:
{
"latitude"
:
40.8
,
"longitude"
:
73.1
},
"ports"
:
[
{
"port"
:
1
,
"speed"
:
10000
,
"type"
:
"COPPER"
},
{
"port"
:
2
,
"speed"
:
100000
,
"type"
:
"FIBER"
}
]
},
{
"uri"
:
"of:0000ffffffff000A"
,
"mac"
:
"ffffffffff000A"
,
"type"
:
"SWITCH"
,
"mfr"
:
"Linc"
,
"hw"
:
"PK"
,
"sw"
:
"?"
,
"serial"
:
"?"
,
"name"
:
"ATL-R10"
,
"annotations"
:
{
"latitude"
:
33.8
,
"longitude"
:
84.1
},
"ports"
:
[
{
"port"
:
1
,
"speed"
:
10000
,
"type"
:
"COPPER"
},
{
"port"
:
2
,
"speed"
:
100000
,
"type"
:
"FIBER"
}
]
}
],
"links"
:
[
{
"src"
:
"of:0000ffffffffff01/10"
,
"dst"
:
"of:0000ffffffffff02/10"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"optical.waves"
:
80
,
"optical.type"
:
"WDM"
,
"optical.kms"
:
1000
}
},
{
"src"
:
"of:0000ffffffffff02/10"
,
"dst"
:
"of:0000ffffffffff03/10"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"optical.waves"
:
80
,
"optical.type"
:
"WDM"
,
"optical.kms"
:
1000
}
},
{
"src"
:
"of:0000ffffffffff03/30"
,
"dst"
:
"of:0000ffffffffff04/10"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"optical.waves"
:
80
,
"optical.type"
:
"WDM"
,
"optical.kms"
:
1000
}
},
{
"src"
:
"of:0000ffffffffff02/20"
,
"dst"
:
"of:0000ffffffffff05/10"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"optical.waves"
:
80
,
"optical.type"
:
"WDM"
,
"optical.kms"
:
1000
}
},
{
"src"
:
"of:0000ffffffffff03/20"
,
"dst"
:
"of:0000ffffffffff06/10"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"optical.waves"
:
80
,
"optical.type"
:
"WDM"
,
"optical.kms"
:
1000
}
},
{
"src"
:
"of:0000ffffffffff05/30"
,
"dst"
:
"of:0000ffffffffff06/20"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"optical.waves"
:
80
,
"optical.type"
:
"WDM"
,
"optical.kms"
:
1000
}
},
{
"src"
:
"of:0000ffffffffff05/20"
,
"dst"
:
"of:0000ffffffffff07/21"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"optical.waves"
:
80
,
"optical.type"
:
"WDM"
,
"optical.kms"
:
1000
}
},
{
"src"
:
"of:0000ffffffffff06/30"
,
"dst"
:
"of:0000ffffffffff08/10"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"optical.waves"
:
80
,
"optical.type"
:
"WDM"
,
"optical.kms"
:
1000
}
},
{
"src"
:
"of:0000ffffffffff07/30"
,
"dst"
:
"of:0000ffffffffff08/20"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"optical.waves"
:
80
,
"optical.type"
:
"WDM"
,
"optical.kms"
:
1000
}
},
{
"src"
:
"of:0000ffffffffff07/20"
,
"dst"
:
"of:0000ffffffffff09/10"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"optical.waves"
:
80
,
"optical.type"
:
"WDM"
,
"optical.kms"
:
1000
}
},
{
"src"
:
"of:0000ffffffffff08/30"
,
"dst"
:
"of:0000ffffffffff0A/10"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"optical.waves"
:
80
,
"optical.type"
:
"WDM"
,
"optical.kms"
:
1000
}
},
{
"src"
:
"of:0000ffffffffff09/20"
,
"dst"
:
"of:0000ffffffffff0A/20"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"optical.waves"
:
80
,
"optical.type"
:
"WDM"
,
"optical.kms"
:
1000
}
},
{
"src"
:
"of:0000ffffffff0001/2"
,
"dst"
:
"of:0000ffffffffff01/1"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"bandwidth"
:
100000
,
"optical.type"
:
"cross-connect"
}
},
{
"src"
:
"of:0000ffffffff0003/2"
,
"dst"
:
"of:0000ffffffffff03/1"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"bandwidth"
:
100000
,
"optical.type"
:
"cross-connect"
}
},
{
"src"
:
"of:0000ffffffff0004/2"
,
"dst"
:
"of:0000ffffffffff04/1"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"bandwidth"
:
100000
,
"optical.type"
:
"cross-connect"
}
},
{
"src"
:
"of:0000ffffffff0007/2"
,
"dst"
:
"of:0000ffffffffff07/1"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"bandwidth"
:
100000
,
"optical.type"
:
"cross-connect"
}
},
{
"src"
:
"of:0000ffffffff0009/2"
,
"dst"
:
"of:0000ffffffffff09/1"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"bandwidth"
:
100000
,
"optical.type"
:
"cross-connect"
}
},
{
"src"
:
"of:0000ffffffff000A/2"
,
"dst"
:
"of:0000ffffffffff0A/1"
,
"type"
:
"OPTICAL"
,
"annotations"
:
{
"bandwidth"
:
100000
,
"optical.type"
:
"cross-connect"
}
}
],
"hosts"
:
[
{
"mac"
:
"00:00:00:00:00:01"
,
"vlan"
:
-1
,
"location"
:
"of:0000ffffffff0001/1"
,
"ip"
:
"10.0.0.1"
},
{
"mac"
:
"00:00:00:00:00:03"
,
"vlan"
:
-1
,
"location"
:
"of:0000ffffffff0003/1"
,
"ip"
:
"10.0.0.3"
},
{
"mac"
:
"00:00:00:00:00:04"
,
"vlan"
:
-1
,
"location"
:
"of:0000ffffffff0004/1"
,
"ip"
:
"10.0.0.4"
},
{
"mac"
:
"00:00:00:00:00:07"
,
"vlan"
:
-1
,
"location"
:
"of:0000ffffffff0007/1"
,
"ip"
:
"10.0.0.7"
},
{
"mac"
:
"00:00:00:00:00:09"
,
"vlan"
:
-1
,
"location"
:
"of:0000ffffffff0009/1"
,
"ip"
:
"10.0.0.9"
},
{
"mac"
:
"00:00:00:00:00:0A"
,
"vlan"
:
-1
,
"location"
:
"of:0000ffffffff000A/1"
,
"ip"
:
"10.0.0.10"
}
]
}
\ No newline at end of file
Please
register
or
login
to post a comment