-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test(eos_designs): Create eos_designs deprecated vars molecule unit t…
…est (#3076) Co-authored-by: Shivani-chourasiya <[email protected]>
- Loading branch information
1 parent
bee77de
commit 134406c
Showing
21 changed files
with
429 additions
and
90 deletions.
There are no files selected for viewing
28 changes: 0 additions & 28 deletions
28
...ions/arista/avd/molecule/eos_designs_deprecated_vars/intended/configs/cvp_instance_ip.cfg
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 79 additions & 0 deletions
79
...le_collections/arista/avd/molecule/eos_designs_deprecated_vars/intended/configs/host2.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
!RANCID-CONTENT-TYPE: arista | ||
! | ||
vlan internal order ascending range 1006 1199 | ||
! | ||
transceiver qsfp default-mode 4x10G | ||
! | ||
service routing protocols model multi-agent | ||
! | ||
hostname host2 | ||
! | ||
no enable password | ||
no aaa root | ||
! | ||
vlan 111 | ||
name Tenant_A_OP_Zone_2 | ||
! | ||
vlan 160 | ||
name Tenant_A_VMOTION | ||
! | ||
vrf instance MGMT | ||
! | ||
vrf instance TENANT_B_WAN | ||
! | ||
interface Loopback0 | ||
description MPLS_Overlay_peering | ||
no shutdown | ||
ip address 10.42.0.102/32 | ||
! | ||
interface Vlan111 | ||
description Tenant_A_OP_Zone_2 | ||
no shutdown | ||
vrf TENANT_B_WAN | ||
ip helper-address 1.1.1.1 vrf MGMT source-interface lo100 | ||
! | ||
ip routing | ||
no ip routing vrf MGMT | ||
ip routing vrf TENANT_B_WAN | ||
! | ||
ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY | ||
seq 10 permit 10.42.0.0/24 eq 32 | ||
! | ||
route-map RM-CONN-2-BGP permit 10 | ||
match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | ||
! | ||
router bfd | ||
multihop interval 300 min-rx 300 multiplier 3 | ||
! | ||
router bgp 102 | ||
router-id 10.42.0.102 | ||
maximum-paths 4 ecmp 4 | ||
update wait-install | ||
no bgp default ipv4-unicast | ||
neighbor IPv4-UNDERLAY-PEERS peer group | ||
neighbor IPv4-UNDERLAY-PEERS send-community | ||
neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 | ||
neighbor MPLS-OVERLAY-PEERS peer group | ||
neighbor MPLS-OVERLAY-PEERS remote-as 102 | ||
neighbor MPLS-OVERLAY-PEERS update-source Loopback0 | ||
neighbor MPLS-OVERLAY-PEERS bfd | ||
neighbor MPLS-OVERLAY-PEERS send-community | ||
neighbor MPLS-OVERLAY-PEERS maximum-routes 0 | ||
redistribute connected route-map RM-CONN-2-BGP | ||
! | ||
address-family evpn | ||
neighbor default encapsulation mpls | ||
neighbor MPLS-OVERLAY-PEERS activate | ||
! | ||
address-family ipv4 | ||
neighbor IPv4-UNDERLAY-PEERS activate | ||
no neighbor MPLS-OVERLAY-PEERS activate | ||
! | ||
management api http-commands | ||
protocol https | ||
no shutdown | ||
! | ||
vrf MGMT | ||
no shutdown | ||
! | ||
end |
28 changes: 0 additions & 28 deletions
28
.../avd/molecule/eos_designs_deprecated_vars/intended/structured_configs/cvp_instance_ip.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 99 additions & 0 deletions
99
...ons/arista/avd/molecule/eos_designs_deprecated_vars/intended/structured_configs/host2.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
hostname: host2 | ||
router_bgp: | ||
as: '102' | ||
router_id: 10.42.0.102 | ||
bgp: | ||
default: | ||
ipv4_unicast: false | ||
maximum_paths: | ||
paths: 4 | ||
ecmp: 4 | ||
updates: | ||
wait_install: true | ||
peer_groups: | ||
- name: IPv4-UNDERLAY-PEERS | ||
type: ipv4 | ||
maximum_routes: 12000 | ||
send_community: all | ||
- name: MPLS-OVERLAY-PEERS | ||
type: mpls | ||
update_source: Loopback0 | ||
bfd: true | ||
send_community: all | ||
maximum_routes: 0 | ||
remote_as: '102' | ||
address_family_ipv4: | ||
peer_groups: | ||
- name: IPv4-UNDERLAY-PEERS | ||
activate: true | ||
- name: MPLS-OVERLAY-PEERS | ||
activate: false | ||
redistribute_routes: | ||
- source_protocol: connected | ||
route_map: RM-CONN-2-BGP | ||
address_family_evpn: | ||
neighbor_default: | ||
encapsulation: mpls | ||
peer_groups: | ||
- name: MPLS-OVERLAY-PEERS | ||
activate: true | ||
service_routing_protocols_model: multi-agent | ||
ip_routing: true | ||
vlan_internal_order: | ||
allocation: ascending | ||
range: | ||
beginning: 1006 | ||
ending: 1199 | ||
vrfs: | ||
- name: MGMT | ||
ip_routing: false | ||
- name: TENANT_B_WAN | ||
tenant: TENANT_B | ||
ip_routing: true | ||
management_api_http: | ||
enable_vrfs: | ||
- name: MGMT | ||
enable_https: true | ||
loopback_interfaces: | ||
- name: Loopback0 | ||
description: MPLS_Overlay_peering | ||
shutdown: false | ||
ip_address: 10.42.0.102/32 | ||
prefix_lists: | ||
- name: PL-LOOPBACKS-EVPN-OVERLAY | ||
sequence_numbers: | ||
- sequence: 10 | ||
action: permit 10.42.0.0/24 eq 32 | ||
route_maps: | ||
- name: RM-CONN-2-BGP | ||
sequence_numbers: | ||
- sequence: 10 | ||
type: permit | ||
match: | ||
- ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | ||
router_bfd: | ||
multihop: | ||
interval: 300 | ||
min_rx: 300 | ||
multiplier: 3 | ||
vlans: | ||
- id: 111 | ||
name: Tenant_A_OP_Zone_2 | ||
tenant: TENANT_B | ||
- id: 160 | ||
name: Tenant_A_VMOTION | ||
tenant: TENANT_B | ||
ip_igmp_snooping: | ||
globally_enabled: true | ||
vlan_interfaces: | ||
- name: Vlan111 | ||
tenant: TENANT_B | ||
tags: | ||
- opzone | ||
description: Tenant_A_OP_Zone_2 | ||
shutdown: false | ||
vrf: TENANT_B_WAN | ||
ip_helpers: | ||
- ip_helper: 1.1.1.1 | ||
source_interface: lo100 | ||
vrf: MGMT |
3 changes: 0 additions & 3 deletions
3
...molecule/eos_designs_deprecated_vars/inventory/group_vars/EOS_DESIGNS_DEPRECATED_VARS.yml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.