Skip to content

Commit

Permalink
Feat(eos_designs): Update eos_designs code to generate new interface-…
Browse files Browse the repository at this point in the history
…encapsulation model in structured_configs (aristanetworks#4504)
  • Loading branch information
Shivani-gslab authored Sep 24, 2024
1 parent 4e88b05 commit 2f9d141
Show file tree
Hide file tree
Showing 37 changed files with 280 additions and 318 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ ethernet_interfaces:
ip_address: 10.0.1.1/29
shutdown: false
description: C1_L3_SERVICE
type: l3dot1q
encapsulation_dot1q_vlan: 10
encapsulation_dot1q:
vlan: 10
vrf: C1_VRF1
ospf_area: '0'
ospf_network_point_to_point: false
Expand All @@ -222,8 +222,8 @@ ethernet_interfaces:
ip_address: 10.1.1.1/29
shutdown: false
description: C2_L3_SERVICE
type: l3dot1q
encapsulation_dot1q_vlan: 20
encapsulation_dot1q:
vlan: 20
vrf: C2_VRF1
- name: Ethernet3
switchport:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ ethernet_interfaces:
ip_address: 10.0.1.2/29
shutdown: false
description: C1_L3_SERVICE
type: l3dot1q
encapsulation_dot1q_vlan: 10
encapsulation_dot1q:
vlan: 10
vrf: C1_VRF1
ospf_area: '0'
ospf_network_point_to_point: false
Expand All @@ -222,8 +222,8 @@ ethernet_interfaces:
ip_address: 10.1.1.2/29
shutdown: false
description: C2_L3_SERVICE
type: l3dot1q
encapsulation_dot1q_vlan: 20
encapsulation_dot1q:
vlan: 20
vrf: C2_VRF1
- name: Ethernet4
switchport:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ ethernet_interfaces:
ip_address: 123.1.1.0/31
shutdown: false
description: TENANT_B_SITE_3_INTRA_L3VPN
type: l3dot1q
encapsulation_dot1q_vlan: 10
encapsulation_dot1q:
vlan: 10
vrf: TENANT_B_INTRA
ospf_area: '0'
ospf_network_point_to_point: true
Expand Down Expand Up @@ -381,57 +381,53 @@ vlan_interfaces:
vrf: TENANT_B_INTRA
port_channel_interfaces:
- name: Port-Channel3.1000
type: l2dot1q
peer_type: point_to_point_service
encapsulation_vlan:
client:
dot1q:
vlan: 1000
encapsulation: dot1q
vlan: 1000
network:
client: true
encapsulation: client
shutdown: false
- name: Port-Channel3.1001
type: l2dot1q
peer_type: point_to_point_service
encapsulation_vlan:
client:
dot1q:
vlan: 1001
encapsulation: dot1q
vlan: 1001
network:
client: true
encapsulation: client
shutdown: false
- name: Port-Channel3.1002
type: l2dot1q
peer_type: point_to_point_service
encapsulation_vlan:
client:
dot1q:
vlan: 1002
encapsulation: dot1q
vlan: 1002
network:
client: true
encapsulation: client
shutdown: false
- name: Port-Channel3.1003
type: l2dot1q
peer_type: point_to_point_service
encapsulation_vlan:
client:
dot1q:
vlan: 1003
encapsulation: dot1q
vlan: 1003
network:
client: true
encapsulation: client
shutdown: false
- name: Port-Channel3.1004
type: l2dot1q
peer_type: point_to_point_service
encapsulation_vlan:
client:
dot1q:
vlan: 1004
encapsulation: dot1q
vlan: 1004
network:
client: true
encapsulation: client
shutdown: false
- name: Port-Channel3
type: routed
switchport:
enabled: false
peer_type: system
shutdown: false
evpn_ethernet_segment:
Expand All @@ -444,32 +440,29 @@ port_channel_interfaces:
switchport:
enabled: false
- name: Port-Channel8.111
type: l2dot1q
vlan_id: 111
encapsulation_vlan:
client:
dot1q:
vlan: 111
encapsulation: dot1q
vlan: 111
network:
client: true
encapsulation: client
- name: Port-Channel8.222
type: l2dot1q
vlan_id: 222
encapsulation_vlan:
client:
dot1q:
vlan: 222
encapsulation: dot1q
vlan: 222
network:
client: true
encapsulation: client
- name: Port-Channel8.333
type: l2dot1q
vlan_id: 434
encapsulation_vlan:
client:
dot1q:
vlan: 333
encapsulation: dot1q
vlan: 333
network:
client: true
encapsulation: client
router_ospf:
process_ids:
- id: 19
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ ethernet_interfaces:
ip_address: 192.168.48.0/31
shutdown: false
description: TENANT_B_SITE_3
type: l3dot1q
encapsulation_dot1q_vlan: 100
encapsulation_dot1q:
vlan: 100
vrf: TENANT_B_WAN
- name: Ethernet3
peer_type: point_to_point_service
Expand Down Expand Up @@ -411,57 +411,53 @@ vlan_interfaces:
vrf: TENANT_B_INTRA
port_channel_interfaces:
- name: Port-Channel3.1000
type: l2dot1q
peer_type: point_to_point_service
encapsulation_vlan:
client:
dot1q:
vlan: 1000
encapsulation: dot1q
vlan: 1000
network:
client: true
encapsulation: client
shutdown: false
- name: Port-Channel3.1001
type: l2dot1q
peer_type: point_to_point_service
encapsulation_vlan:
client:
dot1q:
vlan: 1001
encapsulation: dot1q
vlan: 1001
network:
client: true
encapsulation: client
shutdown: false
- name: Port-Channel3.1002
type: l2dot1q
peer_type: point_to_point_service
encapsulation_vlan:
client:
dot1q:
vlan: 1002
encapsulation: dot1q
vlan: 1002
network:
client: true
encapsulation: client
shutdown: false
- name: Port-Channel3.1003
type: l2dot1q
peer_type: point_to_point_service
encapsulation_vlan:
client:
dot1q:
vlan: 1003
encapsulation: dot1q
vlan: 1003
network:
client: true
encapsulation: client
shutdown: false
- name: Port-Channel3.1004
type: l2dot1q
peer_type: point_to_point_service
encapsulation_vlan:
client:
dot1q:
vlan: 1004
encapsulation: dot1q
vlan: 1004
network:
client: true
encapsulation: client
shutdown: false
- name: Port-Channel3
type: routed
switchport:
enabled: false
peer_type: system
shutdown: false
evpn_ethernet_segment:
Expand All @@ -474,31 +470,28 @@ port_channel_interfaces:
switchport:
enabled: false
- name: Port-Channel8.111
type: l2dot1q
vlan_id: 111
encapsulation_vlan:
client:
dot1q:
vlan: 111
encapsulation: dot1q
vlan: 111
network:
client: true
encapsulation: client
- name: Port-Channel8.222
type: l2dot1q
vlan_id: 222
encapsulation_vlan:
client:
dot1q:
vlan: 222
encapsulation: dot1q
vlan: 222
network:
client: true
encapsulation: client
- name: Port-Channel8.333
type: l2dot1q
vlan_id: 434
encapsulation_vlan:
client:
dot1q:
vlan: 333
encapsulation: dot1q
vlan: 333
network:
client: true
encapsulation: client
metadata:
platform: 7280SR3
Loading

0 comments on commit 2f9d141

Please sign in to comment.