blob: 912f54b48b295626444141a980157e45eff4d486 [file] [log] [blame]
Luca Prete3d402dc2016-12-13 16:25:03 -08001{
2 "devices":{
3 "of:0000000000000001":{
4 "basic":{
5 "name":"S1",
6 "latitude":39.739317,
7 "longitude":-104.983791
8 }
9 },
10 "of:0000000000000002":{
11 "basic":{
12 "name":"S2",
13 "latitude":39.769089,
14 "longitude":-86.158039
15 }
16 },
17 "of:0000000000000003":{
18 "basic":{
19 "name":"S3",
20 "latitude":35.116541,
21 "longitude":-106.604146
22 }
23 },
24 "of:0000000000000004":{
25 "basic":{
26 "name":"S4",
27 "latitude":32.779501,
28 "longitude":-96.801104
29 }
30 },
31 "of:0000000000000005":{
32 "basic":{
33 "name":"S5",
34 "latitude":45.522585,
35 "longitude":-122.677890
36 }
37 },
38 "of:0000000000000006":{
39 "basic":{
40 "name":"S6",
41 "latitude":37.785286,
42 "longitude":-122.406509
43 }
44 },
45 "of:0000000000000007":{
46 "basic":{
47 "name":"S7",
48 "latitude":34.055604,
49 "longitude":-118.248567
50 }
51 },
52 "of:0000000000000008":{
53 "basic":{
54 "name":"S8",
55 "latitude":40.769487,
56 "longitude":-73.972520
57 }
58 },
59 "of:0000000000000009":{
60 "basic":{
61 "name":"S9",
62 "latitude":38.897676,
63 "longitude":-77.036525
64 }
65 },
66 "of:000000000000000A":{
67 "basic":{
68 "name":"S10",
69 "latitude":33.756298,
70 "longitude":-84.388507
71 }
72 }
73 },
74 "hosts":{
75 "00:00:00:00:00:01/-1":{
76 "basic":{
77 "location":"of:0000000000000001/7",
78 "uiType":"bgpSpeaker",
79 "latitude":42.8498743,
80 "longitude":-106.3598992,
81 "ips":[
82 "10.0.1.2",
83 "10.0.3.2",
84 "10.1.7.2"
85 ]
86 }
87 },
88 "00:00:00:00:00:02/-1":{
89 "basic":{
90 "location":"of:0000000000000001/8",
91 "uiType":"bgpSpeaker",
92 "latitude":42.8498743,
93 "longitude":-103.2984284,
94 "ips":[
95 "10.0.4.2",
96 "10.0.5.2"
97 ]
98 }
99 },
100 "00:00:00:00:00:03/-1":{
101 "basic":{
102 "location":"of:0000000000000001/9",
103 "uiType":"bgpSpeaker",
104 "latitude":41.1330594,
105 "longitude":-102.986907,
106 "ips":[
107 "10.0.2.2",
108 "10.0.6.2",
109 "10.1.8.2"
110 ]
111 }
112 },
113 "00:00:01:00:01:01/-1":{
114 "basic":{
115 "location":"of:0000000000000005/4",
116 "uiType":"router",
117 "latitude":42.512684,
118 "longitude":-126.4902853,
119 "ips":[
120 "10.0.1.1"
121 ]
122 }
123 },
124 "00:00:01:00:01:02/-1":{
125 "basic":{
126 "location":"of:0000000000000006/4",
127 "uiType":"router",
128 "latitude":41.3851357,
129 "longitude":-126.4902853,
130 "ips":[
131 "10.0.2.1"
132 ]
133 }
134 },
135 "00:00:02:00:01:01/-1":{
136 "basic":{
137 "location":"of:0000000000000007/4",
138 "uiType":"router",
139 "latitude":30.8457906,
140 "longitude":-121.354880,
141 "ips":[
142 "10.0.3.1",
143 "10.0.4.1"
144 ]
145 }
146 },
147 "00:00:03:00:01:01/-1":{
148 "basic":{
149 "location":"of:0000000000000008/4",
150 "uiType":"router",
151 "latitude":40.6976637,
152 "longitude":-69.976271,
153 "ips":[
154 "10.0.5.1",
155 "10.0.6.1"
156 ]
157 }
158 },
159 "00:00:04:00:01:01/-1":{
160 "basic":{
161 "location":"of:0000000000000009/4",
162 "uiType":"router",
163 "latitude":39.368502,
164 "longitude":-69.976271,
165 "ips":[
166 "10.0.7.1"
167 ]
168 }
169 },
170 "00:00:04:00:02:01/-1":{
171 "basic":{
172 "location":"of:000000000000000A/4",
173 "uiType":"router",
174 "latitude":30.8457906,
175 "longitude":-83.3532616,
176 "ips":[
177 "10.0.8.1"
178 ]
179 }
180 }
181 },
182 "ports":{
183 "of:0000000000000005/4":{
184 "interfaces":[
185 {
186 "name":"sw5-4",
187 "ips":[
188 "10.0.1.2/24"
189 ],
190 "mac":"00:00:00:00:00:01"
191 }
192 ]
193 },
194 "of:0000000000000006/4":{
195 "interfaces":[
196 {
197 "name":"sw6-4",
198 "ips":[
199 "10.0.2.2/24"
200 ],
201 "mac":"00:00:00:00:00:03"
202 }
203 ]
204 },
205 "of:0000000000000007/4":{
206 "interfaces":[
207 {
208 "name":"sw7-4",
209 "ips":[
210 "10.0.3.2/24"
211 ],
212 "mac":"00:00:00:00:00:01"
213 },
214 {
215 "name":"sw7-42",
216 "ips":[
217 "10.0.4.2/24"
218 ],
219 "mac":"00:00:00:00:00:02"
220 }
221 ]
222 },
223 "of:0000000000000008/4":{
224 "interfaces":[
225 {
226 "name":"sw8-4",
227 "ips":[
228 "10.0.5.2/24"
229 ],
230 "mac":"00:00:00:00:00:02"
231 },
232 {
233 "name":"sw8-42",
234 "ips":[
235 "10.0.6.2/24"
236 ],
237 "mac":"00:00:00:00:00:03"
238 }
239 ]
240 },
241 "of:0000000000000009/4":{
242 "interfaces":[
243 {
244 "name":"sw9-4",
245 "ips":[
246 "10.0.7.2/24"
247 ],
248 "mac":"00:00:00:00:00:01"
249 }
250 ]
251 },
252 "of:000000000000000A/4":{
253 "interfaces":[
254 {
255 "name":"sw10-4",
256 "ips":[
257 "10.0.8.2/24"
258 ],
259 "mac":"00:00:00:00:00:03"
260 }
261 ]
262 }
263 },
264 "apps":{
265 "org.onosproject.router":{
266 "bgp":{
267 "bgpSpeakers":[
268 {
269 "name":"speaker1",
270 "connectPoint":"of:0000000000000001/7",
271 "peers":[
272 "10.0.1.1",
273 "10.0.3.1",
274 "10.0.7.1"
275 ]
276 },
277 {
278 "connectPoint":"of:0000000000000001/8",
279 "peers":[
280 "10.0.4.1",
281 "10.0.5.1"
282 ]
283 },
284 {
285 "connectPoint":"of:0000000000000001/9",
286 "peers":[
287 "10.0.2.1",
288 "10.0.6.1",
289 "10.0.8.1"
290 ]
291 }
292 ]
293 }
294 }
295 }
296}