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): Add trident l3 routing mac per vlan option #4548

Merged
Show file tree
Hide file tree
Changes from 6 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 @@ -44,6 +44,7 @@ interface Management1

| Settings | Value |
| -------- | ----- |
| Routing MAC Address per VLAN | true |
| Forwarding Table Partition | 2 |
| MMU Applied Profile | mc_example_profile |

Expand Down Expand Up @@ -96,6 +97,7 @@ interface Management1

```eos
!
platform trident l3 routing mac-address per-vlan
platform trident forwarding-table partition 2
platform sand qos map traffic-class 0 to network-qos 0
platform sand qos map traffic-class 1 to network-qos 7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ platform trident mmu queue profile unused_profile
egress multicast queue 1 reserved cells 0
egress multicast queue 1 threshold 8
!
platform trident l3 routing mac-address per-vlan
platform trident forwarding-table partition 2
platform sand qos map traffic-class 0 to network-qos 0
platform sand qos map traffic-class 1 to network-qos 7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
platform:
trident:
l3:
routing_mac_address_per_vlan: true
forwarding_table_partition: 2
mmu:
active_profile: mc_example_profile
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 @@

| Settings | Value |
| -------- | ----- |
{% if platform.trident.l3.routing_mac_address_per_vlan is arista.avd.defined(true) %}
| Routing MAC Address per VLAN | true |
{% endif %}
{% if platform.trident.forwarding_table_partition is arista.avd.defined %}
| Forwarding Table Partition | {{ platform.trident.forwarding_table_partition }} |
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
{# eos - platform #}
{% if platform is arista.avd.defined %}
!
{% if platform.trident.l3 is arista.avd.defined %}
{% if platform.trident.l3.routing_mac_address_per_vlan is arista.avd.defined(true) %}
platform trident l3 routing mac-address per-vlan
{% endif %}
{% endif %}
ClausHolbechArista marked this conversation as resolved.
Show resolved Hide resolved
{% if platform.trident.forwarding_table_partition is arista.avd.defined %}
platform trident forwarding-table partition {{ platform.trident.forwarding_table_partition }}
{% 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 @@ -18,6 +18,12 @@ keys:
type: str
convert_types:
- int
l3:
type: dict
keys:
routing_mac_address_per_vlan:
type: bool
description: "Enable bridging of packets with destination MAC being a Router MAC in VLANs without routing."
mmu:
type: dict
description: |
Expand Down
Loading