diff options
Diffstat (limited to 'framework/src/onos/web/api/src/test/java/org/onosproject/rest/topo.json')
-rw-r--r-- | framework/src/onos/web/api/src/test/java/org/onosproject/rest/topo.json | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/framework/src/onos/web/api/src/test/java/org/onosproject/rest/topo.json b/framework/src/onos/web/api/src/test/java/org/onosproject/rest/topo.json new file mode 100644 index 00000000..cdef9768 --- /dev/null +++ b/framework/src/onos/web/api/src/test/java/org/onosproject/rest/topo.json @@ -0,0 +1,19 @@ +{ + "devices" : [ + { + "uri": "of:00000000000001", "type": "ROADM", "mfr": "Foo, Inc.", "hw": "Alpha", "sw": "1.2.3", + "serial": "ab321", "mac": "00000000000001", "annotations": {"foo": "bar"}, + "ports": [] + }, + { + "uri": "of:00000000000002", "type": "ROADM", "mfr": "Foo, Inc.", "hw": "Alpha", "sw": "1.2.3", + "serial": "ab456", "mac": "00000000000002", "annotations": {"foo": "bar"}, + "ports": [] + } + ], + + "links" : [ + { "src": "of:00000000000001/1", "dst": "of:00000000000002/1", "type": "OPTICAL" }, + { "src": "of:00000000000002/1", "dst": "of:00000000000001/1", "type": "OPTICAL" } + ] +}
\ No newline at end of file |