summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/test/topos/oe-linear-3.json
blob: 44fccd996a23967bf32165cd57f3d149a312c25f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
    "devices" : [
        {
            "uri": "of:0000ffffffffff01", "mac": "ffffffffffff01", "type": "ROADM",
            "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?",
            "annotations": { "name": "ROADM1", "latitude": 37.6, "longitude": -122.3, "optical.regens": 0 },
            "ports": [ { "port": 10, "speed": 100000, "type": "FIBER" }, { "port": 20, "speed": 0, "type": "FIBER" } ]
        },
        {
            "uri": "of:0000ffffffffff02", "mac": "ffffffffffff02", "type": "ROADM",
            "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?",
            "annotations": { "name": "ROADM2", "latitude": 37.3, "longitude": -121.9, "optical.regens": 0 },
            "ports": [ { "port": 11, "speed": 100000, "type": "FIBER" }, { "port": 21, "speed": 0, "type": "FIBER" } ]
        },
        {
            "uri": "of:0000ffffffffff03", "mac": "ffffffffffff03", "type": "ROADM",
            "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?",
            "annotations": { "name": "ROADM3", "latitude": 33.9, "longitude": -118.4, "optical.regens": 2 },
            "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ]
        },

        {
            "uri": "of:0000ffffffff0001", "mac": "ffffffffff0001", "type": "SWITCH",
            "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?",
            "annotations": { "name": "ROUTER1", "latitude": 37.6, "longitude": -122.3 },
            "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ]
        },
        {
            "uri": "of:0000ffffffff0002", "mac": "ffffffffff0002", "type": "SWITCH",
            "mfr": "Linc", "hw": "PK", "sw": "?", "serial": "?",
            "annotations": { "name": "ROUTER2", "latitude": 37.3, "longitude": -121.9 },
            "ports": [ { "port": 1, "speed": 10000, "type": "COPPER" }, { "port": 2, "speed": 100000, "type": "FIBER" } ]
        }
    ],

    "links" : [
        { "src": "of:0000ffffffffff01/20", "dst": "of:0000ffffffffff03/30", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "durable": "true", "inactive": "true" } },
        { "src": "of:0000ffffffffff02/21", "dst": "of:0000ffffffffff03/31", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "durable": "true", "inactive": "true" } },

        { "src": "of:0000ffffffff0001/2", "dst": "of:0000ffffffffff01/10", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect", "durable": "true", "inactive": "true" } },
        { "src": "of:0000ffffffff0002/2", "dst": "of:0000ffffffffff02/11", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect", "durable": "true", "inactive": "true" } }
    ],

    "hosts" : [
        { "mac": "00:00:00:00:00:01", "vlan": -1, "location": "of:0000ffffffff0001/1", "ip": "10.0.0.1" },
        { "mac": "00:00:00:00:00:02", "vlan": -1, "location": "of:0000ffffffff0002/1", "ip": "10.0.0.2" }
    ]
}