blob: ef73261d33ace9e26f8914579f8a64b1204abba5 [file] [log] [blame]
Charles Chand6d581a2015-11-18 16:51:08 -08001{
2 "ports" : {
3 "of:0000000000000001/3" : {
4 "interfaces" : [
5 {
6 "ips" : [ "10.0.1.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -08007 "vlan" : "-1"
8 },
9 {
Charles Chand6d581a2015-11-18 16:51:08 -080010 "vlan" : "100"
11 }
12 ]
13 },
14 "of:0000000000000001/4" : {
15 "interfaces" : [
16 {
17 "ips" : [ "10.0.1.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080018 "vlan" : "-1"
Charles Chand6d581a2015-11-18 16:51:08 -080019 }
20 ]
21 },
Charles Chane849c192016-01-11 18:28:54 -080022 "of:0000000000000001/5" : {
23 "interfaces" : [
24 {
25 "vlan" : "100"
26 }
27 ]
28 },
Charles Chand6d581a2015-11-18 16:51:08 -080029 "of:0000000000000002/3" : {
30 "interfaces" : [
31 {
32 "ips" : [ "10.0.2.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080033 "vlan" : "-1"
Charles Chand6d581a2015-11-18 16:51:08 -080034 }
35 ]
36 },
37 "of:0000000000000002/4" : {
38 "interfaces" : [
39 {
40 "ips" : [ "10.0.2.254/24" ],
Charles Chane849c192016-01-11 18:28:54 -080041 "vlan" : "-1"
Charles Chand6d581a2015-11-18 16:51:08 -080042 }
43 ]
44 }
45 },
46 "devices" : {
47 "of:0000000000000001" : {
48 "segmentrouting" : {
49 "name" : "Leaf-R1",
50 "nodeSid" : 101,
51 "routerIp" : "10.0.1.254",
52 "routerMac" : "00:00:00:00:01:80",
Charles Chanf5baee82015-12-02 15:33:33 -080053 "isEdgeRouter" : true,
54 "adjacencySids" : []
Charles Chand6d581a2015-11-18 16:51:08 -080055 }
56 },
57 "of:0000000000000002" : {
58 "segmentrouting" : {
59 "name" : "Leaf-R2",
60 "nodeSid" : 102,
61 "routerIp" : "10.0.2.254",
62 "routerMac" : "00:00:00:00:02:80",
Charles Chanf5baee82015-12-02 15:33:33 -080063 "isEdgeRouter" : true,
64 "adjacencySids" : []
Charles Chand6d581a2015-11-18 16:51:08 -080065 }
66 },
67 "of:0000000000000191" : {
68 "segmentrouting" : {
69 "name" : "Spine-R1",
70 "nodeSid" : 103,
71 "routerIp" : "192.168.0.11",
72 "routerMac" : "00:00:01:00:11:80",
Charles Chanf5baee82015-12-02 15:33:33 -080073 "isEdgeRouter" : false,
74 "adjacencySids" : []
Charles Chand6d581a2015-11-18 16:51:08 -080075 }
76 },
77 "of:0000000000000192" : {
78 "segmentrouting" : {
79 "name" : "Spine-R2",
80 "nodeSid" : 104,
81 "routerIp" : "192.168.0.22",
82 "routerMac" : "00:00:01:00:22:80",
Charles Chanf5baee82015-12-02 15:33:33 -080083 "isEdgeRouter" : false,
84 "adjacencySids" : []
Charles Chand6d581a2015-11-18 16:51:08 -080085 }
86 }
87 },
88 "hosts" : {
89 "00:00:00:00:00:01/4093" : {
90 "basic": {
91 "ips": ["10.0.1.1"],
92 "location": "of:0000000000000001/3"
93 }
94 },
95 "00:00:00:00:00:02/4093" : {
96 "basic": {
97 "ips": ["10.0.1.2"],
98 "location": "of:0000000000000001/4"
99 }
100 },
101 "00:00:00:00:00:03/4093" : {
102 "basic": {
103 "ips": ["10.0.2.1"],
104 "location": "of:0000000000000002/3"
105 }
106 },
107 "00:00:00:00:00:04/4093" : {
108 "basic": {
109 "ips": ["10.0.2.2"],
110 "location": "of:0000000000000002/4"
111 }
112 }
113 }
114}