Skip to content

Commit

Permalink
Feat(eos_cli_config_gen): Add trident l3 routing mac per vlan option (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ccsnw authored Oct 10, 2024
1 parent ec81f6c commit 6990bc4
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 0 deletions.
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 %}
{% 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

0 comments on commit 6990bc4

Please sign in to comment.