Skip to content

Commit

Permalink
Feat(eos_designs)!: Update the default platform settings for R3-serie…
Browse files Browse the repository at this point in the history
…s to have TCAM profile "vxlan-routing" (#4387)
  • Loading branch information
ClausHolbechArista authored Aug 29, 2024
1 parent b0b6f4b commit b0aff32
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 0 deletions.
29 changes: 29 additions & 0 deletions ansible_collections/arista/avd/docs/porting-guides/5.x.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,35 @@ The following data model keys have been removed from `eos_designs` in v5.0.0.
| svi_profiles[].ipv6_address_virtual | svi_profiles[].ipv6_address_virtuals |
| ptp | ptp_settings |

### The default platform settings for R3-series now have the TCAM profile "vxlan-routing"

Starting AVD 5.0.0, the default platform settings for `7280R3`, `7500R3` and `7800R3` platforms now contain `tcam_profile: vxlan-routing`
This change is based on a new Arista best practice for VXLAN deployments with the R3-series.
Not using this TCAM profile can lead to incorrect handling of VXLAN IPv6 NS packets.

!!! warning
Since applying a TCAM profile will cause reprogramming of the forwarding processor, it can lead to disturbances to the network services.

Please work with your Arista account team to decide if the new default is the right choice for your network, and how to apply it.

To retain the old configuration with no TCAM profile the default platform settings can be overridden with the new `custom_platform_settings` key:

```diff
+custom_platform_settings:
+ - platforms:
+ - 7280R3
+ reload_delay:
+ mlag: 900
+ non_mlag: 1020
+ - platforms:
+ - 7500R3
+ - 7800R3
+ management_interface: Management0
+ reload_delay:
+ mlag: 900
+ non_mlag: 1020
```

#### Structured Configuration merged from SVI profiles is now deep merged instead of replaced

When merging `structured_config` from SVI profiles and parent profiles, AVD versions below 5.0.0 replaced the entire `structured_config` object with the most specific definition of `structured_config`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ interface Vxlan1
vxlan vrf Tenant_B_WAN_Zone vni 21
vxlan vrf Tenant_C_WAN_Zone vni 31
!
hardware tcam
system profile vxlan-routing
!
ip virtual-router mac-address 00:dc:00:00:00:0a
!
ip routing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ interface Management0
vrf MGMT
ip address 192.168.200.103/24
!
hardware tcam
system profile vxlan-routing
!
ip routing
no ip routing vrf MGMT
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ management_interfaces:
ip_address: 192.168.200.118/24
gateway: 192.168.200.5
type: oob
tcam_profile:
system: vxlan-routing
management_api_http:
enable_vrfs:
- name: MGMT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ management_interfaces:
ip_address: 192.168.200.103/24
gateway: 192.168.200.5
type: oob
tcam_profile:
system: vxlan-routing
management_api_http:
enable_vrfs:
- name: MGMT
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
# Testing the suggested method to roll back the change of default platform settings for R3 series.
custom_platform_settings:
- platforms:
- 7280R3
reload_delay:
mlag: 900
non_mlag: 1020
- platforms:
- 7500R3
- 7800R3
management_interface: Management0
reload_delay:
mlag: 900
non_mlag: 1020

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

2 changes: 2 additions & 0 deletions python-avd/pyavd/_eos_designs/schema/eos_designs.schema.yml

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 @@ -199,6 +199,7 @@ keys:
reload_delay:
mlag: 900
non_mlag: 1020
tcam_profile: vxlan-routing
- platforms:
- 7500R
- 7500R2
Expand All @@ -215,6 +216,7 @@ keys:
reload_delay:
mlag: 900
non_mlag: 1020
tcam_profile: vxlan-routing
- platforms:
- 7358X4
management_interface: Management1/1
Expand Down
2 changes: 2 additions & 0 deletions python-avd/pyavd/_eos_designs/shared_utils/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
},
{
"platforms": ["7280R3"],
"tcam_profile": "vxlan-routing",
"reload_delay": {
"mlag": 900,
"non_mlag": 1020,
Expand All @@ -97,6 +98,7 @@
},
{
"platforms": ["7500R3", "7800R3"],
"tcam_profile": "vxlan-routing",
"management_interface": "Management0",
"reload_delay": {
"mlag": 900,
Expand Down

0 comments on commit b0aff32

Please sign in to comment.