Debian Codegraph @

ansible_collections/cisco/mso/tests/integration/targets/mso_site/tasks/connectivity.j2

raw
1 {
2 "siteGroup": {
3 "name": "default",
4 "common": {
5 "peeringType": "full-mesh",
6 "ttl": 16,
7 "keepAliveInterval": 60,
8 "holdInterval": 180,
9 "staleInterval": 300,
10 "gracefulRestartEnabled": true,
11 "maxAsLimit": 0,
12 "externalSubnetPools": [
13 "169.254.0.0/16",
14 "10.104.0.0/16",
15 "20.253.0.0/16"
16 ]
17 },
18 "dcnm": {
19 "l2VniRange": "130000-149000",
20 "l3VniRange": "150000-159000",
21 "msiteAnycastTepPool": "10.10.0.0/24",
22 "msiteAnycastMac": "2020.0000.00aa",
23 "routeTargetPrefix": 23456,
24 "peeringType": ""
25 },
26 "apic": {
27 "gracefulRestartEnabled": false,
28 "ipns": [
29 {
30 "name": "test",
31 "ip": "2.2.2.2"
32 }
33 ],
34 "cloudsecUdpPortCtrl": false
35 },
36 "capic": {
37 "ospfAreaID": "0.0.0.0"
38 },
39 "externalDevices": {}
40 },
41 "sites": [
42 {
43 "id": "{{ site_dict.azure_ansible_test.id }}",
44 "siteId": "{{ azure_site_id }}",
45 "siteGroupId": "{{ site_dict.azure_ansible_test.site_group_id }}",
46 "siteType": "CloudApic",
47 "bgpAsn": 64701,
48 "msiteEnabled": true,
49 "health": {},
50 "apic": {
51 "srgbRange": {}
52 },
53 "dcnm": {
54 "fabricType": ""
55 },
56 "capic": {
57 "regions": [
58 {
59 "name": "westus",
60 "cloudRouters": [
61 {
62 "name": "ct_routerp_westus_1",
63 "routerType": "CSR",
64 "msiteControlPlaneTep": "10.253.254.116/28",
65 "bgpPeeringEnabled": true,
66 "routeReflectorEnabled": false
67 },
68 {
69 "name": "ct_routerp_westus_0",
70 "routerType": "CSR",
71 "bgpPeeringEnabled": true,
72 "routeReflectorEnabled": false
73 }
74 ],
75 "cApicDeployed": true
76 },
77 {
78 "name": "westus2",
79 "cloudRouters": [
80 {
81 "name": "ct_routerp_westus2_0",
82 "routerType": "CSR",
83 "bgpPeeringEnabled": true,
84 "routeReflectorEnabled": false
85 },
86 {
87 "name": "ct_routerp_westus2_1",
88 "routerType": "CSR",
89 "bgpPeeringEnabled": true,
90 "routeReflectorEnabled": false
91 }
92 ]
93 }
94 ]
95 },
96 "status": {
97 "state": "success"
98 },
99 "deployed": true
100 },
101 {
102 "id": "{{ site_dict.aws_ansible_test.id }}",
103 "siteId": "{{ aws_site_id }}",
104 "siteGroupId": "{{ site_dict.aws_ansible_test.site_group_id }}",
105 "siteType": "CloudApic",
106 "bgpAsn": 200,
107 "msiteEnabled": true,
108 "health": {},
109 "apic": {
110 "srgbRange": {}
111 },
112 "dcnm": {
113 "fabricType": ""
114 },
115 "capic": {
116 "regions": [
117 {
118 "name": "us-west-1",
119 "cloudRouters": [],
120 "cApicDeployed": true
121 },
122 {
123 "name": "us-east-1",
124 "cloudRouters": []
125 },
126 {
127 "name": "us-east-2",
128 "cloudRouters": []
129 },
130 {
131 "name": "us-west-2",
132 "cloudRouters": []
133 }
134 ]
135 },
136 "status": {
137 "state": "success"
138 },
139 "deployed": true
140 },
141 {
142 "id": "{{ site_dict.ansible_test.id }}",
143 "siteId": "{{ apic_site_id }}",
144 "siteGroupId": "{{ site_dict.ansible_test.site_group_id }}",
145 "siteType": "Apic",
146 "bgpAsn": 100,
147 "msiteEnabled": true,
148 "ospfAreaID": "0.0.0.1",
149 "ospfAreaType": "nssa",
150 "ospfPolicies": [
151 {
152 "name": "default",
153 "networkType": "broadcast",
154 "priority": 1,
155 "interfaceCost": 0,
156 "interfaceControls": [],
157 "helloInterval": 10,
158 "deadInterval": 40,
159 "retransmitInterval": 5,
160 "transmitDelay": 1
161 },
162 {
163 "name": "msc-ospf-policy-default",
164 "networkType": "point-to-point",
165 "priority": 1,
166 "interfaceCost": 0,
167 "interfaceControls": [],
168 "helloInterval": 10,
169 "deadInterval": 40,
170 "retransmitInterval": 5,
171 "transmitDelay": 1
172 },
173 {
174 "name": "common/default",
175 "networkType": "unspecified",
176 "priority": 1,
177 "interfaceCost": 0,
178 "interfaceControls": [],
179 "helloInterval": 10,
180 "deadInterval": 40,
181 "retransmitInterval": 5,
182 "transmitDelay": 1
183 }
184 ],
185 "health": {},
186 "apic": {
187 "fabricID": 1,
188 "dpMcTep": "1.1.1.2",
189 "extRoutedDom": "uni/l3dom-L3out_Dom",
190 "srgbRange": {},
191 "pods": [
192 {
193 "podId": 1,
194 "name": "pod-1",
195 "msiteDataPlaneUnicastTep": "1.1.1.1",
196 "spines": [
197 {
198 "nodeId": 201,
199 "name": "lh-dmz1-spine201",
200 "ports": [
201 {
202 "portId": "1/5",
203 "ipAddress": "10.1.0.202/12",
204 "mtu": "inherit",
205 "routingPolicy": "default",
206 "ospfAuthType": "none",
207 "ospfAuthKeyId": 1,
208 "bgpPeer": {
209 "ttl": 1,
210 "adminStateEnabled": false
211 }
212 }
213 ],
214 "bgpPeeringEnabled": true,
215 "msiteControlPlaneTep": "1.2.2.2",
216 "routeReflectorEnabled": false,
217 "health": {}
218 }
219 ],
220 "msiteDataPlaneRoutableTEPPools": [
221 {
222 "pool": "192.168.1.0/24",
223 "reserveAddressCount": 2
224 }
225 ],
226 "health": {},
227 "podFabricTepPools": [
228 {
229 "pool": "10.0.0.0/16"
230 }
231 ]
232 }
233 ]
234 },
235 "dcnm": {
236 "fabricType": ""
237 },
238 "capic": {},
239 "status": {
240 "state": "success"
241 },
242 "deployed": true
243 }
244 ],
245 "sitesUc": [
246 {
247 "id": "{{ site_dict.azure_ansible_test.id }}",
248 "siteId": "{{ azure_site_id }}",
249 "siteType": "CloudApic",
250 "apic": {},
251 "capic": {
252 "provider": "Azure",
253 "accountID": "85ca999d-c9c7-484b-82b8-6854bc1e2af5",
254 "regions": [
255 {
256 "regionName": "westus",
257 "cloudProviderID": "/subscriptions/85ca999d-c9c7-484b-82b8-6854bc1e2af5/resourceGroups/cAPIC-02/providers/Microsoft.Network/virtualNetworks/overlay-1",
258 "cidrs": [
259 "10.253.253.128/25",
260 "10.253.253.0/25",
261 "10.253.254.0/25"
262 ]
263 },
264 {
265 "regionName": "westus2",
266 "cloudProviderID": "/subscriptions/85ca999d-c9c7-484b-82b8-6854bc1e2af5/resourceGroups/CAPIC_infra_overlay-1_westus2/providers/Microsoft.Network/virtualNetworks/overlay-1",
267 "cidrs": [
268 "10.253.255.0/25",
269 "10.253.255.128/25",
270 "10.253.254.128/25"
271 ]
272 }
273 ]
274 },
275 "dcnm": {},
276 "remoteSites": [
277 {
278 "remoteType": "",
279 "id": "{{ site_dict.aws_ansible_test.id }}",
280 "siteId": "{{ aws_site_id }}",
281 "siteType": "CloudApic",
282 "connections": [
283 {
284 "priority": 0,
285 "connectionType": "Public",
286 "ipsec": true,
287 "ikev": "ikev2",
288 "protocol": "BgpEvpn",
289 "nonEvpnConfig": {},
290 "bfdConfig": {
291 "name": "default"
292 },
293 "tunnels": [
294 {
295 "ikev": "ikev2",
296 "bgpPeer": {
297 "asn": ""
298 }
299 }
300 ]
301 }
302 ]
303 },
304 {
305 "remoteType": "",
306 "id": "{{ site_dict.ansible_test.id }}",
307 "siteId": "{{ apic_site_id }}",
308 "siteType": "Apic",
309 "connections": [
310 {
311 "priority": 0,
312 "connectionType": "Public",
313 "ipsec": true,
314 "ikev": "ikev2",
315 "protocol": "BgpEvpn",
316 "nonEvpnConfig": {},
317 "bfdConfig": {
318 "name": "default"
319 },
320 "tunnels": [
321 {
322 "ikev": "ikev2",
323 "bgpPeer": {
324 "asn": ""
325 }
326 }
327 ]
328 }
329 ]
330 }
331 ],
332 "status": {
333 "state": "success"
334 },
335 "ecStatus": {
336 "state": "success"
337 }
338 },
339 {
340 "id": "{{ site_dict.aws_ansible_test.id }}",
341 "siteId": "{{ aws_site_id }}",
342 "siteType": "CloudApic",
343 "apic": {},
344 "capic": {
345 "provider": "Aws",
346 "accountID": "787820171958",
347 "regions": [
348 {
349 "regionName": "us-west-1",
350 "cloudProviderID": "vpc-01d3ce3ef88c18087",
351 "cloudDirectoryID": "787820171958",
352 "cidrs": [
353 "10.10.0.0/25"
354 ]
355 }
356 ]
357 },
358 "dcnm": {},
359 "remoteSites": [
360 {
361 "remoteType": "",
362 "id": "{{ site_dict.azure_ansible_test.id }}",
363 "siteId": "{{ azure_site_id }}",
364 "siteType": "CloudApic",
365 "connections": [
366 {
367 "priority": 0,
368 "connectionType": "Public",
369 "ipsec": true,
370 "ikev": "ikev2",
371 "protocol": "BgpEvpn",
372 "nonEvpnConfig": {},
373 "bfdConfig": {
374 "name": "default"
375 },
376 "tunnels": [
377 {
378 "ikev": "ikev2",
379 "bgpPeer": {
380 "asn": ""
381 }
382 }
383 ]
384 }
385 ]
386 },
387 {
388 "remoteType": "",
389 "id": "{{ site_dict.ansible_test.id }}",
390 "siteId": "{{ apic_site_id }}",
391 "siteType": "Apic",
392 "connections": [
393 {
394 "priority": 0,
395 "connectionType": "Public",
396 "ipsec": true,
397 "ikev": "ikev2",
398 "protocol": "BgpEvpn",
399 "nonEvpnConfig": {},
400 "bfdConfig": {
401 "name": "default"
402 },
403 "tunnels": [
404 {
405 "ikev": "ikev2",
406 "bgpPeer": {
407 "asn": ""
408 }
409 }
410 ]
411 }
412 ]
413 }
414 ],
415 "status": {
416 "state": "success"
417 },
418 "ecStatus": {
419 "state": "success"
420 }
421 },
422 {
423 "id": "{{ site_dict.ansible_test.id }}",
424 "siteId": "{{ apic_site_id }}",
425 "siteType": "Apic",
426 "apic": {},
427 "capic": {},
428 "dcnm": {},
429 "remoteSites": [
430 {
431 "remoteType": "",
432 "id": "{{ site_dict.azure_ansible_test.id }}",
433 "siteId": "{{ azure_site_id }}",
434 "siteType": "CloudApic",
435 "connections": [
436 {
437 "priority": 0,
438 "connectionType": "Public",
439 "ipsec": true,
440 "ikev": "ikev2",
441 "protocol": "BgpEvpn",
442 "nonEvpnConfig": {},
443 "bfdConfig": {
444 "name": "default"
445 },
446 "tunnels": [
447 {
448 "ikev": "ikev2",
449 "bgpPeer": {
450 "asn": ""
451 }
452 }
453 ]
454 }
455 ]
456 },
457 {
458 "remoteType": "",
459 "id": "{{ site_dict.aws_ansible_test.id }}",
460 "siteId": "{{ aws_site_id }}",
461 "siteType": "CloudApic",
462 "connections": [
463 {
464 "priority": 0,
465 "connectionType": "Public",
466 "ipsec": true,
467 "ikev": "ikev2",
468 "protocol": "BgpEvpn",
469 "nonEvpnConfig": {},
470 "bfdConfig": {
471 "name": "default"
472 },
473 "tunnels": [
474 {
475 "ikev": "ikev2",
476 "bgpPeer": {
477 "asn": ""
478 }
479 }
480 ]
481 }
482 ]
483 }
484 ],
485 "status": {},
486 "ecStatus": {}
487 }
488 ]
489 }