blob: 4efcf97d01fa47e2ba1950f6a1fe2d89a08535a1 [file] [log] [blame]
Charles Chanf5baee82015-12-02 15:33:33 -08001{
2 "ports" : {
3 "of:0000000000000001/5" : {
4 "interfaces" : [
5 {
6 "ips" : [ "10.0.1.254/24" ],
7 "mac" : "08:9e:01:82:38:68",
8 "vlan" : "100"
9 }
10 ]
11 },
12 "of:0000000000000001/6" : {
13 "interfaces" : [
14 {
15 "ips" : [ "10.0.1.254/24" ],
16 "mac" : "08:9e:01:82:38:68",
17 "vlan" : "100"
18 }
19 ]
20 },
21 "of:0000000000000002/5" : {
22 "interfaces" : [
23 {
24 "ips" : [ "10.0.2.254/24" ],
25 "mac" : "08:9e:01:82:38:68",
26 "vlan" : "100"
27 }
28 ]
29 },
30 "of:0000000000000002/6" : {
31 "interfaces" : [
32 {
33 "ips" : [ "10.0.2.254/24" ],
34 "mac" : "08:9e:01:82:38:68",
35 "vlan" : "100"
36 }
37 ]
38 },
39 "of:0000000000000003/5" : {
40 "interfaces" : [
41 {
42 "ips" : [ "10.0.3.254/24" ],
43 "mac" : "08:9e:01:82:38:68",
44 "vlan" : "100"
45 }
46 ]
47 },
48 "of:0000000000000003/6" : {
49 "interfaces" : [
50 {
51 "ips" : [ "10.0.3.254/24" ],
52 "mac" : "08:9e:01:82:38:68",
53 "vlan" : "100"
54 }
55 ]
56 },
57 "of:0000000000000004/5" : {
58 "interfaces" : [
59 {
60 "ips" : [ "10.0.4.254/24" ],
61 "mac" : "08:9e:01:82:38:68",
62 "vlan" : "100"
63 }
64 ]
65 },
66 "of:0000000000000004/6" : {
67 "interfaces" : [
68 {
69 "ips" : [ "10.0.4.254/24" ],
70 "mac" : "08:9e:01:82:38:68",
71 "vlan" : "100"
72 }
73 ]
74 }
75 },
76 "devices" : {
77 "of:0000000000000001" : {
78 "segmentrouting" : {
79 "name" : "Leaf-R1",
80 "nodeSid" : 101,
81 "routerIp" : "10.0.1.254",
82 "routerMac" : "00:00:00:00:01:80",
83 "isEdgeRouter" : true,
84 "adjacencySids" : []
85 }
86 },
87 "of:0000000000000002" : {
88 "segmentrouting" : {
89 "name" : "Leaf-R2",
90 "nodeSid" : 102,
91 "routerIp" : "10.0.2.254",
92 "routerMac" : "00:00:00:00:02:80",
93 "isEdgeRouter" : true,
94 "adjacencySids" : []
95 }
96 },
97 "of:0000000000000003" : {
98 "segmentrouting" : {
99 "name" : "Leaf-R3",
100 "nodeSid" : 103,
101 "routerIp" : "10.0.3.254",
102 "routerMac" : "00:00:00:00:03:80",
103 "isEdgeRouter" : true,
104 "adjacencySids" : []
105 }
106 },
107 "of:0000000000000004" : {
108 "segmentrouting" : {
109 "name" : "Leaf-R4",
110 "nodeSid" : 104,
111 "routerIp" : "10.0.4.254",
112 "routerMac" : "00:00:00:00:04:80",
113 "isEdgeRouter" : true,
114 "adjacencySids" : []
115 }
116 },
117 "of:0000000000000191" : {
118 "segmentrouting" : {
119 "name" : "Spine-R1",
120 "nodeSid" : 105,
121 "routerIp" : "192.168.0.11",
122 "routerMac" : "00:00:01:00:11:80",
123 "isEdgeRouter" : false,
124 "adjacencySids" : []
125 }
126 },
127 "of:0000000000000192" : {
128 "segmentrouting" : {
129 "name" : "Spine-R2",
130 "nodeSid" : 106,
131 "routerIp" : "192.168.0.22",
132 "routerMac" : "00:00:01:00:22:80",
133 "isEdgeRouter" : false,
134 "adjacencySids" : []
135 }
136 },
137 "of:0000000000000193" : {
138 "segmentrouting" : {
139 "name" : "Spine-R3",
140 "nodeSid" : 107,
141 "routerIp" : "192.168.0.33",
142 "routerMac" : "00:00:03:00:33:80",
143 "isEdgeRouter" : false,
144 "adjacencySids" : []
145 }
146 },
147 "of:0000000000000194" : {
148 "segmentrouting" : {
149 "name" : "Spine-R4",
150 "nodeSid" : 108,
151 "routerIp" : "192.168.0.44",
152 "routerMac" : "00:00:04:00:44:80",
153 "isEdgeRouter" : false,
154 "adjacencySids" : []
155 }
156 }
157 },
158 "hosts" : {
159 "00:00:00:00:00:01/4093" : {
160 "basic": {
161 "ips": ["10.0.1.1"],
162 "location": "of:0000000000000001/5"
163 }
164 },
165 "00:00:00:00:00:02/4093" : {
166 "basic": {
167 "ips": ["10.0.1.2"],
168 "location": "of:0000000000000001/6"
169 }
170 },
171 "00:00:00:00:00:03/4093" : {
172 "basic": {
173 "ips": ["10.0.2.1"],
174 "location": "of:0000000000000002/5"
175 }
176 },
177 "00:00:00:00:00:04/4093" : {
178 "basic": {
179 "ips": ["10.0.2.2"],
180 "location": "of:0000000000000002/6"
181 }
182 },
183 "00:00:00:00:00:05/4093" : {
184 "basic": {
185 "ips": ["10.0.3.1"],
186 "location": "of:0000000000000003/5"
187 }
188 },
189 "00:00:00:00:00:06/4093" : {
190 "basic": {
191 "ips": ["10.0.3.2"],
192 "location": "of:0000000000000003/6"
193 }
194 },
195 "00:00:00:00:00:07/4093" : {
196 "basic": {
197 "ips": ["10.0.4.1"],
198 "location": "of:0000000000000004/5"
199 }
200 },
201 "00:00:00:00:00:08/4093" : {
202 "basic": {
203 "ips": ["10.0.4.2"],
204 "location": "of:0000000000000004/6"
205 }
206 }
207 }
208}