Skip to content

Commit

Permalink
Fix(eos_validate_state): ANTA Remove the use of the eos_design's "typ…
Browse files Browse the repository at this point in the history
…e" variable (aristanetworks#3870)
  • Loading branch information
carl-baillargeon authored Apr 24, 2024
1 parent 479f6e8 commit f9dc4a0
Show file tree
Hide file tree
Showing 42 changed files with 10,374 additions and 4,503 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ router_bgp:
remote_as: '65102'
peer: dc1-leaf2b
description: dc1-leaf2b_Ethernet1
- ip_address: 10.33.255.17
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65133'
peer: dc1-svc-leaf1a
description: dc1-svc-leaf1a_Ethernet1
- ip_address: 10.33.255.21
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65133'
peer: dc1-svc-leaf1b
description: dc1-svc-leaf1b_Ethernet1
- ip_address: 10.255.0.3
peer_group: EVPN-OVERLAY-PEERS
peer: dc1-leaf1a
Expand All @@ -79,6 +89,16 @@ router_bgp:
peer: dc1-leaf2b
description: dc1-leaf2b
remote_as: '65102'
- ip_address: 10.33.0.5
peer_group: EVPN-OVERLAY-PEERS
peer: dc1-svc-leaf1a
description: dc1-svc-leaf1a
remote_as: '65133'
- ip_address: 10.33.0.6
peer_group: EVPN-OVERLAY-PEERS
peer: dc1-svc-leaf1b
description: dc1-svc-leaf1b
remote_as: '65133'
- ip_address: 123.1.1.10
remote_as: '1234'
password: oBztv71m2uhR7hh58/OCNA==
Expand Down Expand Up @@ -197,6 +217,24 @@ ethernet_interfaces:
mtu: 1500
type: routed
ip_address: 10.255.255.12/31
- name: Ethernet5
peer: dc1-svc-leaf1a
peer_interface: Ethernet1
peer_type: service_leaf
description: P2P_LINK_TO_DC1-SVC-LEAF1A_Ethernet1
shutdown: false
mtu: 1500
type: routed
ip_address: 10.33.255.16/31
- name: Ethernet6
peer: dc1-svc-leaf1b
peer_interface: Ethernet1
peer_type: service_leaf
description: P2P_LINK_TO_DC1-SVC-LEAF1B_Ethernet1
shutdown: false
mtu: 1500
type: routed
ip_address: 10.33.255.20/31
loopback_interfaces:
- name: Loopback0
description: EVPN_Overlay_Peering
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ router_bgp:
remote_as: '65102'
peer: dc1-leaf2b
description: dc1-leaf2b_Ethernet2
- ip_address: 10.33.255.19
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65133'
peer: dc1-svc-leaf1a
description: dc1-svc-leaf1a_Ethernet2
- ip_address: 10.33.255.23
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65133'
peer: dc1-svc-leaf1b
description: dc1-svc-leaf1b_Ethernet2
- ip_address: 10.255.0.3
peer_group: EVPN-OVERLAY-PEERS
peer: dc1-leaf1a
Expand All @@ -85,6 +95,16 @@ router_bgp:
peer: dc1-leaf2b
description: dc1-leaf2b
remote_as: '65102'
- ip_address: 10.33.0.5
peer_group: EVPN-OVERLAY-PEERS
peer: dc1-svc-leaf1a
description: dc1-svc-leaf1a
remote_as: '65133'
- ip_address: 10.33.0.6
peer_group: EVPN-OVERLAY-PEERS
peer: dc1-svc-leaf1b
description: dc1-svc-leaf1b
remote_as: '65133'
- ip_address: 142.112.39.2
peer_group: IPv4-EXTERNAL-PEERS
description: Primary_ISP_IPv4
Expand Down Expand Up @@ -179,6 +199,24 @@ ethernet_interfaces:
mtu: 1500
type: routed
ip_address: 10.255.255.14/31
- name: Ethernet5
peer: dc1-svc-leaf1a
peer_interface: Ethernet2
peer_type: service_leaf
description: P2P_LINK_TO_DC1-SVC-LEAF1A_Ethernet2
shutdown: false
mtu: 1500
type: routed
ip_address: 10.33.255.18/31
- name: Ethernet6
peer: dc1-svc-leaf1b
peer_interface: Ethernet2
peer_type: service_leaf
description: P2P_LINK_TO_DC1-SVC-LEAF1B_Ethernet2
shutdown: false
mtu: 1500
type: routed
ip_address: 10.33.255.22/31
loopback_interfaces:
- name: Loopback0
description: EVPN_Overlay_Peering
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
hostname: dc1-svc-leaf1a
is_deployed: true
router_bgp:
as: '65133'
router_id: 10.33.0.5
bgp:
default:
ipv4_unicast: false
maximum_paths:
paths: 4
ecmp: 4
peer_groups:
- name: MLAG-IPv4-UNDERLAY-PEER
type: ipv4
remote_as: '65133'
next_hop_self: true
description: dc1-svc-leaf1b
password: 4b21pAdCvWeAqpcKDFMdWw==
maximum_routes: 12000
send_community: all
route_map_in: RM-MLAG-PEER-IN
- name: IPv4-UNDERLAY-PEERS
type: ipv4
password: 7x4B4rnJhZB438m9+BrBfQ==
maximum_routes: 12000
send_community: all
- name: EVPN-OVERLAY-PEERS
type: evpn
update_source: Loopback0
bfd: true
password: Q4fqtbqcZ7oQuKfuWtNGRQ==
send_community: all
maximum_routes: 0
ebgp_multihop: 3
address_family_ipv4:
peer_groups:
- name: MLAG-IPv4-UNDERLAY-PEER
activate: true
- name: IPv4-UNDERLAY-PEERS
activate: true
- name: EVPN-OVERLAY-PEERS
activate: false
neighbors:
- ip_address: 10.33.1.105
peer_group: MLAG-IPv4-UNDERLAY-PEER
peer: dc1-svc-leaf1b
description: dc1-svc-leaf1b
- ip_address: 10.33.255.16
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65100'
peer: dc1-spine1
description: dc1-spine1_Ethernet5
- ip_address: 10.33.255.18
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65100'
peer: dc1-spine2
description: dc1-spine2_Ethernet5
- ip_address: 10.255.0.1
peer_group: EVPN-OVERLAY-PEERS
peer: dc1-spine1
description: dc1-spine1
remote_as: '65100'
- ip_address: 10.255.0.2
peer_group: EVPN-OVERLAY-PEERS
peer: dc1-spine2
description: dc1-spine2
remote_as: '65100'
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
address_family_evpn:
peer_groups:
- name: EVPN-OVERLAY-PEERS
activate: true
static_routes:
- vrf: MGMT
destination_address_prefix: 0.0.0.0/0
gateway: 172.16.1.1
service_routing_protocols_model: multi-agent
ip_routing: true
vlan_internal_order:
allocation: ascending
range:
beginning: 1006
ending: 1199
spanning_tree:
mode: mstp
mst_instances:
- id: '0'
priority: 4096
no_spanning_tree_vlan: 4093-4094
local_users:
- name: admin
privilege: 15
role: network-admin
no_password: true
- name: ansible
privilege: 15
role: network-admin
sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920
vrfs:
- name: MGMT
ip_routing: false
management_interfaces:
- name: Management1
description: oob_management
shutdown: false
vrf: MGMT
ip_address: 172.16.1.31/24
gateway: 172.16.1.1
type: oob
management_api_http:
enable_vrfs:
- name: MGMT
enable_https: true
https_ssl_profile: eAPI_SSL_Profile
vlans:
- id: 4093
tenant: system
name: LEAF_PEER_L3
trunk_groups:
- LEAF_PEER_L3
- id: 4094
tenant: system
name: MLAG_PEER
trunk_groups:
- MLAG
vlan_interfaces:
- name: Vlan4093
description: MLAG_PEER_L3_PEERING
shutdown: false
mtu: 1500
ip_address: 10.33.1.104/31
- name: Vlan4094
description: MLAG_PEER
shutdown: false
ip_address: 10.33.1.72/31
no_autostate: true
mtu: 1500
port_channel_interfaces:
- name: Port-Channel3
description: MLAG_PEER_dc1-svc-leaf1b_Po3
type: switched
shutdown: false
mode: trunk
trunk_groups:
- LEAF_PEER_L3
- MLAG
ethernet_interfaces:
- name: Ethernet3
peer: dc1-svc-leaf1b
peer_interface: Ethernet3
peer_type: mlag_peer
description: MLAG_PEER_dc1-svc-leaf1b_Ethernet3
type: port-channel-member
shutdown: false
channel_group:
id: 3
mode: active
- name: Ethernet4
peer: dc1-svc-leaf1b
peer_interface: Ethernet4
peer_type: mlag_peer
description: MLAG_PEER_dc1-svc-leaf1b_Ethernet4
type: port-channel-member
shutdown: false
channel_group:
id: 3
mode: active
- name: Ethernet1
peer: dc1-spine1
peer_interface: Ethernet5
peer_type: spine
description: P2P_LINK_TO_DC1-SPINE1_Ethernet5
shutdown: false
mtu: 1500
type: routed
ip_address: 10.33.255.17/31
- name: Ethernet2
peer: dc1-spine2
peer_interface: Ethernet5
peer_type: spine
description: P2P_LINK_TO_DC1-SPINE2_Ethernet5
shutdown: false
mtu: 1500
type: routed
ip_address: 10.33.255.19/31
mlag_configuration:
domain_id: DC1_SVC_LEAF1
local_interface: Vlan4094
peer_address: 10.33.1.73
peer_link: Port-Channel3
reload_delay_mlag: '300'
reload_delay_non_mlag: '330'
route_maps:
- name: RM-MLAG-PEER-IN
sequence_numbers:
- sequence: 10
type: permit
set:
- origin incomplete
description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing
- name: RM-CONN-2-BGP
sequence_numbers:
- sequence: 10
type: permit
match:
- ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY
loopback_interfaces:
- name: Loopback0
description: EVPN_Overlay_Peering
shutdown: false
ip_address: 10.33.0.5/32
- name: Loopback1
description: VTEP_VXLAN_Tunnel_Source
shutdown: false
ip_address: 10.33.1.5/32
prefix_lists:
- name: PL-LOOPBACKS-EVPN-OVERLAY
sequence_numbers:
- sequence: 10
action: permit 10.33.0.0/27 eq 32
- sequence: 20
action: permit 10.33.1.0/27 eq 32
router_bfd:
multihop:
interval: 300
min_rx: 300
multiplier: 3
ip_igmp_snooping:
globally_enabled: true
ip_virtual_router_mac_address: 00:1c:73:00:00:99
vxlan_interface:
Vxlan1:
description: dc1-svc-leaf1a_VTEP
vxlan:
udp_port: 4789
source_interface: Loopback1
virtual_router_encapsulation_mac_address: mlag-system-id
metadata:
platform: vEOS-lab
dns_domain: dc1.local
Loading

0 comments on commit f9dc4a0

Please sign in to comment.