blob: f361f1006f44328aa550ab91cee796a07e8f0d0f [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 Vachuskad16ce182014-10-29 17:25:29 -07006 "annotations": { "latitude": 37.6, "longitude": 122.3, "optical.regens": 0 },
7 "ports": [ { "port": 10, "speed": 100000, "type": "FIBER" }, { "port": 20, "speed": 0, "type": "FIBER" } ]
Thomas Vachuska9252bc32014-10-23 02:33:25 -07008 },
9 {
10 "uri": "of:0000ffffffffff02", "mac": "ffffffffffff02", "type": "ROADM",
Thomas Vachuska18867bf2014-10-27 19:56:15 -070011 "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "ROADM2",
Thomas Vachuskad16ce182014-10-29 17:25:29 -070012 "annotations": { "latitude": 37.3, "longitude": 121.9, "optical.regens": 0 },
13 "ports": [ { "port": 11, "speed": 100000, "type": "FIBER" }, { "port": 21, "speed": 0, "type": "FIBER" } ]
Thomas Vachuska9252bc32014-10-23 02:33:25 -070014 },
15 {
16 "uri": "of:0000ffffffffff03", "mac": "ffffffffffff03", "type": "ROADM",
Thomas Vachuska18867bf2014-10-27 19:56:15 -070017 "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "ROADM3",
Thomas Vachuskad16ce182014-10-29 17:25:29 -070018 "annotations": { "latitude": 33.9, "longitude": 118.4, "optical.regens": 2 },
19 "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ]
Thomas Vachuska9252bc32014-10-23 02:33:25 -070020 },
21
22 {
23 "uri": "of:0000ffffffff0001", "mac": "ffffffffff0003", "type": "SWITCH",
Thomas Vachuska18867bf2014-10-27 19:56:15 -070024 "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "ROUTER1",
Thomas Vachuskad16ce182014-10-29 17:25:29 -070025 "annotations": { "latitude": 37.6, "longitude": 122.3 },
26 "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ]
Thomas Vachuska9252bc32014-10-23 02:33:25 -070027 },
28 {
29 "uri": "of:0000ffffffff0002", "mac": "ffffffffff0002", "type": "SWITCH",
Thomas Vachuska18867bf2014-10-27 19:56:15 -070030 "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", "name": "ROUTER2",
Thomas Vachuskad16ce182014-10-29 17:25:29 -070031 "annotations": { "latitude": 37.3, "longitude": 121.9 },
32 "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ]
Thomas Vachuska9252bc32014-10-23 02:33:25 -070033 }
34 ],
35
36 "links" : [
Thomas Vachuskac0bbbd42014-10-28 15:53:30 -070037 { "src": "of:0000ffffffffff01/20", "dst": "of:0000ffffffffff03/30", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM" } },
38 { "src": "of:0000ffffffffff02/21", "dst": "of:0000ffffffffff03/31", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM" } },
Thomas Vachuska9252bc32014-10-23 02:33:25 -070039
Thomas Vachuskac0bbbd42014-10-28 15:53:30 -070040 { "src": "of:0000ffffffff0001/2", "dst": "of:0000ffffffffff01/10", "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" } }
Thomas Vachuska9252bc32014-10-23 02:33:25 -070042 ],
43
Thomas Vachuskac0bbbd42014-10-28 15:53:30 -070044 "Xhosts" : [
Thomas Vachuska9252bc32014-10-23 02:33:25 -070045 { "mac": "a0:00:00:00:00:11", "vlan": -1, "location": "of:0000ffffffff0001/11", "ip": "1.2.3.4" },
46 { "mac": "a0:00:00:00:00:12", "vlan": -1, "location": "of:0000ffffffff0001/12", "ip": "1.2.3.5" },
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 ]
50}