Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(eos_cli_config_gen): Support for Interface Profiles on Port-channel interfaces #4661

Merged
merged 13 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,10 @@ interface Port-Channel131.10
!
encapsulation vlan
client dot1q outer 14 inner 11 network client inner
!
interface Port-Channel132
profile test-interface-profile
description Test_port-channel_interface-profile
```

## BFD
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,10 @@ interface Port-Channel131.10
encapsulation vlan
client dot1q outer 14 inner 11 network client inner
!
interface Port-Channel132
profile test-interface-profile
description Test_port-channel_interface-profile
!
interface Ethernet3
description MLAG_PEER_DC1-LEAF1B_Ethernet3
channel-group 3 mode active
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,10 @@ port_channel_interfaces:
network:
encapsulation: client inner

- name: Port-Channel132
description: Test_port-channel_interface-profile
profile: test-interface-profile

# Children interfaces
ethernet_interfaces:
- name: Ethernet5
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
{% for port_channel_interface in port_channel_interfaces | arista.avd.natural_sort('name') %}
!
interface {{ port_channel_interface.name }}
{% if port_channel_interface.profile is arista.avd.defined %}
profile {{ port_channel_interface.profile }}
{% endif %}
{% if port_channel_interface.traffic_policy.input is arista.avd.defined %}
traffic-policy input {{ port_channel_interface.traffic_policy.input }}
{% endif %}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ keys:
type: str
description:
type: str
profile:
type: str
description: Interface profile.
logging:
type: dict
keys:
Expand Down
Loading