Skip to content

Commit

Permalink
CI(eos_cli_config_gen): Restructured the eos_cli_config_gen molecule …
Browse files Browse the repository at this point in the history
…host vars for ethernet and post-channel interfaces
  • Loading branch information
Shivani-gslab committed Nov 7, 2024
1 parent 221cac0 commit 8fd52a5
Show file tree
Hide file tree
Showing 9 changed files with 3,493 additions and 3,690 deletions.

This file was deleted.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1410,3 +1410,147 @@ ethernet_interfaces:
traffic_allow_vlan: 10
traffic_allow_access_list: acl1
mac_based_access_list: true

- name: Ethernet105
peer: DC1-AGG01
peer_interface: Ethernet1
peer_type: l2leaf
description: DC1-AGG01_Ethernet1
channel_group:
id: 5
mode: active
transceiver:
media:
override: 100gbase-ar4

- name: Ethernet103
peer: DC1-LEAF1B
peer_interface: Ethernet3
peer_type: mlag_peer
description: MLAG_PEER_DC1-LEAF1B_Ethernet3
channel_group:
id: 3
mode: active

- name: Ethernet104
peer: DC1-LEAF1B
peer_interface: Ethernet4
peer_type: mlag_peer
description: MLAG_PEER_DC1-LEAF1B_Ethernet4
channel_group:
id: 3
mode: active

- name: Ethernet150
peer: SRV-POD03
peer_interface: Eth1
peer_type: server
description: SRV-POD03_Eth1
channel_group:
id: 5
mode: "active"
lldp:
receive: false
transmit: false

- name: Ethernet108
peer: DC1-LEAF1B
peer_interface: Ethernet4
description: MLAG_PEER_DC1-LEAF1B_Ethernet8
channel_group:
id: 8
mode: active

- name: Ethernet115
peer: DC1-AGG03
peer_interface: Ethernet1
peer_type: l2leaf
description: DC1-AGG03_Ethernet1
channel_group:
id: 15
mode: active
lacp_timer:
mode: fast
multiplier: 30

- name: Ethernet116
peer: DC1-AGG04
peer_interface: Ethernet1
peer_type: l2leaf
description: DC1-AGG04_Ethernet1
channel_group:
id: 16
mode: active
lacp_timer:
mode: normal

- name: Ethernet117
description: LAG Member
channel_group:
id: 17
mode: active

- name: Ethernet10/1
description: LAG Member
channel_group:
id: 101
mode: active

- name: Ethernet10/2
description: LAG Member
channel_group:
id: 102
mode: active

- name: Ethernet10/3
description: LAG Member
channel_group:
id: 103
mode: active

- name: Ethernet10/4
description: LAG Member LACP fallback
channel_group:
id: 104
mode: active
switchport:
enabled: true
mode: trunk
trunk:
allowed_vlan: 100
spanning_tree_portfast: edge

- name: Ethernet118
description: LAG Member
channel_group:
id: 109
mode: active

- name: Ethernet10/10
description: isis_port_channel_member
channel_group:
id: 110
mode: active

- name: Ethernet11/1
description: LAG Member with error_correction
error_correction_encoding:
fire_code: true
reed_solomon: true
channel_group:
id: 111
mode: active

- name: Ethernet11/2
description: LAG Member LACP fallback LLDP ZTP VLAN
channel_group:
id: 112
mode: active
switchport:
enabled: true
mode: trunk
trunk:
allowed_vlan: 112
spanning_tree_portfast: edge
lldp:
ztp_vlan: 112
Original file line number Diff line number Diff line change
Expand Up @@ -740,148 +740,3 @@ port_channel_interfaces:
description: Test_port-channel_interface-profile
profile: test-interface-profile

# Children interfaces
ethernet_interfaces:
- name: Ethernet5
peer: DC1-AGG01
peer_interface: Ethernet1
peer_type: l2leaf
description: DC1-AGG01_Ethernet1
channel_group:
id: 5
mode: active
transceiver:
media:
override: 100gbase-ar4

- name: Ethernet3
peer: DC1-LEAF1B
peer_interface: Ethernet3
peer_type: mlag_peer
description: MLAG_PEER_DC1-LEAF1B_Ethernet3
channel_group:
id: 3
mode: active

- name: Ethernet4
peer: DC1-LEAF1B
peer_interface: Ethernet4
peer_type: mlag_peer
description: MLAG_PEER_DC1-LEAF1B_Ethernet4
channel_group:
id: 3
mode: active

- name: Ethernet50
peer: SRV-POD03
peer_interface: Eth1
peer_type: server
description: SRV-POD03_Eth1
channel_group:
id: 5
mode: "active"
lldp:
receive: false
transmit: false

- name: Ethernet8
peer: DC1-LEAF1B
peer_interface: Ethernet4
description: MLAG_PEER_DC1-LEAF1B_Ethernet8
channel_group:
id: 8
mode: active

- name: Ethernet15
peer: DC1-AGG03
peer_interface: Ethernet1
peer_type: l2leaf
description: DC1-AGG03_Ethernet1
channel_group:
id: 15
mode: active
lacp_timer:
mode: fast
multiplier: 30

- name: Ethernet16
peer: DC1-AGG04
peer_interface: Ethernet1
peer_type: l2leaf
description: DC1-AGG04_Ethernet1
channel_group:
id: 16
mode: active
lacp_timer:
mode: normal

- name: Ethernet17
description: LAG Member
channel_group:
id: 17
mode: active

- name: Ethernet10/1
description: LAG Member
channel_group:
id: 101
mode: active

- name: Ethernet10/2
description: LAG Member
channel_group:
id: 102
mode: active

- name: Ethernet10/3
description: LAG Member
channel_group:
id: 103
mode: active

- name: Ethernet10/4
description: LAG Member LACP fallback
channel_group:
id: 104
mode: active
switchport:
enabled: true
mode: trunk
trunk:
allowed_vlan: 100
spanning_tree_portfast: edge

- name: Ethernet18
description: LAG Member
channel_group:
id: 109
mode: active

- name: Ethernet10/10
description: isis_port_channel_member
channel_group:
id: 110
mode: active

- name: Ethernet11/1
description: LAG Member with error_correction
error_correction_encoding:
fire_code: true
reed_solomon: true
channel_group:
id: 111
mode: active

- name: Ethernet11/2
description: LAG Member LACP fallback LLDP ZTP VLAN
channel_group:
id: 112
mode: active
switchport:
enabled: true
mode: trunk
trunk:
allowed_vlan: 112
spanning_tree_portfast: edge
lldp:
ztp_vlan: 112
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ test_hosts:
eos_cli_config_gen_configuration.enable:
eos_cli_config_gen_documentation.enable:
errdisable:
ethernet-interfaces:
event-handlers:
event-monitor:
flow-tracking:
Expand Down Expand Up @@ -101,7 +100,6 @@ test_hosts:
poe:
policy-maps:
policy-maps-pbr:
port-channel-interfaces:
prefix-lists:
prompt:
prompt-2:
Expand Down

0 comments on commit 8fd52a5

Please sign in to comment.