Skip to content

Commit

Permalink
Feat(eos_designs): Add revised schema to support L3 Port-Channel inte…
Browse files Browse the repository at this point in the history
…rfaces
  • Loading branch information
carlbuchmann authored and ashenoy-arista committed Dec 5, 2024
1 parent f3cc2d2 commit ffc3188
Show file tree
Hide file tree
Showing 33 changed files with 7,077 additions and 1,174 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,9 @@ ethernet_interfaces:
switchport:
enabled: false
description: REGION1-INTERNET-CORP_inet-site1-wan1_inet-cloud_Ethernet5
access_group_in: ACL-INTERNET-IN_Ethernet4
flow_tracker:
hardware: FLOW-TRACKER
access_group_in: ACL-INTERNET-IN_Ethernet4
loopback_interfaces:
- name: Loopback0
description: ROUTER_ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,9 @@ ethernet_interfaces:
switchport:
enabled: false
description: REGION1-INTERNET-CORP_inet-site1-wan2_inet-cloud_Ethernet6
access_group_in: ACL-INTERNET-IN_Ethernet4
flow_tracker:
hardware: FLOW-TRACKER
access_group_in: ACL-INTERNET-IN_Ethernet4
dhcp_client_accept_default_route: true
loopback_interfaces:
- name: Loopback0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,9 @@ ethernet_interfaces:
switchport:
enabled: false
description: REGION2-INTERNET-CORP_inet-site2-wan2_inet-cloud_Ethernet7
access_group_in: ACL-INTERNET-IN_Ethernet4
flow_tracker:
hardware: FLOW-TRACKER
access_group_in: ACL-INTERNET-IN_Ethernet4
- name: Ethernet5
switchport:
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ ethernet_interfaces:
switchport:
enabled: false
description: REGION2-INTERNET-CORP_inet-site3-wan1_inet-cloud_Ethernet8
access_group_in: ACL-INTERNET-IN_Ethernet4
flow_tracker:
hardware: FLOW-TRACKER
access_group_in: ACL-INTERNET-IN_Ethernet4
dhcp_client_accept_default_route: true
loopback_interfaces:
- name: Loopback0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ wan_path_groups:

expected_error_message: >-
'ipv4_acl_in' must be set on WAN interfaces where 'wan_carrier' is set,
unless the carrier is configured as 'trusted' under 'wan_carriers'. 'ipv4_acl_in' is missing on interface 'Ethernet1'.
unless the carrier is configured as 'trusted' under 'wan_carriers'. 'ipv4_acl_in' is missing on L3 interface 'Ethernet1'.
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
!
no enable password
no aaa root
!
vlan internal order ascending range 1006 1199
!
flow tracking sampled
sample 10000
tracker FLOW-TRACKER
record export on inactive timeout 70000
record export on interval 300000
exporter CV-TELEMETRY
collector 127.0.0.1
local interface Loopback0
template interval 3600000
no shutdown
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname node-type-l3-port-channels
!
spanning-tree mode none
!
vrf instance MGMT
!
management api http-commands
protocol https
no shutdown
!
vrf MGMT
no shutdown
!
interface Port-Channel2
description Cybercast_101_peer1_Port-Channel10
no shutdown
no switchport
flow tracker sampled FLOW-TRACKER
ip address 192.168.1.102/31
service-profile TEST-QOS-PROFILE1
!
interface Port-Channel5
description StreamFast_102_peer2_Port-Channel15
no shutdown
no switchport
ip address 192.168.1.105/31
service-policy type qos input TEST_POLICY
service-profile TEST-QOS-PROFILE1
! TEST RAW_EOS_CLI

!
interface Port-Channel5.100
description ExtremeCable_105_peer2_Port-Channel15
no shutdown
encapsulation dot1q vlan 108
flow tracker sampled FLOW-TRACKER
ip address 192.168.100.115/31
service-profile TEST-QOS-PROFILE2
!
interface Port-Channel8
description BlizzardFast_peerDevice3_Port-Channel18
no shutdown
no switchport
flow tracker sampled FLOW-TRACKER
ip address dhcp
dhcp client accept default-route
service-profile TEST-QOS-PROFILE3
! TEST RAW_EOS_CLI 123

!
interface Ethernet1
description Cybercast_101_peerDevice1_Ethernet11
no shutdown
speed forced 10000full
no switchport
channel-group 2 mode active
!
interface Ethernet1/4
description StreamFast_102_peerDevice2_Ethernet1/12
no shutdown
speed forced 10000full
no switchport
channel-group 5 mode passive
!
interface Ethernet1/5
description StreamFast_102_peer2_Port-Channel15
no shutdown
speed forced 10000full
no switchport
channel-group 5 mode passive
!
interface Ethernet1/10
description BlizzardFast_peerDevice3_Ethernet1/10
no shutdown
speed forced 1000full
no switchport
channel-group 8 mode on
!
interface Ethernet2
description Cybercast_101_peer1_Port-Channel10
no shutdown
speed forced 10000full
no switchport
channel-group 2 mode active
!
interface Ethernet3
description Custom eth3 description
no shutdown
no switchport
channel-group 2 mode active
!
interface Loopback0
description ROUTER_ID
no shutdown
ip address 2.3.4.1/32
!
ip routing
no ip routing vrf MGMT
!
ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY
seq 10 permit 2.3.4.5/24 eq 32
!
ip route 0.0.0.0/0 192.168.1.10
!
route-map RM-CONN-2-BGP permit 10
match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY
!
router bgp 65005
router-id 2.3.4.1
update wait-install
no bgp default ipv4-unicast
maximum-paths 4 ecmp 4
neighbor IPv4-UNDERLAY-PEERS peer group
neighbor IPv4-UNDERLAY-PEERS send-community
neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000
redistribute connected route-map RM-CONN-2-BGP
!
address-family ipv4
neighbor IPv4-UNDERLAY-PEERS activate
!
end
Loading

0 comments on commit ffc3188

Please sign in to comment.