Skip to content

Commit

Permalink
Refactor(eos_designs)!: WAN default MTU set to 9194 for Dps and WAN H…
Browse files Browse the repository at this point in the history
…A interfaces and for LAN uplink interfaces added `p2p_uplinks_mtu` support in platform settings (#4415)
  • Loading branch information
MaheshGSLAB authored Sep 12, 2024
1 parent 7f9c787 commit 0f2131f
Show file tree
Hide file tree
Showing 64 changed files with 222 additions and 60 deletions.
53 changes: 53 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 @@ -415,6 +415,59 @@ To retain the previous behaviour, set the value to `false`:
+shutdown_interfaces_towards_undeployed_peers: false
```

### Default MTU value changed from `9214` to `9194` for Dps1, WAN HA and WAN p2p uplink interfaces

In AVD 4.0.0, the default MTU for Dps1, WAN HA and WAN p2p uplink interfaces was `9214`.
In AVD 5.0.0, the default MTU for Dps1, WAN HA and WAN p2p uplink interfaces has been changed to `9194`.

To retain the old MTU on WAN HA interfaces use `<node_type>.defaults/node_groups[]/node_groups[].nodes[]/nodes[].wan_ha.mtu` as `9214`.

```diff
wan_router:
node_groups:
- group: SITE_HA_ENABLED
wan_ha:
enabled: true
ha_interfaces: [Ethernet52]
+ mtu: 9214
```

To retain the old MTU on Dps1 interface use custom structured configuration

```diff
custom_structured_configuration_dps_interfaces:
- name: Dps1
+ mtu: 9214
```

To retain the old MTU on WAN p2p uplink interfaces use custom_platform_settings

```diff
custom_platform_settings:
- feature_support:
bgp_update_wait_for_convergence: true
bgp_update_wait_install: false
interface_storm_control: false
queue_monitor_length_notify: false
management_interface: Management1/1
+ p2p_uplinks_mtu: 9214
platforms:
- AWE-5310
- AWE-5510
- AWE-7250R
- AWE-7230R
- feature_support:
bgp_update_wait_for_convergence: true
bgp_update_wait_install: false
interface_storm_control: false
poe: true
queue_monitor_length_notify: false
management_interface: Management1
+ p2p_uplinks_mtu: 9214
platforms:
- AWE-7220R
```

## Changes to role `arista.avd.eos_cli_config_gen`

TODO: Level 3 sections for each change with details on how to migrate
Expand Down
6 changes: 6 additions & 0 deletions ansible_collections/arista/avd/docs/release-notes/5.x.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ Previously it also accepted a string, which was autoconverted to a list.

See the [porting guide](../porting-guides/5.x.x.md#) for details.

#### Default MTU value changed from `9214` to `9194` for Dps1, WAN HA and WAN p2p uplink interfaces

Starting AVD 5.0.0, the default MTU for Dps1, WAN HA and WAN p2p uplink interfaces changed from `9214` to `9194`.

See the [porting guide](../porting-guides/5.x.x.md#default-mtu-value-changed-from-9214-to-9194-for-dps1-wan-ha-and-wan-p2p-uplink-interfaces) for details.

#### ipv6_virtual_router_addresses are now configured if ipv6_enable is true on SVIs

For SVIs with `ipv6_virtual_router_addresses` set, AVD versions below 5.0.0 only rendered the configuration if `ipv6_address`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.255.1/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.130.1/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.131.1/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.131.2/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.142.1/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.142.2/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.142.3/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.144.1/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware custom_flow_track_name
ip address 192.168.255.1/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.255.1/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.142.1/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.142.2/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.142.2/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.142.3/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.142.6/32
!
Expand All @@ -201,6 +201,7 @@ interface Ethernet1
interface Ethernet52
description DIRECT LAN HA LINK
no shutdown
mtu 9100
no switchport
ip address 10.10.10.0/31
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.142.7/32
!
Expand All @@ -211,6 +211,7 @@ interface Ethernet2
interface Ethernet52
description DIRECT LAN HA LINK
no shutdown
mtu 9100
no switchport
ip address 10.10.10.1/31
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.144.1/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.144.2/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.144.3/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.143.1/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.143.2/32
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.2.1/32
!
Expand All @@ -108,7 +108,7 @@ interface Ethernet1
interface Ethernet2
description UPLINK_LAN_L2LEAF_Ethernet1
no shutdown
mtu 9214
mtu 9218
no switchport
flow tracker hardware FLOW-TRACKER
vrf VRF1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ip security
!
interface Dps1
description DPS Interface
mtu 9214
mtu 9194
flow tracker hardware FLOW-TRACKER
ip address 192.168.2.2/32
!
Expand All @@ -108,13 +108,13 @@ interface Ethernet1
interface Ethernet2
description UPLINK_LAN_L2LEAF_Ethernet2
no shutdown
mtu 9214
mtu 9218
no switchport
!
interface Ethernet2.10
description VLAN10_NATIVE
no shutdown
mtu 9214
mtu 9218
encapsulation dot1q vlan 10
flow tracker hardware FLOW-TRACKER
vrf VRF1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ application_traffic_recognition:
dps_interfaces:
- name: Dps1
description: DPS Interface
mtu: 9214
mtu: 9194
ip_address: 192.168.255.1/32
flow_tracker:
hardware: FLOW-TRACKER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ application_traffic_recognition:
dps_interfaces:
- name: Dps1
description: DPS Interface
mtu: 9214
mtu: 9194
ip_address: 192.168.130.1/32
flow_tracker:
hardware: FLOW-TRACKER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ application_traffic_recognition:
dps_interfaces:
- name: Dps1
description: DPS Interface
mtu: 9214
mtu: 9194
ip_address: 192.168.131.1/32
flow_tracker:
hardware: FLOW-TRACKER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ application_traffic_recognition:
dps_interfaces:
- name: Dps1
description: DPS Interface
mtu: 9214
mtu: 9194
ip_address: 192.168.131.2/32
flow_tracker:
hardware: FLOW-TRACKER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ application_traffic_recognition:
dps_interfaces:
- name: Dps1
description: DPS Interface
mtu: 9214
mtu: 9194
ip_address: 192.168.142.1/32
flow_tracker:
hardware: FLOW-TRACKER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ application_traffic_recognition:
dps_interfaces:
- name: Dps1
description: DPS Interface
mtu: 9214
mtu: 9194
ip_address: 192.168.142.2/32
flow_tracker:
hardware: FLOW-TRACKER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ application_traffic_recognition:
dps_interfaces:
- name: Dps1
description: DPS Interface
mtu: 9214
mtu: 9194
ip_address: 192.168.142.3/32
flow_tracker:
hardware: FLOW-TRACKER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ application_traffic_recognition:
dps_interfaces:
- name: Dps1
description: DPS Interface
mtu: 9214
mtu: 9194
ip_address: 192.168.144.1/32
flow_tracker:
hardware: FLOW-TRACKER
Expand Down
Loading

0 comments on commit 0f2131f

Please sign in to comment.