blob: 8a7eff86121fc37a88d709e9d3eca84df05389ef [file] [log] [blame]
Andreas Pantelopoulos90f0b102018-02-01 13:21:45 -08001{
2 "ports" : {
3 "of:0000000000000001/3" : {
4 "interfaces" : [
5 {
6 "ips" : [ "10.1.0.254/24" ],
7 "vlan-untagged": 10
8 }
9 ]
10 },
11 "of:0000000000000002/6" : {
12 "interfaces" : [
13 {
14 "ips" : [ "10.2.0.254/24" ],
15 "vlan-untagged": 10
16 }
17 ]
18 },
19 "of:0000000000000002/7" : {
20 "interfaces" : [
21 {
22 "ips" : [ "10.2.30.254/24" ],
23 "vlan-untagged": 15
24 }
25 ]
26 },
27 "of:0000000000000002/8" : {
28 "interfaces" : [
29 {
30 "ips" : [ "10.2.20.254/24" ],
31 "vlan-tagged": [30]
32 }
33 ]
34 },
35 "of:0000000000000003/8" : {
36 "interfaces" : [
37 {
38 "ips" : [ "10.2.10.254/24" ],
39 "vlan-tagged": [20]
40 }
41 ]
42 },
43 "of:0000000000000003/6" : {
44 "interfaces" : [
45 {
46 "ips" : [ "10.2.30.254/24" ],
47 "vlan-untagged": 15
48 }
49 ]
50 },
51 "of:0000000000000003/7" : {
52 "interfaces" : [
53 {
54 "ips" : [ "10.2.20.254/24" ],
55 "vlan-tagged": [30]
56 }
57 ]
58 },
59 "of:0000000000000004/6" : {
60 "interfaces" : [
61 {
62 "ips" : [ "10.3.0.254/24" ],
63 "vlan-tagged": [30]
64 }
65 ]
66 },
67 "of:0000000000000004/7" : {
68 "interfaces" : [
69 {
70 "ips" : [ "10.3.10.254/24" ],
71 "vlan-tagged": [40]
72 }
73 ]
74 },
75 "of:0000000000000004/8" : {
76 "interfaces" : [
77 {
78 "ips" : [ "10.3.30.254/24" ],
79 "vlan-tagged": [40]
80 }
81 ]
82 },
83 "of:0000000000000005/8" : {
84 "interfaces" : [
85 {
86 "ips" : [ "10.3.20.254/24" ],
87 "vlan-tagged": [40]
88 }
89 ]
90 },
91 "of:0000000000000005/6" : {
92 "interfaces" : [
93 {
94 "ips" : [ "10.3.10.254/24" ],
95 "vlan-tagged": [40]
96 }
97 ]
98 },
99 "of:0000000000000005/7" : {
100 "interfaces" : [
101 {
102 "ips" : [ "10.3.30.254/24" ],
103 "vlan-tagged": [40]
104 }
105 ]
106 }
107 },
108 "hosts" : {
109 "00:aa:00:00:00:01/10" : {
110 "basic": {
111 "locations": ["of:0000000000000001/3"],
112 "ips": ["10.1.0.1"]
113 }
114 },
115 "00:aa:00:00:00:02/None" : {
116 "basic": {
117 "locations": ["of:0000000000000002/6"],
118 "ips": ["10.2.0.1"]
119 }
120 },
121 "00:aa:00:00:00:03/None" : {
122 "basic": {
123 "locations": ["of:0000000000000002/7", "of:0000000000000003/6"],
124 "ips": ["10.2.30.1"]
125 }
126 },
127 "00:aa:00:00:00:04/30" : {
128 "basic": {
129 "locations": ["of:0000000000000003/7","of:0000000000000002/8"],
130 "ips": ["10.2.20.1"]
131 }
132 },
133 "00:aa:00:00:00:05/20" : {
134 "basic": {
135 "locations": ["of:0000000000000003/8"],
136 "ips": ["10.2.10.1"]
137 }
138 },
139 "00:aa:00:00:00:06/30" : {
140 "basic": {
141 "locations": ["of:0000000000000004/6"],
142 "ips": ["10.3.0.1"]
143 }
144 },
145 "00:aa:00:00:00:07/40" : {
146 "basic": {
147 "locations": ["of:0000000000000005/6", "of:0000000000000004/7"],
148 "ips": ["10.3.10.1"]
149 }
150 },
151 "00:aa:00:00:00:08/40" : {
152 "basic": {
153 "locations": ["of:0000000000000004/8","of:0000000000000005/7"],
154 "ips": ["10.3.30.1"]
155 }
156 },
157 "00:aa:00:00:00:0A/40" : {
158 "basic": {
159 "locations": ["of:0000000000000005/8"],
160 "ips": ["10.3.20.1"]
161 }
162 }
163 },
164 "devices" : {
165 "of:0000000000000001" : {
166 "segmentrouting" : {
167 "name" : "s001",
168 "ipv4NodeSid" : 1,
169 "ipv4Loopback" : "192.168.0.1",
170 "routerMac" : "00:00:00:00:00:01",
171 "isEdgeRouter" : true,
172 "adjacencySids" : []
173 },
174 "basic" : {
175 "driver" : "ofdpa-ovs",
176 "latitude":34,
177 "longitude":-105
178 }
179 },
180 "of:0000000000000002" : {
181 "segmentrouting" : {
182 "name" : "s002",
183 "ipv4NodeSid" : 2,
184 "ipv4Loopback" : "192.168.0.2",
185 "routerMac" : "00:00:00:00:00:02",
186 "isEdgeRouter" : true,
187 "pairLocalPort" : 5,
188 "pairDeviceId": "of:0000000000000003",
189 "adjacencySids" : []
190 },
191 "basic" : {
192 "driver" : "ofdpa-ovs",
193 "latitude":34,
194 "longitude":-95
195 }
196 },
197 "of:0000000000000003" : {
198 "segmentrouting" : {
199 "name" : "s003",
200 "ipv4NodeSid" : 3,
201 "ipv4Loopback" : "192.168.0.3",
202 "routerMac" : "00:00:00:00:00:03",
203 "isEdgeRouter" : true,
204 "pairLocalPort" : 5,
205 "pairDeviceId": "of:0000000000000002",
206 "adjacencySids" : []
207 },
208 "basic" : {
209 "driver" : "ofdpa-ovs",
210 "latitude":34,
211 "longitude":-90
212 }
213 },
214 "of:0000000000000004" : {
215 "segmentrouting" : {
216 "name" : "s004",
217 "ipv4NodeSid" : 4,
218 "ipv4Loopback" : "192.168.0.4",
219 "routerMac" : "00:00:00:00:00:04",
220 "isEdgeRouter" : true,
221 "pairLocalPort" : 5,
222 "pairDeviceId": "of:0000000000000005",
223 "adjacencySids" : []
224 },
225 "basic" : {
226 "driver" : "ofdpa-ovs",
227 "latitude":34,
228 "longitude":-85
229 }
230 },
231 "of:0000000000000005" : {
232 "segmentrouting" : {
233 "name" : "s005",
234 "ipv4NodeSid" : 5,
235 "ipv4Loopback" : "192.168.0.5",
236 "routerMac" : "00:00:00:00:00:05",
237 "isEdgeRouter" : true,
238 "pairLocalPort" : 5,
239 "pairDeviceId": "of:0000000000000004",
240 "adjacencySids" : []
241 },
242 "basic" : {
243 "driver" : "ofdpa-ovs",
244 "latitude":34,
245 "longitude":-80
246 }
247 },
248 "of:0000000000000101" : {
249 "segmentrouting" : {
250 "name" : "s101",
251 "ipv4NodeSid" : 101,
252 "ipv4Loopback" : "192.168.0.101",
253 "routerMac" : "00:00:00:00:01:01",
254 "isEdgeRouter" : false,
255 "adjacencySids" : []
256 },
257 "basic" : {
258 "driver" : "ofdpa-ovs",
259 "latitude":42,
260 "longitude":-100
261 }
262 },
263 "of:0000000000000102" : {
264 "segmentrouting" : {
265 "name" : "s102",
266 "ipv4NodeSid" : 102,
267 "ipv4Loopback" : "192.168.0.102",
268 "routerMac" : "00:00:00:00:01:02",
269 "isEdgeRouter" : false,
270 "adjacencySids" : []
271 },
272 "basic" : {
273 "driver" : "ofdpa-ovs",
274 "latitude":42,
275 "longitude":-95
276 }
277 }
278 }
279}