Thomas Vachuska | 9252bc3 | 2014-10-23 02:33:25 -0700 | [diff] [blame] | 1 | { |
| 2 | "devices" : [ |
| 3 | { |
| 4 | "uri": "of:00000000000001", "type": "ROADM", "mfr": "Foo, Inc.", "hw": "Alpha", "sw": "1.2.3", |
| 5 | "serial": "ab321", "mac": "00000000000001", "annotations": {"foo": "bar"}, |
| 6 | "ports": [] |
| 7 | }, |
| 8 | { |
| 9 | "uri": "of:00000000000002", "type": "ROADM", "mfr": "Foo, Inc.", "hw": "Alpha", "sw": "1.2.3", |
| 10 | "serial": "ab456", "mac": "00000000000002", "annotations": {"foo": "bar"}, |
| 11 | "ports": [] |
| 12 | } |
| 13 | ], |
| 14 | |
| 15 | "links" : [ |
| 16 | { "src": "of:00000000000001/1", "dst": "of:00000000000002/1", "type": "OPTICAL" }, |
| 17 | { "src": "of:00000000000002/1", "dst": "of:00000000000001/1", "type": "OPTICAL" } |
| 18 | ] |
| 19 | } |