aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/web/api/src/test/java/org/onosproject/rest/topo.json
blob: cdef9768b1eddde1309a7b0b75bcea618859a2f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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" }
    ]
}