Skip to content

Porting Guide for Ansible AVD 6.x.x

Major releases of AVD can contain breaking changes. This porting guide addresses how to update your inventory and playbooks to be compatible with new default behaviors and changed data models when upgrading from AVD 5.x versions.

Note

To upgrade from AVD version 4.x, first upgrade to AVD 5.7 using the Porting Guide for Ansible AVD 5.x.x and then upgrade to 6.x with this guide.

Users of eos_designs need to consider the changes in eos_cli_config_gen when using structured configuration.

Common changes

// TODO: potentially remove if empty

Removal of Ansible tags from AVD roles

// TODO: potentially remove if empty

Removal of Ansible components

// TODO: complete table

The following Ansible components have been removed from the arista.avd Ansible collection in version 6.0.0.

Component type Name Replacement
Filter arista.avd.xxx
Action plugin/Module arista.avd.xxx
Role arista.avd.xxx

Changes to role arista.avd.eos_designs

Removal of deprecated eos_designs data models

The following data model keys have been removed from eos_designs in AVD 6.0.0.

Removed key New key
aaa_settings.accounting.exec.console.group aaa_settings.accounting.exec.console.methods[].group
aaa_settings.accounting.exec.console.logging aaa_settings.accounting.exec.console.methods[].method
aaa_settings.accounting.exec.default.group aaa_settings.accounting.exec.default.methods[].group
aaa_settings.accounting.exec.default.logging aaa_settings.accounting.exec.default.methods[].method
aaa_settings.accounting.system.default.group aaa_settings.accounting.system.default.methods[].group
aaa_settings.accounting.dot1x.default.group aaa_settings.accounting.dot1x.default.methods[].group
aaa_settings.accounting.commands[].console[].group aaa_settings.accounting.commands[].console[].methods[].group
aaa_settings.accounting.commands[].console[].logging aaa_settings.accounting.commands[].console[].methods[].method
aaa_settings.accounting.commands[].default[].group aaa_settings.accounting.commands[].default[].methods[].group
aaa_settings.accounting.commands[].default[].logging aaa_settings.accounting.commands[].default[].methods[].method
underlay_ospf_authentication.message_digest_keys[].key underlay_ospf_authentication.message_digest_keys[].cleartext_key
avd_6_behaviors -
name_servers dns_settings.servers
node_type_keys[].interface_descriptions.overlay_loopback_interface node_type_keys[].interface_descriptions.router_id_loopback_interface
source_interfaces.domain_lookup dns_settings
source_interfaces.radius aaa_settings.radius.vrfs[].source_interface or aaa_settings.radius.servers[].vrf: use_mgmt_interface_vrf or aaa_settings.radius.servers[].vrf: use_inband_mgmt_vrf
source_interfaces.snmp snmp_settings.vrfs[].source_interface or snmp_settings.hosts[].vrf: use_mgmt_interface_vrf or snmp_settings.hosts[].vrf: use_inband_mgmt_vrf or avd_6_behaviors.snmp_settings_vrfs
source_interfaces.tacacs aaa_settings.tacacs.vrfs[].source_interface or aaa_settings.tacacs.servers[].vrf: use_mgmt_interface_vrf or aaa_settings.tacacs.servers[].vrf: use_inband_mgmt_vrf

Changes to role arista.avd.eos_cli_config_gen

Removal of deprecated eos_cli_config_gen data models

The following data model keys have been removed from eos_cli_config_gen in AVD 6.0.0.

Removed key New key
vxlan_interface.Vxlan1 vxlan_interface.vxlan1
aaa_accounting.exec.console.group aaa_accounting.exec.console.methods[].group
aaa_accounting.exec.console.logging aaa_accounting.exec.console.methods[].method
aaa_accounting.exec.default.group aaa_accounting.exec.default.methods[].group
aaa_accounting.exec.default.logging aaa_accounting.exec.default.methods[].method
aaa_accounting.system.default.group aaa_accounting.system.default.methods[].group
aaa_accounting.dot1x.default.group aaa_accounting.dot1x.default.methods[].group
aaa_accounting.commands[].console[].group aaa_accounting.commands[].console[].methods[].group
aaa_accounting.commands[].console[].logging aaa_accounting.commands[].console[].methods[].method
aaa_accounting.commands[].default[].group aaa_accounting.commands[].default[].methods[].group
aaa_accounting.commands[].default[].logging aaa_accounting.commands[].default[].methods[].method
ethernet_interfaces[].vlans ethernet_interfaces[].switchport.access_vlan or switchport.trunk.allowed_vlan
ethernet_interfaces[].native_vlan ethernet_interfaces[].switchport.trunk.native_vlan
ethernet_interfaces[].native_vlan_tag ethernet_interfaces[].switchport.trunk.native_vlan_tag
ethernet_interfaces[].mode ethernet_interfaces[].switchport.mode
ethernet_interfaces[].phone ethernet_interfaces[].switchport.phone
ethernet_interfaces[].trunk_groups ethernet_interfaces[].switchport.trunk.groups
ethernet_interfaces[].type -
ethernet_interfaces[].encapsulation_dot1q_vlan ethernet_interfaces[].encapsulation_dot1q.vlan
ethernet_interfaces[].encapsulation_vlan.client.dot1q ethernet_interfaces[].encapsulation_vlan.client.encapsulation
ethernet_interfaces[].encapsulation_vlan.client.unmatched ethernet_interfaces[].encapsulation_vlan.client.encapsulation
ethernet_interfaces[].encapsulation_vlan.network.dot1q ethernet_interfaces[].encapsulation_vlan.network.encapsulation
ethernet_interfaces[].encapsulation_vlan.network.client ethernet_interfaces[].encapsulation_vlan.network.encapsulation
ethernet_interfaces[].tcp_mss_ceiling.ipv4_segment_size ethernet_interfaces[].tcp_mss_ceiling.ipv4
ethernet_interfaces[].tcp_mss_ceiling.ipv6_segment_size ethernet_interfaces[].tcp_mss_ceiling.ipv6
ethernet_interfaces[].isis_authentication_mode ethernet_interfaces[].isis_authentication.both.mode or ethernet_interfaces[].isis_authentication.level_1.mode or ethernet_interfaces[].isis_authentication.level_2.mode
ethernet_interfaces[].isis_authentication_key ethernet_interfaces[].isis_authentication.both.key or ethernet_interfaces[].isis_authentication.level_1.key or ethernet_interfaces[].isis_authentication.level_2.key
ethernet_interfaces[].trunk_private_vlan_secondary ethernet_interfaces[].switchport.trunk.private_vlan_secondary
ethernet_interfaces[].pvlan_mapping ethernet_interfaces[].switchport.pvlan_mapping
ethernet_interfaces[].vlan_translations ethernet_interfaces[].switchport.vlan_translations
ethernet_interfaces[].vrrp_ids[].ipv6.address ethernet_interfaces[].vrrp_ids[].ipv6.addresses
ethernet_interfaces[].traffic_engineering.srlg ethernet_interfaces[].traffic_engineering.srlgs
generate_default_config -
generate_device_documentation eos_cli_config_gen_documentation.enable
ip_name_server_groups[].ip_domain_list ip_name_server_groups[].ip_domain_lists
management_api_models.providers management_api_models.provider
management_ssh.access_groups management_ssh.ip_access_group_in or management_ssh.vrfs.ip_access_group_in
management_ssh.ipv6_access_groups management_ssh.ipv6_access_group_in or management_ssh.vrfs.ipv6_access_group_in
router_bgp.address_family_evpn.bgp_additional_paths router_bgp.address_family_evpn.bgp.additional_paths
router_bgp.address_family_ipv4.redistribute_routes router_bgp.address_family_ipv4.redistribute
router_bgp.address_family_ipv4_multicast.redistribute_routes router_bgp.address_family_ipv4_multicast.redistribute
router_bgp.address_family_ipv6.redistribute_routes router_bgp.address_family_ipv6.redistribute
router_bgp.address_family_ipv6_multicast.redistribute_routes router_bgp.address_family_ipv6_multicast.redistribute
router_bgp.redistribute_routes router_bgp.redistribute
router_bgp.vrfs[].address_family_ipv4.redistribute_routes router_bgp.vrfs[].address_family_ipv4.redistribute
router_bgp.vrfs[].address_family_ipv6.redistribute_routes router_bgp.vrfs[].address_family_ipv6.redistribute
router_bgp.vrfs[].address_family_ipv4_multicast.redistribute_routes router_bgp.vrfs[].address_family_ipv4_multicast.redistribute
router_bgp.vrfs[].address_family_ipv6_multicast.redistribute_routes router_bgp.vrfs[].address_family_ipv6_multicast.redistribute
router_path_selection.tcp_mss_ceiling.ipv4_segment_size router_path_selection.tcp_mss_ceiling.ipv4
vlan_interfaces[].vrrp_ids[].ipv6.address vlan_interfaces[].vrrp_ids[].ipv6.addresses

Changes to role arista.avd.anta_runner

// TODO: potentially remove if empty