Thomas Vachuska | 9252bc3 | 2014-10-23 02:33:25 -0700 | [diff] [blame] | 1 | { |
| 2 | "devices" : [ |
| 3 | { |
| 4 | "uri": "of:0000ffffffffff01", "mac": "ffffffffffff01", "type": "ROADM", |
Thomas Vachuska | 16582df | 2014-11-15 20:12:17 -0800 | [diff] [blame] | 5 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", |
| 6 | "annotations": { "name": "ROADM1", "latitude": 37.6, "longitude": -122.3, "optical.regens": 0 }, |
Thomas Vachuska | d16ce18 | 2014-10-29 17:25:29 -0700 | [diff] [blame] | 7 | "ports": [ { "port": 10, "speed": 100000, "type": "FIBER" }, { "port": 20, "speed": 0, "type": "FIBER" } ] |
Thomas Vachuska | 9252bc3 | 2014-10-23 02:33:25 -0700 | [diff] [blame] | 8 | }, |
| 9 | { |
| 10 | "uri": "of:0000ffffffffff02", "mac": "ffffffffffff02", "type": "ROADM", |
Thomas Vachuska | 16582df | 2014-11-15 20:12:17 -0800 | [diff] [blame] | 11 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", |
| 12 | "annotations": { "name": "ROADM2", "latitude": 37.3, "longitude": -121.9, "optical.regens": 0 }, |
Thomas Vachuska | d16ce18 | 2014-10-29 17:25:29 -0700 | [diff] [blame] | 13 | "ports": [ { "port": 11, "speed": 100000, "type": "FIBER" }, { "port": 21, "speed": 0, "type": "FIBER" } ] |
Thomas Vachuska | 9252bc3 | 2014-10-23 02:33:25 -0700 | [diff] [blame] | 14 | }, |
| 15 | { |
| 16 | "uri": "of:0000ffffffffff03", "mac": "ffffffffffff03", "type": "ROADM", |
Thomas Vachuska | 16582df | 2014-11-15 20:12:17 -0800 | [diff] [blame] | 17 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", |
| 18 | "annotations": { "name": "ROADM3", "latitude": 33.9, "longitude": -118.4, "optical.regens": 2 }, |
Thomas Vachuska | d16ce18 | 2014-10-29 17:25:29 -0700 | [diff] [blame] | 19 | "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] |
Thomas Vachuska | 9252bc3 | 2014-10-23 02:33:25 -0700 | [diff] [blame] | 20 | }, |
| 21 | |
| 22 | { |
Thomas Vachuska | 8ec96ec | 2014-10-29 22:40:52 -0700 | [diff] [blame] | 23 | "uri": "of:0000ffffffff0001", "mac": "ffffffffff0001", "type": "SWITCH", |
Thomas Vachuska | 16582df | 2014-11-15 20:12:17 -0800 | [diff] [blame] | 24 | "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", |
| 25 | "annotations": { "name": "ROUTER1", "latitude": 37.6, "longitude": -122.3 }, |
Thomas Vachuska | d16ce18 | 2014-10-29 17:25:29 -0700 | [diff] [blame] | 26 | "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ] |
Thomas Vachuska | 9252bc3 | 2014-10-23 02:33:25 -0700 | [diff] [blame] | 27 | }, |
| 28 | { |
| 29 | "uri": "of:0000ffffffff0002", "mac": "ffffffffff0002", "type": "SWITCH", |
Thomas Vachuska | 16582df | 2014-11-15 20:12:17 -0800 | [diff] [blame] | 30 | "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?", |
| 31 | "annotations": { "name": "ROUTER2", "latitude": 37.3, "longitude": -121.9 }, |
Thomas Vachuska | d16ce18 | 2014-10-29 17:25:29 -0700 | [diff] [blame] | 32 | "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ] |
Thomas Vachuska | 9252bc3 | 2014-10-23 02:33:25 -0700 | [diff] [blame] | 33 | } |
| 34 | ], |
| 35 | |
| 36 | "links" : [ |
Thomas Vachuska | e4cebaf | 2014-11-15 18:49:34 -0800 | [diff] [blame] | 37 | { "src": "of:0000ffffffffff01/20", "dst": "of:0000ffffffffff03/30", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "durable": "true", "inactive": "true" } }, |
| 38 | { "src": "of:0000ffffffffff02/21", "dst": "of:0000ffffffffff03/31", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "durable": "true", "inactive": "true" } }, |
Thomas Vachuska | 9252bc3 | 2014-10-23 02:33:25 -0700 | [diff] [blame] | 39 | |
Thomas Vachuska | e4cebaf | 2014-11-15 18:49:34 -0800 | [diff] [blame] | 40 | { "src": "of:0000ffffffff0001/2", "dst": "of:0000ffffffffff01/10", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect", "durable": "true", "inactive": "true" } }, |
| 41 | { "src": "of:0000ffffffff0002/2", "dst": "of:0000ffffffffff02/11", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect", "durable": "true", "inactive": "true" } } |
Thomas Vachuska | 9252bc3 | 2014-10-23 02:33:25 -0700 | [diff] [blame] | 42 | ], |
| 43 | |
Thomas Vachuska | 8ec96ec | 2014-10-29 22:40:52 -0700 | [diff] [blame] | 44 | "hosts" : [ |
Jeremy Ronquillo | 6e920c8 | 2017-07-10 16:44:09 -0700 | [diff] [blame] | 45 | { "mac": "00:00:00:00:00:01", "vlan": -1, "locations": ["of:0000ffffffff0001/1"], "ip": "10.0.0.1" }, |
| 46 | { "mac": "00:00:00:00:00:02", "vlan": -1, "locations": ["of:0000ffffffff0002/1"], "ip": "10.0.0.2" } |
Thomas Vachuska | 9252bc3 | 2014-10-23 02:33:25 -0700 | [diff] [blame] | 47 | ] |
Jeremy Ronquillo | 6e920c8 | 2017-07-10 16:44:09 -0700 | [diff] [blame] | 48 | } |