blob: 98206dab36d5aa4e1a3a3c7055150e19e515379e [file] [log] [blame]
Thomas Vachuska9252bc32014-10-23 02:33:25 -07001{
2 "devices" : [
3 {
4 "uri": "of:0000ffffffffff01", "mac": "ffffffffffff01", "type": "ROADM",
Thomas Vachuska18867bf2014-10-27 19:56:15 -07005 "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "ROADM1",
Thomas Vachuska9252bc32014-10-23 02:33:25 -07006 "annotations": { "latitude": 37.6, "longitude": 122.3, "optical.regens": 0 }
7 },
8 {
9 "uri": "of:0000ffffffffff02", "mac": "ffffffffffff02", "type": "ROADM",
Thomas Vachuska18867bf2014-10-27 19:56:15 -070010 "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "ROADM2",
Thomas Vachuska9252bc32014-10-23 02:33:25 -070011 "annotations": { "latitude": 37.3, "longitude": 121.9, "optical.regens": 0 }
12 },
13 {
14 "uri": "of:0000ffffffffff03", "mac": "ffffffffffff03", "type": "ROADM",
Thomas Vachuska18867bf2014-10-27 19:56:15 -070015 "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "ROADM3",
Thomas Vachuska9252bc32014-10-23 02:33:25 -070016 "annotations": { "latitude": 33.9, "longitude": 118.4, "optical.regens": 2 }
17 },
18
19 {
20 "uri": "of:0000ffffffff0001", "mac": "ffffffffff0003", "type": "SWITCH",
Thomas Vachuska18867bf2014-10-27 19:56:15 -070021 "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "ROUTER1",
Thomas Vachuska9252bc32014-10-23 02:33:25 -070022 "annotations": { "latitude": 37.6, "longitude": 122.3 }
23 },
24 {
25 "uri": "of:0000ffffffff0002", "mac": "ffffffffff0002", "type": "SWITCH",
Thomas Vachuska18867bf2014-10-27 19:56:15 -070026 "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "ROUTER2",
Thomas Vachuska9252bc32014-10-23 02:33:25 -070027 "annotations": { "latitude": 37.3, "longitude": 121.9 }
28 }
29 ],
30
31 "links" : [
32 { "src": "of:0000ffffffffff01/10", "dst": "of:0000ffffffffff03/30", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM" } },
33 { "src": "of:0000ffffffffff02/20", "dst": "of:0000ffffffffff03/31", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM" } },
34
35 { "src": "of:0000ffffffff0001/10", "dst": "of:0000ffffffffff01/11", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect" } },
36 { "src": "of:0000ffffffff0002/10", "dst": "of:0000ffffffffff02/21", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect" } }
37 ],
38
39 "hosts" : [
40 { "mac": "a0:00:00:00:00:11", "vlan": -1, "location": "of:0000ffffffff0001/11", "ip": "1.2.3.4" },
41 { "mac": "a0:00:00:00:00:12", "vlan": -1, "location": "of:0000ffffffff0001/12", "ip": "1.2.3.5" },
42 { "mac": "a0:00:00:00:00:21", "vlan": -1, "location": "of:0000ffffffff0002/11", "ip": "2.2.3.4" },
43 { "mac": "a0:00:00:00:00:22", "vlan": -1, "location": "of:0000ffffffff0002/12", "ip": "2.2.3.5" }
44 ]
45}