blob: ac86a01dfed90e2a50c54aae7d94e1eea1dfa0fd [file] [log] [blame]
Praseed Balakrishnanbf78cf72014-11-12 12:14:50 -08001{
2 "devices" : [
3 {
4 "uri": "of:0000ffffffffff01", "mac": "ffffffffffff01", "type": "ROADM",
5 "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "ROADM1",
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" }, { "port": 22, "speed": 0, "type": "FIBER" }]
8 },
9 {
10 "uri": "of:0000ffffffffff02", "mac": "ffffffffffff02", "type": "ROADM",
11 "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "ROADM2",
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" }, { "port": 22, "speed": 0, "type": "FIBER" }]
14 },
15 {
16 "uri": "of:0000ffffffffff03", "mac": "ffffffffffff03", "type": "ROADM",
17 "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "ROADM3",
18 "annotations": { "latitude": 33.9, "longitude": 118.4, "optical.regens": 2 },
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": "ROADM4",
24 "annotations": { "latitude": 39.9, "longitude": 119.4, "optical.regens": 2 },
25 "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" }]
26 },
27 {
28 "uri": "of:0000ffffffff0001", "mac": "ffffffffff0001", "type": "SWITCH",
29 "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "ROUTER1",
30 "annotations": { "latitude": 37.6, "longitude": 122.3 },
31 "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ]
32 },
33 {
34 "uri": "of:0000ffffffff0002", "mac": "ffffffffff0002", "type": "SWITCH",
35 "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "ROUTER2",
36 "annotations": { "latitude": 37.3, "longitude": 121.9 },
37 "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ]
38 }
39 ],
40
41 "links" : [
42 { "src": "of:0000ffffffffff01/20", "dst": "of:0000ffffffffff03/30", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "durable": "true" } },
43 { "src": "of:0000ffffffffff02/21", "dst": "of:0000ffffffffff03/31", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "durable": "true" } },
44 { "src": "of:0000ffffffffff01/22", "dst": "of:0000ffffffffff04/30", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "durable": "true" } },
45 { "src": "of:0000ffffffffff04/31", "dst": "of:0000ffffffffff02/22", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "durable": "true" } },
46
47 { "src": "of:0000ffffffff0001/2", "dst": "of:0000ffffffffff01/10", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect", "durable": "true" } },
48 { "src": "of:0000ffffffff0002/2", "dst": "of:0000ffffffffff02/11", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect", "durable": "true" } }
49 ]
50
51}