aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/test/configs/network-cfg-2x2-leaf-spine.json
blob: 828d2735719c7653673b99ee46fae16b1b159def (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
    "ports" : {
    "of:0000000000000001/3" : {
        "interfaces" : [
        {
            "ips" : [ "10.0.1.254/24" ],
            "mac" : "08:9e:01:82:38:68",
            "vlan" : "100"
        }
        ]
    },
    "of:0000000000000001/4" : {
        "interfaces" : [
        {
            "ips" : [ "10.0.1.254/24" ],
            "mac" : "08:9e:01:82:38:68",
            "vlan" : "100"
        }
        ]
    },
    "of:0000000000000002/3" : {
        "interfaces" : [
        {
            "ips" : [ "10.0.2.254/24" ],
            "mac" : "08:9e:01:82:38:68",
            "vlan" : "100"
        }
        ]
    },
    "of:0000000000000002/4" : {
        "interfaces" : [
        {
            "ips" : [ "10.0.2.254/24" ],
            "mac" : "08:9e:01:82:38:68",
            "vlan" : "100"
        }
        ]
    }
    },
    "devices" : {
        "of:0000000000000001" : {
            "segmentrouting" : {
                "name" : "Leaf-R1",
                "nodeSid" : 101,
                "routerIp" : "10.0.1.254",
                "routerMac" : "00:00:00:00:01:80",
                "isEdgeRouter" : true,
                "adjacencySids" : []
            }
        },
        "of:0000000000000002" : {
            "segmentrouting" : {
                "name" : "Leaf-R2",
                "nodeSid" : 102,
                "routerIp" : "10.0.2.254",
                "routerMac" : "00:00:00:00:02:80",
                "isEdgeRouter" : true,
                "adjacencySids" : []
            }
        },
        "of:0000000000000191" : {
            "segmentrouting" : {
                "name" : "Spine-R1",
                "nodeSid" : 103,
                "routerIp" : "192.168.0.11",
                "routerMac" : "00:00:01:00:11:80",
                "isEdgeRouter" : false,
                "adjacencySids" : []
            }
        },
        "of:0000000000000192" : {
            "segmentrouting" : {
                "name" : "Spine-R2",
                "nodeSid" : 104,
                "routerIp" : "192.168.0.22",
                "routerMac" : "00:00:01:00:22:80",
                "isEdgeRouter" : false,
                "adjacencySids" : []
            }
        }
    },
    "hosts" : {
        "00:00:00:00:00:01/4093" : {
            "basic": {
                "ips": ["10.0.1.1"],
                "location": "of:0000000000000001/3"
            }
        },
        "00:00:00:00:00:02/4093" : {
            "basic": {
                "ips": ["10.0.1.2"],
                "location": "of:0000000000000001/4"
            }
        },
        "00:00:00:00:00:03/4093" : {
            "basic": {
                "ips": ["10.0.2.1"],
                "location": "of:0000000000000002/3"
            }
        },
        "00:00:00:00:00:04/4093" : {
            "basic": {
                "ips": ["10.0.2.2"],
                "location": "of:0000000000000002/4"
            }
        }
    }
}