Added ONOS topology config JSON for 10-node non-linear optical topology.
Showing
2 changed files
with
144 additions
and
6 deletions
... | @@ -20,7 +20,7 @@ | ... | @@ -20,7 +20,7 @@ |
20 | }, | 20 | }, |
21 | 21 | ||
22 | { | 22 | { |
23 | - "uri": "of:0000ffffffff0001", "mac": "ffffffffff0003", "type": "SWITCH", | 23 | + "uri": "of:0000ffffffff0001", "mac": "ffffffffff0001", "type": "SWITCH", |
24 | "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "ROUTER1", | 24 | "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "ROUTER1", |
25 | "annotations": { "latitude": 37.6, "longitude": 122.3 }, | 25 | "annotations": { "latitude": 37.6, "longitude": 122.3 }, |
26 | "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ] | 26 | "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ] |
... | @@ -41,10 +41,8 @@ | ... | @@ -41,10 +41,8 @@ |
41 | { "src": "of:0000ffffffff0002/2", "dst": "of:0000ffffffffff02/11", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect" } } | 41 | { "src": "of:0000ffffffff0002/2", "dst": "of:0000ffffffffff02/11", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect" } } |
42 | ], | 42 | ], |
43 | 43 | ||
44 | - "Xhosts" : [ | 44 | + "hosts" : [ |
45 | - { "mac": "a0:00:00:00:00:11", "vlan": -1, "location": "of:0000ffffffff0001/11", "ip": "1.2.3.4" }, | 45 | + { "mac": "00:00:00:00:00:01", "vlan": -1, "location": "of:0000ffffffff0001/1", "ip": "10.0.0.1" }, |
46 | - { "mac": "a0:00:00:00:00:12", "vlan": -1, "location": "of:0000ffffffff0001/12", "ip": "1.2.3.5" }, | 46 | + { "mac": "00:00:00:00:00:02", "vlan": -1, "location": "of:0000ffffffff0002/1", "ip": "10.0.0.2" } |
47 | - { "mac": "a0:00:00:00:00:21", "vlan": -1, "location": "of:0000ffffffff0002/11", "ip": "2.2.3.4" }, | ||
48 | - { "mac": "a0:00:00:00:00:22", "vlan": -1, "location": "of:0000ffffffff0002/12", "ip": "2.2.3.5" } | ||
49 | ] | 47 | ] |
50 | } | 48 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
tools/test/topos/oe-nonlinear-10.json
0 → 100644
1 | +{ | ||
2 | + "devices" : [ | ||
3 | + { | ||
4 | + "uri": "of:0000ffffffffff01", "mac": "ffffffffffff01", "type": "ROADM", | ||
5 | + "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "SFO-W10", | ||
6 | + "annotations": { "latitude": 37.6, "longitude": 122.3, "optical.regens": 0 }, | ||
7 | + "ports": [ { "port": 10, "speed": 100000, "type": "FIBER" }, { "port": 20, "speed": 0, "type": "FIBER" } ] | ||
8 | + }, | ||
9 | + { | ||
10 | + "uri": "of:0000ffffffffff02", "mac": "ffffffffffff02", "type": "ROADM", | ||
11 | + "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "SJC-W10", | ||
12 | + "annotations": { "latitude": 37.3, "longitude": 121.9, "optical.regens": 0 }, | ||
13 | + "ports": [ { "port": 11, "speed": 100000, "type": "FIBER" }, { "port": 21, "speed": 0, "type": "FIBER" } ] | ||
14 | + }, | ||
15 | + { | ||
16 | + "uri": "of:0000ffffffffff03", "mac": "ffffffffffff03", "type": "ROADM", | ||
17 | + "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "LAX-W10", | ||
18 | + "annotations": { "latitude": 33.9, "longitude": 118.4, "optical.regens": 0 }, | ||
19 | + "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | ||
20 | + }, | ||
21 | + { | ||
22 | + "uri": "of:0000ffffffffff04", "mac": "ffffffffffff04", "type": "ROADM", | ||
23 | + "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "SDG-W10", | ||
24 | + "annotations": { "latitude": 32.8, "longitude": 117.1, "optical.regens": 3 }, | ||
25 | + "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | ||
26 | + }, | ||
27 | + { | ||
28 | + "uri": "of:0000ffffffffff05", "mac": "ffffffffffff05", "type": "ROADM", | ||
29 | + "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "MSP-M10", | ||
30 | + "annotations": { "latitude": 44.8, "longitude": 93.1, "optical.regens": 3 }, | ||
31 | + "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | ||
32 | + }, | ||
33 | + { | ||
34 | + "uri": "of:0000ffffffffff06", "mac": "ffffffffffff06", "type": "ROADM", | ||
35 | + "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "DFW-M10", | ||
36 | + "annotations": { "latitude": 32.8, "longitude": 97.1, "optical.regens": 3 }, | ||
37 | + "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | ||
38 | + }, | ||
39 | + { | ||
40 | + "uri": "of:0000ffffffffff07", "mac": "ffffffffffff07", "type": "ROADM", | ||
41 | + "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "CHG-N10", | ||
42 | + "annotations": { "latitude": 41.8, "longitude": 120.1, "optical.regens": 3 }, | ||
43 | + "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | ||
44 | + }, | ||
45 | + { | ||
46 | + "uri": "of:0000ffffffffff08", "mac": "ffffffffffff08", "type": "ROADM", | ||
47 | + "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "IAD-M10", | ||
48 | + "annotations": { "latitude": 38.8, "longitude": 77.1, "optical.regens": 3 }, | ||
49 | + "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | ||
50 | + }, | ||
51 | + { | ||
52 | + "uri": "of:0000ffffffffff09", "mac": "ffffffffffff09", "type": "ROADM", | ||
53 | + "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "JFK-M10", | ||
54 | + "annotations": { "latitude": 40.8, "longitude": 73.1, "optical.regens": 0 }, | ||
55 | + "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | ||
56 | + }, | ||
57 | + { | ||
58 | + "uri": "of:0000ffffffffff0A", "mac": "ffffffffffff0A", "type": "ROADM", | ||
59 | + "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "ATL-S10", | ||
60 | + "annotations": { "latitude": 33.8, "longitude": 84.1, "optical.regens": 0 }, | ||
61 | + "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | ||
62 | + }, | ||
63 | + { | ||
64 | + "uri": "of:0000ffffffffff06", "mac": "ffffffffffff06", "type": "ROADM", | ||
65 | + "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "DFW-M10", | ||
66 | + "annotations": { "latitude": 32.8, "longitude": 97.1, "optical.regens": 3 }, | ||
67 | + "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | ||
68 | + }, | ||
69 | + | ||
70 | + | ||
71 | + { | ||
72 | + "uri": "of:0000ffffffff0001", "mac": "ffffffffff0001", "type": "SWITCH", | ||
73 | + "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "SFO-R10", | ||
74 | + "annotations": { "latitude": 37.6, "longitude": 122.3 }, | ||
75 | + "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ] | ||
76 | + }, | ||
77 | + { | ||
78 | + "uri": "of:0000ffffffff0003", "mac": "ffffffffff0003", "type": "SWITCH", | ||
79 | + "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "LAX-R10", | ||
80 | + "annotations": { "latitude": 33.9, "longitude": 118.4 }, | ||
81 | + "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ] | ||
82 | + }, | ||
83 | + { | ||
84 | + "uri": "of:0000ffffffff0004", "mac": "ffffffffff0004", "type": "SWITCH", | ||
85 | + "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "SDG-R10", | ||
86 | + "annotations": { "latitude": 32.8, "longitude": 117.1 }, | ||
87 | + "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ] | ||
88 | + }, | ||
89 | + { | ||
90 | + "uri": "of:0000ffffffff0007", "mac": "ffffffffff0007", "type": "SWITCH", | ||
91 | + "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "CHG-R10", | ||
92 | + "annotations": { "latitude": 41.8, "longitude": 120.1 }, | ||
93 | + "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ] | ||
94 | + }, | ||
95 | + { | ||
96 | + "uri": "of:0000ffffffff0009", "mac": "ffffffffff0009", "type": "SWITCH", | ||
97 | + "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "JFK-R10", | ||
98 | + "annotations": { "latitude": 40.8, "longitude": 73.1 }, | ||
99 | + "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ] | ||
100 | + }, | ||
101 | + { | ||
102 | + "uri": "of:0000ffffffff000A", "mac": "ffffffffff000A", "type": "SWITCH", | ||
103 | + "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "ATL-R10", | ||
104 | + "annotations": { "latitude": 33.8, "longitude": 84.1 }, | ||
105 | + "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ] | ||
106 | + } | ||
107 | + | ||
108 | + ], | ||
109 | + | ||
110 | + "links" : [ | ||
111 | + { "src": "of:0000ffffffffff01/10", "dst": "of:0000ffffffffff02/10", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1000 } }, | ||
112 | + { "src": "of:0000ffffffffff02/10", "dst": "of:0000ffffffffff03/10", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1000 } }, | ||
113 | + { "src": "of:0000ffffffffff03/30", "dst": "of:0000ffffffffff04/10", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1000 } }, | ||
114 | + { "src": "of:0000ffffffffff02/20", "dst": "of:0000ffffffffff05/10", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1000 } }, | ||
115 | + { "src": "of:0000ffffffffff03/20", "dst": "of:0000ffffffffff06/10", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1000 } }, | ||
116 | + { "src": "of:0000ffffffffff05/30", "dst": "of:0000ffffffffff06/20", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1000 } }, | ||
117 | + { "src": "of:0000ffffffffff05/20", "dst": "of:0000ffffffffff07/21", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1000 } }, | ||
118 | + { "src": "of:0000ffffffffff06/30", "dst": "of:0000ffffffffff08/10", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1000 } }, | ||
119 | + { "src": "of:0000ffffffffff07/30", "dst": "of:0000ffffffffff08/20", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1000 } }, | ||
120 | + { "src": "of:0000ffffffffff07/20", "dst": "of:0000ffffffffff09/10", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1000 } }, | ||
121 | + { "src": "of:0000ffffffffff08/30", "dst": "of:0000ffffffffff0A/10", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1000 } }, | ||
122 | + { "src": "of:0000ffffffffff09/20", "dst": "of:0000ffffffffff0A/20", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1000 } }, | ||
123 | + | ||
124 | + { "src": "of:0000ffffffff0001/2", "dst": "of:0000ffffffffff01/1", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect" } }, | ||
125 | + { "src": "of:0000ffffffff0003/2", "dst": "of:0000ffffffffff03/1", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect" } }, | ||
126 | + { "src": "of:0000ffffffff0004/2", "dst": "of:0000ffffffffff04/1", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect" } }, | ||
127 | + { "src": "of:0000ffffffff0007/2", "dst": "of:0000ffffffffff07/1", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect" } }, | ||
128 | + { "src": "of:0000ffffffff0009/2", "dst": "of:0000ffffffffff09/1", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect" } }, | ||
129 | + { "src": "of:0000ffffffff000A/2", "dst": "of:0000ffffffffff0A/1", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect" } } | ||
130 | + ], | ||
131 | + | ||
132 | + "hosts" : [ | ||
133 | + { "mac": "00:00:00:00:00:01", "vlan": -1, "location": "of:0000ffffffff0001/1", "ip": "10.0.0.1" }, | ||
134 | + { "mac": "00:00:00:00:00:03", "vlan": -1, "location": "of:0000ffffffff0003/1", "ip": "10.0.0.3" }, | ||
135 | + { "mac": "00:00:00:00:00:04", "vlan": -1, "location": "of:0000ffffffff0004/1", "ip": "10.0.0.4" }, | ||
136 | + { "mac": "00:00:00:00:00:07", "vlan": -1, "location": "of:0000ffffffff0007/1", "ip": "10.0.0.7" }, | ||
137 | + { "mac": "00:00:00:00:00:09", "vlan": -1, "location": "of:0000ffffffff0009/1", "ip": "10.0.0.9" }, | ||
138 | + { "mac": "00:00:00:00:00:0A", "vlan": -1, "location": "of:0000ffffffff000A/1", "ip": "10.0.0.10" } | ||
139 | + ] | ||
140 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment