Skip to content

Commit 03f37da

Browse files
Laxmikant ChintakindiLaxmikant Chintakindi
Laxmikant Chintakindi
authored and
Laxmikant Chintakindi
committed
Feat(eos_designs): Add static_routes data model under svis
1 parent 26836d9 commit 03f37da

File tree

24 files changed

+222
-0
lines changed

24 files changed

+222
-0
lines changed

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/DC1-BL1A.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ ipv6 unicast-routing vrf TENANT_D_WAN_ZONE
314314
!
315315
ip route vrf MGMT 0.0.0.0/0 192.168.200.5
316316
ip route vrf Tenant_A_WAN_Zone 10.3.4.0/24 1.2.3.4
317+
ip route vrf Tenant_A_WAN_Zone 10.3.4.0/24 10.1.40.1 name SVI_static_route
317318
!
318319
route-map RM-CONN-2-BGP permit 10
319320
match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/DC1-BL1B.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ ipv6 unicast-routing vrf TENANT_D_WAN_ZONE
282282
!
283283
ip route vrf MGMT 0.0.0.0/0 192.168.200.5
284284
ip route vrf Tenant_A_WAN_Zone 10.3.4.0/24 1.2.3.4
285+
ip route vrf Tenant_A_WAN_Zone 10.3.4.0/24 10.1.40.1 name SVI_static_route
285286
!
286287
route-map RM-CONN-2-BGP permit 10
287288
match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/DC1-BL2A.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY
182182
ipv6 unicast-routing vrf TENANT_D_WAN_ZONE
183183
!
184184
ip route vrf MGMT 0.0.0.0/0 192.168.200.5
185+
ip route vrf Tenant_A_WAN_Zone 10.3.4.0/24 10.1.40.1 name SVI_static_route
185186
!
186187
ntp local-interface vrf MGMT Management1
187188
ntp server vrf MGMT 192.168.200.5 prefer

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/DC1-BL2B.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY
180180
ipv6 unicast-routing vrf TENANT_D_WAN_ZONE
181181
!
182182
ip route vrf MGMT 0.0.0.0/0 192.168.200.5
183+
ip route vrf Tenant_A_WAN_Zone 10.3.4.0/24 10.1.40.1 name SVI_static_route
183184
!
184185
ntp local-interface vrf MGMT Management1
185186
ntp server vrf MGMT 192.168.200.5 prefer

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/DC1-SVC3A.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,7 @@ mlag configuration
946946
reload-delay non-mlag 330
947947
!
948948
ip route vrf MGMT 0.0.0.0/0 192.168.200.5
949+
ip route vrf Tenant_A_WAN_Zone 10.3.4.0/24 10.1.40.1 name SVI_static_route
949950
!
950951
ntp local-interface vrf MGMT Management1
951952
ntp server vrf MGMT 192.168.200.5 prefer

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/DC1-SVC3B.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,7 @@ mlag configuration
910910
reload-delay non-mlag 330
911911
!
912912
ip route vrf MGMT 0.0.0.0/0 192.168.200.5
913+
ip route vrf Tenant_A_WAN_Zone 10.3.4.0/24 10.1.40.1 name SVI_static_route
913914
!
914915
ntp local-interface vrf MGMT Management1
915916
ntp server vrf MGMT 192.168.200.5 prefer

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/DC1_UNDEPLOYED_LEAF1A.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ mlag configuration
510510
reload-delay non-mlag 1020
511511
!
512512
ip route vrf MGMT 0.0.0.0/0 192.168.200.5
513+
ip route vrf Tenant_A_WAN_Zone 10.3.4.0/24 10.1.40.1 name SVI_static_route
513514
!
514515
ntp local-interface vrf MGMT Management42
515516
ntp server vrf MGMT 192.168.200.5 prefer

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/DC1_UNDEPLOYED_LEAF1B.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ mlag configuration
510510
reload-delay non-mlag 1020
511511
!
512512
ip route vrf MGMT 0.0.0.0/0 192.168.200.5
513+
ip route vrf Tenant_A_WAN_Zone 10.3.4.0/24 10.1.40.1 name SVI_static_route
513514
!
514515
ntp local-interface vrf MGMT Management42
515516
ntp server vrf MGMT 192.168.200.5 prefer

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/evpn_services_l2_only_false.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ ipv6 unicast-routing vrf Tenant_D_OP_Zone
506506
ipv6 unicast-routing vrf TENANT_D_WAN_ZONE
507507
!
508508
ip route vrf MGMT 0.0.0.0/0 192.168.200.5
509+
ip route vrf Tenant_A_WAN_Zone 10.3.4.0/24 10.1.40.1 name SVI_static_route
509510
ip route vrf Tenant_D_OP_Zone 10.3.11.0/24 Vlan411 name VARP
510511
!
511512
ntp local-interface vrf MGMT Management1

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/DC1-BL1A.yml

+4
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,10 @@ static_routes:
687687
- vrf: Tenant_A_WAN_Zone
688688
destination_address_prefix: 10.3.4.0/24
689689
gateway: 1.2.3.4
690+
- vrf: Tenant_A_WAN_Zone
691+
destination_address_prefix: 10.3.4.0/24
692+
gateway: 10.1.40.1
693+
name: SVI_static_route
690694
tcam_profile:
691695
system: vxlan-routing
692696
transceiver_qsfp_default_mode_4x10: true

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/DC1-BL1B.yml

+4
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,10 @@ static_routes:
640640
- vrf: Tenant_A_WAN_Zone
641641
destination_address_prefix: 10.3.4.0/24
642642
gateway: 1.2.3.4
643+
- vrf: Tenant_A_WAN_Zone
644+
destination_address_prefix: 10.3.4.0/24
645+
gateway: 10.1.40.1
646+
name: SVI_static_route
643647
tcam_profile:
644648
system: vxlan-routing
645649
transceiver_qsfp_default_mode_4x10: true

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/DC1-BL2A.yml

+4
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,10 @@ static_routes:
463463
- vrf: MGMT
464464
destination_address_prefix: 0.0.0.0/0
465465
gateway: 192.168.200.5
466+
- vrf: Tenant_A_WAN_Zone
467+
destination_address_prefix: 10.3.4.0/24
468+
gateway: 10.1.40.1
469+
name: SVI_static_route
466470
tcam_profile:
467471
system: vxlan-routing
468472
transceiver_qsfp_default_mode_4x10: true

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/DC1-BL2B.yml

+4
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,10 @@ static_routes:
465465
- vrf: MGMT
466466
destination_address_prefix: 0.0.0.0/0
467467
gateway: 192.168.200.5
468+
- vrf: Tenant_A_WAN_Zone
469+
destination_address_prefix: 10.3.4.0/24
470+
gateway: 10.1.40.1
471+
name: SVI_static_route
468472
tcam_profile:
469473
system: vxlan-routing
470474
transceiver_qsfp_default_mode_4x10: true

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/DC1-SVC3A.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,10 @@ static_routes:
13301330
- vrf: MGMT
13311331
destination_address_prefix: 0.0.0.0/0
13321332
gateway: 192.168.200.5
1333+
- vrf: Tenant_A_WAN_Zone
1334+
destination_address_prefix: 10.3.4.0/24
1335+
gateway: 10.1.40.1
1336+
name: SVI_static_route
13331337
transceiver_qsfp_default_mode_4x10: true
13341338
virtual_source_nat_vrfs:
13351339
- name: Tenant_A_OP_Zone

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/DC1-SVC3B.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1276,6 +1276,10 @@ static_routes:
12761276
- vrf: MGMT
12771277
destination_address_prefix: 0.0.0.0/0
12781278
gateway: 192.168.200.5
1279+
- vrf: Tenant_A_WAN_Zone
1280+
destination_address_prefix: 10.3.4.0/24
1281+
gateway: 10.1.40.1
1282+
name: SVI_static_route
12791283
transceiver_qsfp_default_mode_4x10: true
12801284
virtual_source_nat_vrfs:
12811285
- name: Tenant_A_OP_Zone

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/DC1_UNDEPLOYED_LEAF1A.yml

+4
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,10 @@ static_routes:
654654
- vrf: MGMT
655655
destination_address_prefix: 0.0.0.0/0
656656
gateway: 192.168.200.5
657+
- vrf: Tenant_A_WAN_Zone
658+
destination_address_prefix: 10.3.4.0/24
659+
gateway: 10.1.40.1
660+
name: SVI_static_route
657661
tcam_profile:
658662
system: vxlan-routing
659663
transceiver_qsfp_default_mode_4x10: true

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/DC1_UNDEPLOYED_LEAF1B.yml

+4
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,10 @@ static_routes:
654654
- vrf: MGMT
655655
destination_address_prefix: 0.0.0.0/0
656656
gateway: 192.168.200.5
657+
- vrf: Tenant_A_WAN_Zone
658+
destination_address_prefix: 10.3.4.0/24
659+
gateway: 10.1.40.1
660+
name: SVI_static_route
657661
tcam_profile:
658662
system: vxlan-routing
659663
transceiver_qsfp_default_mode_4x10: true

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/evpn_services_l2_only_false.yml

+4
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,10 @@ static_routes:
544544
- vrf: MGMT
545545
destination_address_prefix: 0.0.0.0/0
546546
gateway: 192.168.200.5
547+
- vrf: Tenant_A_WAN_Zone
548+
destination_address_prefix: 10.3.4.0/24
549+
gateway: 10.1.40.1
550+
name: SVI_static_route
547551
- vrf: Tenant_D_OP_Zone
548552
destination_address_prefix: 10.3.11.0/24
549553
interface: Vlan411

ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/DC1_TENANTS_NETWORKS/Tenant_A.yml

+4
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ tenant_a:
231231
cost: 100
232232
authentication: simple
233233
simple_auth_key: "AQQvKeimxJu+uGQ/yYvv9w=="
234+
static_routes:
235+
- destination_address_prefix: 10.3.4.0/24
236+
gateway: 10.1.40.1
237+
name: SVI_static_route
234238
- id: 151
235239
name: svi_with_no_tags
236240
enabled: true

ansible_collections/arista/avd/roles/eos_designs/docs/tables/network-services-vrfs-svis-settings.md

+26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python-avd/pyavd/_eos_designs/schema/__init__.py

+68
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python-avd/pyavd/_eos_designs/schema/eos_designs.schema.yml

+37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)