From 0f123ece9cdb1d36981dcedc63a17409aa097d65 Mon Sep 17 00:00:00 2001 From: Carl Buchmann Date: Thu, 9 Jun 2022 16:16:40 -0400 Subject: [PATCH 01/10] Feat(eos_designs): structured config support for uplink and mlag interfaces --- .../plugins/module_utils/eos_designs_facts.py | 16 ++++++++++++++++ .../avd/roles/eos_designs/doc/fabric-topology.md | 12 ++++++++++++ .../templates/mlag/port-channel-interfaces.j2 | 3 +++ .../underlay/interfaces/ethernet-interfaces.j2 | 3 +++ .../interfaces/port-channel-interfaces.j2 | 3 +++ .../eos_designs/templates/underlay/logic.j2 | 1 + 6 files changed, 38 insertions(+) diff --git a/ansible_collections/arista/avd/plugins/module_utils/eos_designs_facts.py b/ansible_collections/arista/avd/plugins/module_utils/eos_designs_facts.py index ae2e2924a1b..2d29b213c8b 100644 --- a/ansible_collections/arista/avd/plugins/module_utils/eos_designs_facts.py +++ b/ansible_collections/arista/avd/plugins/module_utils/eos_designs_facts.py @@ -407,6 +407,10 @@ def uplink_ptp(self): def uplink_macsec(self): return get(self._switch_data_combined, "uplink_macsec") + @cached_property + def uplink_structured_config(self): + return get(self._switch_data_combined, "uplink_structured_config") + @cached_property def short_esi(self): ''' @@ -964,6 +968,12 @@ def mlag_peer_l3_ipv4_pool(self): return get(self._switch_data_combined, "mlag_peer_l3_ipv4_pool") return None + @cached_property + def mlag_structured_config(self): + if self.mlag is True: + return get(self._switch_data_combined, "mlag_structured_config") + return None + @cached_property def mlag_role(self): if self.mlag is True: @@ -1128,6 +1138,9 @@ def uplinks(self): for lt_group in self.link_tracking_groups: uplink['link_tracking_groups'].append({"name": lt_group["name"], "direction": "upstream"}) + if self.uplink_structured_config is not None: + uplink['structured_config'] = self.uplink_structured_config + uplinks.append(uplink) return uplinks @@ -1202,6 +1215,9 @@ def uplinks(self): for lt_group in self.link_tracking_groups: uplink['link_tracking_groups'].append({"name": lt_group["name"], "direction": "upstream"}) + if self.uplink_structured_config is not None: + uplink['structured_config'] = self.uplink_structured_config + uplinks.append(uplink) return uplinks diff --git a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md index 0c142906ad3..0055d7e61ea 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md +++ b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md @@ -215,6 +215,13 @@ defaults <- node_group <- node_group.node <- node # Point-to-Point interface speed - will apply to uplinks on both ends | Optional. uplink_interface_speed: < interface_speed | forced interface_speed | auto interface_speed > + # Custom structured config applied to "uplink_interfaces", and "uplink_switch_interfaces" + # When uplink_type == "p2p", custom structured config added under ethernet_interfaces. for eos_cli_config_gen + # Overrides the settings on the ethernet interface level. + # When uplink_type == "port-channel", custom structured config added under port_channel_interfaces. for eos_cli_config_gen + # Overrides the settings on the port-channel interface level. + uplink_structured_config: < dictionary > + # When nodes are part of node group node_groups: < node-group-name >: @@ -386,6 +393,11 @@ defaults <- node_group <- node_group.node <- node # IP is derived from the node id. mlag_peer_ipv4_pool: < IPv4_network/Mask > + # Custom structured config applied to mlag port-channel interface + # Added under port_channel_interfaces. for eos_cli_config_gen + # Overrides the settings on the port-channel interface level. + mlag_structured_config: < dictionary > + # Spanning tree mode | Required. spanning_tree_mode: < mstp | rstp | rapid-pvst | none > diff --git a/ansible_collections/arista/avd/roles/eos_designs/templates/mlag/port-channel-interfaces.j2 b/ansible_collections/arista/avd/roles/eos_designs/templates/mlag/port-channel-interfaces.j2 index ecde6c14f44..388bc8975f8 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/templates/mlag/port-channel-interfaces.j2 +++ b/ansible_collections/arista/avd/roles/eos_designs/templates/mlag/port-channel-interfaces.j2 @@ -16,3 +16,6 @@ port_channel_interfaces: - LEAF_PEER_L3 {% endif %} - MLAG +{% if switch.mlag_structured_config is arista.avd.defined %} + struct_cfg: {{ switch.mlag_structured_config }} +{% endif %} diff --git a/ansible_collections/arista/avd/roles/eos_designs/templates/underlay/interfaces/ethernet-interfaces.j2 b/ansible_collections/arista/avd/roles/eos_designs/templates/underlay/interfaces/ethernet-interfaces.j2 index 43abbc79d7b..1b2eade4c55 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/templates/underlay/interfaces/ethernet-interfaces.j2 +++ b/ansible_collections/arista/avd/roles/eos_designs/templates/underlay/interfaces/ethernet-interfaces.j2 @@ -53,6 +53,9 @@ ethernet_interfaces: {% if link.link_tracking_groups is arista.avd.defined %} link_tracking_groups: {{ link.link_tracking_groups }} {% endif %} +{% if link.structured_config is arista.avd.defined %} + struct_cfg: {{ link.structured_config }} +{% endif %} {# L2 interfaces #} {% elif link.type is arista.avd.defined('underlay_l2') %} {{ link.interface }}: diff --git a/ansible_collections/arista/avd/roles/eos_designs/templates/underlay/interfaces/port-channel-interfaces.j2 b/ansible_collections/arista/avd/roles/eos_designs/templates/underlay/interfaces/port-channel-interfaces.j2 index 90cff136abf..5b91974a0ab 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/templates/underlay/interfaces/port-channel-interfaces.j2 +++ b/ansible_collections/arista/avd/roles/eos_designs/templates/underlay/interfaces/port-channel-interfaces.j2 @@ -29,5 +29,8 @@ port_channel_interfaces: {% if link.link_tracking_groups is arista.avd.defined %} link_tracking_groups: {{ link.link_tracking_groups }} {% endif %} +{% if link.structured_config is arista.avd.defined %} + struct_cfg: {{ link.structured_config }} +{% endif %} {% endif %} {% endfor %} diff --git a/ansible_collections/arista/avd/roles/eos_designs/templates/underlay/logic.j2 b/ansible_collections/arista/avd/roles/eos_designs/templates/underlay/logic.j2 index 70f695e12fc..2729b533d84 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/templates/underlay/logic.j2 +++ b/ansible_collections/arista/avd/roles/eos_designs/templates/underlay/logic.j2 @@ -29,6 +29,7 @@ "mac_security": peer_uplink.mac_security | arista.avd.default, "short_esi": peer_uplink.peer_short_esi | arista.avd.default, "ipv6_enable": peer_uplink.ipv6_enable | arista.avd.default, + "structured_config": peer_uplink.structured_config | arista.avd.default, }) %} {% endif %} {% endfor %} From 095413fef5ae2ac6f9b2afbeeb185d17e7da78ca Mon Sep 17 00:00:00 2001 From: Carl Buchmann Date: Fri, 10 Jun 2022 17:11:28 -0400 Subject: [PATCH 02/10] expand mlag knobs to be more specific --- .../plugins/module_utils/eos_designs_facts.py | 16 ++++++++++++++-- .../roles/eos_designs/doc/fabric-topology.md | 18 ++++++++++++++---- .../templates/mlag/port-channel-interfaces.j2 | 4 ++-- .../templates/mlag/vlan-interfaces.j2 | 10 ++++++++++ 4 files changed, 40 insertions(+), 8 deletions(-) diff --git a/ansible_collections/arista/avd/plugins/module_utils/eos_designs_facts.py b/ansible_collections/arista/avd/plugins/module_utils/eos_designs_facts.py index 2d29b213c8b..edf34342fe5 100644 --- a/ansible_collections/arista/avd/plugins/module_utils/eos_designs_facts.py +++ b/ansible_collections/arista/avd/plugins/module_utils/eos_designs_facts.py @@ -969,9 +969,21 @@ def mlag_peer_l3_ipv4_pool(self): return None @cached_property - def mlag_structured_config(self): + def mlag_port_channel_structured_config(self): if self.mlag is True: - return get(self._switch_data_combined, "mlag_structured_config") + return get(self._switch_data_combined, "mlag_port_channel_structured_config") + return None + + @cached_property + def mlag_peer_vlan_structured_config(self): + if self.mlag is True: + return get(self._switch_data_combined, "mlag_peer_vlan_structured_config") + return None + + @cached_property + def mlag_peer_l3_vlan_structured_config(self): + if self.mlag is True: + return get(self._switch_data_combined, "mlag_peer_l3_vlan_structured_config") return None @cached_property diff --git a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md index 0055d7e61ea..8c6951063b2 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md +++ b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md @@ -383,7 +383,7 @@ defaults <- node_group <- node_group.node <- node # IP is derived from the node id. mlag_peer_l3_ipv4_pool: < IPv4_network/Mask > - # MLAG Peer Link (control link) SVI interface id + # MLAG Peer Link (control link) SVI interface id. mlag_peer_vlan: < 0-4094 | default -> 4094 > # MLAG Peer Link allowed VLANs @@ -393,10 +393,20 @@ defaults <- node_group <- node_group.node <- node # IP is derived from the node id. mlag_peer_ipv4_pool: < IPv4_network/Mask > - # Custom structured config applied to mlag port-channel interface - # Added under port_channel_interfaces. for eos_cli_config_gen + # Custom structured config applied to MLAG peer link port-channel id. + # Added under port_channel_interfaces. for eos_cli_config_gen. # Overrides the settings on the port-channel interface level. - mlag_structured_config: < dictionary > + mlag_port_channel_structured_config: < dictionary > + + # Custom structured config applied to MLAG Peer Link (control link) SVI interface id. + # Added under vlan_interfaces. for eos_cli_config_gen. + # Overrides the settings on the vlan interface level. + mlag_peer_vlan_structured_config: < dictionary > + + # Custom structured config applied to MLAG underlay L3 peering SVI interface id. + # Added under vlan_interfaces. for eos_cli_config_gen. + # Overrides the settings on the vlan interface level. + mlag_peer_l3_vlan_structured_config: < dictionary > # Spanning tree mode | Required. spanning_tree_mode: < mstp | rstp | rapid-pvst | none > diff --git a/ansible_collections/arista/avd/roles/eos_designs/templates/mlag/port-channel-interfaces.j2 b/ansible_collections/arista/avd/roles/eos_designs/templates/mlag/port-channel-interfaces.j2 index 388bc8975f8..bde731f87b9 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/templates/mlag/port-channel-interfaces.j2 +++ b/ansible_collections/arista/avd/roles/eos_designs/templates/mlag/port-channel-interfaces.j2 @@ -16,6 +16,6 @@ port_channel_interfaces: - LEAF_PEER_L3 {% endif %} - MLAG -{% if switch.mlag_structured_config is arista.avd.defined %} - struct_cfg: {{ switch.mlag_structured_config }} +{% if switch.mlag_port_channel_structured_config is arista.avd.defined %} + struct_cfg: {{ switch.mlag_port_channel_structured_config }} {% endif %} diff --git a/ansible_collections/arista/avd/roles/eos_designs/templates/mlag/vlan-interfaces.j2 b/ansible_collections/arista/avd/roles/eos_designs/templates/mlag/vlan-interfaces.j2 index 4f73309ea7b..bbd543defd0 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/templates/mlag/vlan-interfaces.j2 +++ b/ansible_collections/arista/avd/roles/eos_designs/templates/mlag/vlan-interfaces.j2 @@ -19,6 +19,9 @@ vlan_interfaces: isis_metric: 50 isis_network_point_to_point: true {% endif %} +{% if switch.mlag_peer_l3_vlan_structured_config is arista.avd.defined %} + struct_cfg: {{ switch.mlag_peer_l3_vlan_structured_config }} +{% endif %} {% endif %} Vlan{{ switch.mlag_peer_vlan }}: description: MLAG_PEER @@ -26,6 +29,9 @@ vlan_interfaces: ip_address: {{ switch.mlag_ip }}/31 no_autostate: true mtu: {{ p2p_uplinks_mtu }} +{% if switch.mlag_peer_vlan_structured_config is arista.avd.defined %} + struct_cfg: {{ switch.mlag_peer_vlan_structured_config }} +{% endif %} {% if switch.mlag_l3 is arista.avd.defined(true) and switch.mlag_peer_l3_vlan is not arista.avd.defined %} {# Reuse MLAG vlan for L3 peering #} @@ -40,4 +46,8 @@ vlan_interfaces: isis_metric: 50 isis_network_point_to_point: true {% endif %} +{% if switch.mlag_peer_l3_vlan_structured_config is arista.avd.defined + and switch.mlag_peer_vlan_structured_config is not arista.avd.defined %} + struct_cfg: {{ switch.mlag_peer_l3_vlan_structured_config }} +{% endif %} {% endif %} From 76229056b5981890f542cdef408d3b0adeafd221 Mon Sep 17 00:00:00 2001 From: Carl Buchmann Date: Wed, 22 Jun 2022 16:20:59 -0400 Subject: [PATCH 03/10] + Molecule test case --- .../UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.md | 481 +++++++++++ .../UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.md | 481 +++++++++++ .../UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.md | 792 ++++++++++++++++++ .../UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.md | 792 ++++++++++++++++++ .../UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.md | 535 ++++++++++++ .../UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.md | 535 ++++++++++++ .../EOS_DESIGNS_UNIT_TESTS-documentation.md | 34 +- .../EOS_DESIGNS_UNIT_TESTS-p2p-links.csv | 4 + .../EOS_DESIGNS_UNIT_TESTS-topology.csv | 24 + ...UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.cfg | 118 +++ ...UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.cfg | 118 +++ ...UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.cfg | 224 +++++ ...UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.cfg | 224 +++++ .../UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.cfg | 123 +++ .../UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.cfg | 123 +++ ...UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.yml | 168 ++++ ...UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.yml | 168 ++++ ...UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.yml | 320 +++++++ ...UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.yml | 320 +++++++ .../UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.yml | 166 ++++ .../UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.yml | 166 ++++ .../UPLINK_MLAG_STRUCTURED_CONFIG_L2LEAFS.yml | 37 + .../UPLINK_MLAG_STRUCTURED_CONFIG_L3LEAFS.yml | 40 + .../UPLINK_MLAG_STRUCTURED_CONFIG_SPINES.yml | 16 + .../inventory/hosts.yml | 14 + 25 files changed, 6020 insertions(+), 3 deletions(-) create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.md create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.md create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.md create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.md create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.md create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.md create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.cfg create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.cfg create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.cfg create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.cfg create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.cfg create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.cfg create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.yml create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.yml create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.yml create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.yml create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.yml create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.yml create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L2LEAFS.yml create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L3LEAFS.yml create mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_SPINES.yml diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.md new file mode 100644 index 00000000000..976903bb28c --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.md @@ -0,0 +1,481 @@ +# UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A +# Table of Contents + +- [Management](#management) + - [Management Interfaces](#management-interfaces) + - [Name Servers](#name-servers) + - [NTP](#ntp) + - [Management API HTTP](#management-api-http) +- [Authentication](#authentication) + - [Local Users](#local-users) +- [System Boot Settings](#system-boot-settings) + - [Boot Secret Summary](#boot-secret-summary) + - [System Boot Configuration](#system-boot-configuration) +- [Monitoring](#monitoring) + - [TerminAttr Daemon](#terminattr-daemon) + - [SNMP](#snmp) +- [MLAG](#mlag) + - [MLAG Summary](#mlag-summary) + - [MLAG Device Configuration](#mlag-device-configuration) +- [Spanning Tree](#spanning-tree) + - [Spanning Tree Summary](#spanning-tree-summary) + - [Spanning Tree Device Configuration](#spanning-tree-device-configuration) +- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) + - [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) + - [Internal VLAN Allocation Policy Configuration](#internal-vlan-allocation-policy-configuration) +- [VLANs](#vlans) + - [VLANs Summary](#vlans-summary) + - [VLANs Device Configuration](#vlans-device-configuration) +- [Interfaces](#interfaces) + - [Ethernet Interfaces](#ethernet-interfaces) + - [Port-Channel Interfaces](#port-channel-interfaces) + - [VLAN Interfaces](#vlan-interfaces) +- [Routing](#routing) + - [Service Routing Protocols Model](#service-routing-protocols-model) + - [IP Routing](#ip-routing) + - [IPv6 Routing](#ipv6-routing) + - [Static Routes](#static-routes) +- [Multicast](#multicast) + - [IP IGMP Snooping](#ip-igmp-snooping) +- [Filters](#filters) +- [ACL](#acl) +- [VRF Instances](#vrf-instances) + - [VRF Instances Summary](#vrf-instances-summary) + - [VRF Instances Device Configuration](#vrf-instances-device-configuration) +- [Quality Of Service](#quality-of-service) + +# Management + +## Management Interfaces + +### Management Interfaces Summary + +#### IPv4 + +| Management Interface | description | Type | VRF | IP Address | Gateway | +| -------------------- | ----------- | ---- | --- | ---------- | ------- | +| Management1 | oob_management | oob | MGMT | 192.168.201.201/24 | 192.168.200.5 | + +#### IPv6 + +| Management Interface | description | Type | VRF | IPv6 Address | IPv6 Gateway | +| -------------------- | ----------- | ---- | --- | ------------ | ------------ | +| Management1 | oob_management | oob | MGMT | - | - | + +### Management Interfaces Device Configuration + +```eos +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.201.201/24 +``` + +## Name Servers + +### Name Servers Summary + +| Name Server | Source VRF | +| ----------- | ---------- | +| 192.168.200.5 | MGMT | +| 8.8.8.8 | MGMT | + +### Name Servers Device Configuration + +```eos +ip name-server vrf MGMT 8.8.8.8 +ip name-server vrf MGMT 192.168.200.5 +``` + +## NTP + +### NTP Summary + +#### NTP Local Interface + +| Interface | VRF | +| --------- | --- | +| Management1 | MGMT | + +#### NTP Servers + +| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key | +| ------ | --- | --------- | ----- | ------ | ------- | -------- | -------- | --------------- | --- | +| 192.168.200.5 | MGMT | True | - | - | - | - | - | - | - | + +### NTP Device Configuration + +```eos +! +ntp local-interface vrf MGMT Management1 +ntp server vrf MGMT 192.168.200.5 prefer +``` + +## Management API HTTP + +### Management API HTTP Summary + +| HTTP | HTTPS | Default Services | +| ---- | ----- | ---------------- | +| False | True | False | + +### Management API VRF Access + +| VRF Name | IPv4 ACL | IPv6 ACL | +| -------- | -------- | -------- | +| MGMT | - | - | + +### Management API HTTP Configuration + +```eos +! +management api http-commands + protocol https + no default-services + no shutdown + ! + vrf MGMT + no shutdown +``` + +# Authentication + +## Local Users + +### Local Users Summary + +| User | Privilege | Role | +| ---- | --------- | ---- | +| admin | 15 | network-admin | +| cvpadmin | 15 | network-admin | + +### Local Users Device Configuration + +```eos +! +username admin privilege 15 role network-admin nopassword +username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. +username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local +``` + +# System Boot Settings + +## Boot Secret Summary + +- The sha512 hashed Aboot password is configured + +## System Boot Configuration + +```eos +! +boot secret sha512 a153de6290ff1409257ade45f +``` + +# Monitoring + +## TerminAttr Daemon + +### TerminAttr Daemon Summary + +| CV Compression | CloudVision Servers | VRF | Authentication | Smash Excludes | Ingest Exclude | Bypass AAA | +| -------------- | ------------------- | --- | -------------- | -------------- | -------------- | ---------- | +| gzip | 192.168.200.11:9910 | MGMT | key,telarista | ale,flexCounter,hardware,kni,pulse,strata | /Sysdb/cell/1/agent,/Sysdb/cell/2/agent | False | + +### TerminAttr Daemon Device Configuration + +```eos +! +daemon TerminAttr + exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs + no shutdown +``` + +## SNMP + +### SNMP Configuration Summary + +| Contact | Location | SNMP Traps | State | +| ------- | -------- | ---------- | ----- | +| example@example.com | EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A | All | Disabled | + +### SNMP Device Configuration + +```eos +! +snmp-server contact example@example.com +snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A +``` + +# MLAG + +## MLAG Summary + +| Domain-id | Local-interface | Peer-address | Peer-link | +| --------- | --------------- | ------------ | --------- | +| UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1 | Vlan4094 | 10.255.252.1 | Port-Channel3 | + +Dual primary detection is disabled. + +## MLAG Device Configuration + +```eos +! +mlag configuration + domain-id UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1 + local-interface Vlan4094 + peer-address 10.255.252.1 + peer-link Port-Channel3 + reload-delay mlag 300 + reload-delay non-mlag 330 +``` + +# Spanning Tree + +## Spanning Tree Summary + +STP mode: **mstp** + +### MSTP Instance and Priority + +| Instance(s) | Priority | +| -------- | -------- | +| 0 | 16384 | + +### Global Spanning-Tree Settings + +- Spanning Tree disabled for VLANs: **4094** + +## Spanning Tree Device Configuration + +```eos +! +spanning-tree mode mstp +no spanning-tree vlan-id 4094 +spanning-tree mst 0 priority 16384 +``` + +# Internal VLAN Allocation Policy + +## Internal VLAN Allocation Policy Summary + +| Policy Allocation | Range Beginning | Range Ending | +| ------------------| --------------- | ------------ | +| ascending | 1006 | 1199 | + +## Internal VLAN Allocation Policy Configuration + +```eos +! +vlan internal order ascending range 1006 1199 +``` + +# VLANs + +## VLANs Summary + +| VLAN ID | Name | Trunk Groups | +| ------- | ---- | ------------ | +| 4094 | MLAG_PEER | MLAG | + +## VLANs Device Configuration + +```eos +! +vlan 4094 + name MLAG_PEER + trunk group MLAG +``` + +# Interfaces + +## Ethernet Interfaces + +### Ethernet Interfaces Summary + +#### L2 + +| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group | +| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- | +| Ethernet1 | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet5 | *trunk | *none | *tag | *- | 1 | +| Ethernet2 | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet5 | *trunk | *none | *tag | *- | 1 | +| Ethernet3 | MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet3 | *trunk | *2-4094 | *tag | *['MLAG'] | 3 | +| Ethernet4 | MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet4 | *trunk | *2-4094 | *tag | *['MLAG'] | 3 | + +*Inherited from Port-Channel Interface + +### Ethernet Interfaces Device Configuration + +```eos +! +interface Ethernet1 + description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet5 + no shutdown + channel-group 1 mode active +! +interface Ethernet2 + description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet5 + no shutdown + channel-group 1 mode active +! +interface Ethernet3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet3 + no shutdown + channel-group 3 mode active +! +interface Ethernet4 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet4 + no shutdown + channel-group 3 mode active +``` + +## Port-Channel Interfaces + +### Port-Channel Interfaces Summary + +#### L2 + +| Interface | Description | Type | Mode | VLANs | Native VLAN | Trunk Group | LACP Fallback Timeout | LACP Fallback Mode | MLAG ID | EVPN ESI | +| --------- | ----------- | ---- | ---- | ----- | ----------- | ------------| --------------------- | ------------------ | ------- | -------- | +| Port-Channel1 | DC1_LEAF1_Po5 | switched | trunk | none | tag | - | - | - | 1 | - | +| Port-Channel3 | MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Po3 | switched | trunk | 2-4094 | tag | ['MLAG'] | - | - | - | - | + +### Port-Channel Interfaces Device Configuration + +```eos +! +interface Port-Channel1 + description DC1_LEAF1_Po5 + no shutdown + switchport + switchport trunk allowed vlan none + switchport trunk native vlan tag + switchport mode trunk + mlag 1 + storm-control broadcast level 25 + storm-control unknown-unicast level 25 +! +interface Port-Channel3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Po3 + no shutdown + switchport + switchport trunk allowed vlan 2-4094 + switchport trunk native vlan tag + switchport mode trunk + switchport trunk group MLAG + storm-control broadcast level 25 + storm-control unknown-unicast level 25 +``` + +## VLAN Interfaces + +### VLAN Interfaces Summary + +| Interface | Description | VRF | MTU | Shutdown | +| --------- | ----------- | --- | ---- | -------- | +| Vlan4094 | MLAG_PEER | default | 1500 | false | + +#### IPv4 + +| Interface | VRF | IP Address | IP Address Virtual | IP Router Virtual Address | VRRP | ACL In | ACL Out | +| --------- | --- | ---------- | ------------------ | ------------------------- | ---- | ------ | ------- | +| Vlan4094 | default | 10.255.252.0/31 | - | - | - | - | - | + +### VLAN Interfaces Device Configuration + +```eos +! +interface Vlan4094 + description MLAG_PEER + no shutdown + mtu 1500 + no autostate + ip address 10.255.252.0/31 +``` + +# Routing +## Service Routing Protocols Model + +Multi agent routing protocol model enabled + +```eos +! +service routing protocols model multi-agent +``` + +## IP Routing + +### IP Routing Summary + +| VRF | Routing Enabled | +| --- | --------------- | +| default | true | +| MGMT | false | + +### IP Routing Device Configuration + +```eos +! +ip routing +no ip routing vrf MGMT +``` +## IPv6 Routing + +### IPv6 Routing Summary + +| VRF | Routing Enabled | +| --- | --------------- | +| default | false | +| MGMT | false | + +## Static Routes + +### Static Routes Summary + +| VRF | Destination Prefix | Next Hop IP | Exit interface | Administrative Distance | Tag | Route Name | Metric | +| --- | ------------------ | ----------------------- | ------------------- | ----------------------------- | ----------------- | ----------------------------- | -------------- | +| MGMT | 0.0.0.0/0 | 192.168.200.5 | - | 1 | - | - | - | + +### Static Routes Device Configuration + +```eos +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.5 +``` + +# Multicast + +## IP IGMP Snooping + +### IP IGMP Snooping Summary + +| IGMP Snooping | Fast Leave | Interface Restart Query | Proxy | Restart Query Interval | Robustness Variable | +| ------------- | ---------- | ----------------------- | ----- | ---------------------- | ------------------- | +| Enabled | - | - | - | - | - | + +### IP IGMP Snooping Device Configuration + +```eos +``` + +# Filters + +# ACL + +# VRF Instances + +## VRF Instances Summary + +| VRF Name | IP Routing | +| -------- | ---------- | +| MGMT | disabled | + +## VRF Instances Device Configuration + +```eos +! +vrf instance MGMT +``` + +# Quality Of Service diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.md new file mode 100644 index 00000000000..ee0524935de --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.md @@ -0,0 +1,481 @@ +# UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B +# Table of Contents + +- [Management](#management) + - [Management Interfaces](#management-interfaces) + - [Name Servers](#name-servers) + - [NTP](#ntp) + - [Management API HTTP](#management-api-http) +- [Authentication](#authentication) + - [Local Users](#local-users) +- [System Boot Settings](#system-boot-settings) + - [Boot Secret Summary](#boot-secret-summary) + - [System Boot Configuration](#system-boot-configuration) +- [Monitoring](#monitoring) + - [TerminAttr Daemon](#terminattr-daemon) + - [SNMP](#snmp) +- [MLAG](#mlag) + - [MLAG Summary](#mlag-summary) + - [MLAG Device Configuration](#mlag-device-configuration) +- [Spanning Tree](#spanning-tree) + - [Spanning Tree Summary](#spanning-tree-summary) + - [Spanning Tree Device Configuration](#spanning-tree-device-configuration) +- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) + - [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) + - [Internal VLAN Allocation Policy Configuration](#internal-vlan-allocation-policy-configuration) +- [VLANs](#vlans) + - [VLANs Summary](#vlans-summary) + - [VLANs Device Configuration](#vlans-device-configuration) +- [Interfaces](#interfaces) + - [Ethernet Interfaces](#ethernet-interfaces) + - [Port-Channel Interfaces](#port-channel-interfaces) + - [VLAN Interfaces](#vlan-interfaces) +- [Routing](#routing) + - [Service Routing Protocols Model](#service-routing-protocols-model) + - [IP Routing](#ip-routing) + - [IPv6 Routing](#ipv6-routing) + - [Static Routes](#static-routes) +- [Multicast](#multicast) + - [IP IGMP Snooping](#ip-igmp-snooping) +- [Filters](#filters) +- [ACL](#acl) +- [VRF Instances](#vrf-instances) + - [VRF Instances Summary](#vrf-instances-summary) + - [VRF Instances Device Configuration](#vrf-instances-device-configuration) +- [Quality Of Service](#quality-of-service) + +# Management + +## Management Interfaces + +### Management Interfaces Summary + +#### IPv4 + +| Management Interface | description | Type | VRF | IP Address | Gateway | +| -------------------- | ----------- | ---- | --- | ---------- | ------- | +| Management1 | oob_management | oob | MGMT | 192.168.201.201/24 | 192.168.200.5 | + +#### IPv6 + +| Management Interface | description | Type | VRF | IPv6 Address | IPv6 Gateway | +| -------------------- | ----------- | ---- | --- | ------------ | ------------ | +| Management1 | oob_management | oob | MGMT | - | - | + +### Management Interfaces Device Configuration + +```eos +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.201.201/24 +``` + +## Name Servers + +### Name Servers Summary + +| Name Server | Source VRF | +| ----------- | ---------- | +| 192.168.200.5 | MGMT | +| 8.8.8.8 | MGMT | + +### Name Servers Device Configuration + +```eos +ip name-server vrf MGMT 8.8.8.8 +ip name-server vrf MGMT 192.168.200.5 +``` + +## NTP + +### NTP Summary + +#### NTP Local Interface + +| Interface | VRF | +| --------- | --- | +| Management1 | MGMT | + +#### NTP Servers + +| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key | +| ------ | --- | --------- | ----- | ------ | ------- | -------- | -------- | --------------- | --- | +| 192.168.200.5 | MGMT | True | - | - | - | - | - | - | - | + +### NTP Device Configuration + +```eos +! +ntp local-interface vrf MGMT Management1 +ntp server vrf MGMT 192.168.200.5 prefer +``` + +## Management API HTTP + +### Management API HTTP Summary + +| HTTP | HTTPS | Default Services | +| ---- | ----- | ---------------- | +| False | True | False | + +### Management API VRF Access + +| VRF Name | IPv4 ACL | IPv6 ACL | +| -------- | -------- | -------- | +| MGMT | - | - | + +### Management API HTTP Configuration + +```eos +! +management api http-commands + protocol https + no default-services + no shutdown + ! + vrf MGMT + no shutdown +``` + +# Authentication + +## Local Users + +### Local Users Summary + +| User | Privilege | Role | +| ---- | --------- | ---- | +| admin | 15 | network-admin | +| cvpadmin | 15 | network-admin | + +### Local Users Device Configuration + +```eos +! +username admin privilege 15 role network-admin nopassword +username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. +username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local +``` + +# System Boot Settings + +## Boot Secret Summary + +- The sha512 hashed Aboot password is configured + +## System Boot Configuration + +```eos +! +boot secret sha512 a153de6290ff1409257ade45f +``` + +# Monitoring + +## TerminAttr Daemon + +### TerminAttr Daemon Summary + +| CV Compression | CloudVision Servers | VRF | Authentication | Smash Excludes | Ingest Exclude | Bypass AAA | +| -------------- | ------------------- | --- | -------------- | -------------- | -------------- | ---------- | +| gzip | 192.168.200.11:9910 | MGMT | key,telarista | ale,flexCounter,hardware,kni,pulse,strata | /Sysdb/cell/1/agent,/Sysdb/cell/2/agent | False | + +### TerminAttr Daemon Device Configuration + +```eos +! +daemon TerminAttr + exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs + no shutdown +``` + +## SNMP + +### SNMP Configuration Summary + +| Contact | Location | SNMP Traps | State | +| ------- | -------- | ---------- | ----- | +| example@example.com | EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B | All | Disabled | + +### SNMP Device Configuration + +```eos +! +snmp-server contact example@example.com +snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B +``` + +# MLAG + +## MLAG Summary + +| Domain-id | Local-interface | Peer-address | Peer-link | +| --------- | --------------- | ------------ | --------- | +| UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1 | Vlan4094 | 10.255.252.0 | Port-Channel3 | + +Dual primary detection is disabled. + +## MLAG Device Configuration + +```eos +! +mlag configuration + domain-id UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1 + local-interface Vlan4094 + peer-address 10.255.252.0 + peer-link Port-Channel3 + reload-delay mlag 300 + reload-delay non-mlag 330 +``` + +# Spanning Tree + +## Spanning Tree Summary + +STP mode: **mstp** + +### MSTP Instance and Priority + +| Instance(s) | Priority | +| -------- | -------- | +| 0 | 16384 | + +### Global Spanning-Tree Settings + +- Spanning Tree disabled for VLANs: **4094** + +## Spanning Tree Device Configuration + +```eos +! +spanning-tree mode mstp +no spanning-tree vlan-id 4094 +spanning-tree mst 0 priority 16384 +``` + +# Internal VLAN Allocation Policy + +## Internal VLAN Allocation Policy Summary + +| Policy Allocation | Range Beginning | Range Ending | +| ------------------| --------------- | ------------ | +| ascending | 1006 | 1199 | + +## Internal VLAN Allocation Policy Configuration + +```eos +! +vlan internal order ascending range 1006 1199 +``` + +# VLANs + +## VLANs Summary + +| VLAN ID | Name | Trunk Groups | +| ------- | ---- | ------------ | +| 4094 | MLAG_PEER | MLAG | + +## VLANs Device Configuration + +```eos +! +vlan 4094 + name MLAG_PEER + trunk group MLAG +``` + +# Interfaces + +## Ethernet Interfaces + +### Ethernet Interfaces Summary + +#### L2 + +| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group | +| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- | +| Ethernet1 | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet6 | *trunk | *none | *tag | *- | 1 | +| Ethernet2 | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet6 | *trunk | *none | *tag | *- | 1 | +| Ethernet3 | MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet3 | *trunk | *2-4094 | *tag | *['MLAG'] | 3 | +| Ethernet4 | MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet4 | *trunk | *2-4094 | *tag | *['MLAG'] | 3 | + +*Inherited from Port-Channel Interface + +### Ethernet Interfaces Device Configuration + +```eos +! +interface Ethernet1 + description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet6 + no shutdown + channel-group 1 mode active +! +interface Ethernet2 + description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet6 + no shutdown + channel-group 1 mode active +! +interface Ethernet3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet3 + no shutdown + channel-group 3 mode active +! +interface Ethernet4 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet4 + no shutdown + channel-group 3 mode active +``` + +## Port-Channel Interfaces + +### Port-Channel Interfaces Summary + +#### L2 + +| Interface | Description | Type | Mode | VLANs | Native VLAN | Trunk Group | LACP Fallback Timeout | LACP Fallback Mode | MLAG ID | EVPN ESI | +| --------- | ----------- | ---- | ---- | ----- | ----------- | ------------| --------------------- | ------------------ | ------- | -------- | +| Port-Channel1 | DC1_LEAF1_Po5 | switched | trunk | none | tag | - | - | - | 1 | - | +| Port-Channel3 | MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Po3 | switched | trunk | 2-4094 | tag | ['MLAG'] | - | - | - | - | + +### Port-Channel Interfaces Device Configuration + +```eos +! +interface Port-Channel1 + description DC1_LEAF1_Po5 + no shutdown + switchport + switchport trunk allowed vlan none + switchport trunk native vlan tag + switchport mode trunk + mlag 1 + storm-control broadcast level 25 + storm-control unknown-unicast level 25 +! +interface Port-Channel3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Po3 + no shutdown + switchport + switchport trunk allowed vlan 2-4094 + switchport trunk native vlan tag + switchport mode trunk + switchport trunk group MLAG + storm-control broadcast level 25 + storm-control unknown-unicast level 25 +``` + +## VLAN Interfaces + +### VLAN Interfaces Summary + +| Interface | Description | VRF | MTU | Shutdown | +| --------- | ----------- | --- | ---- | -------- | +| Vlan4094 | MLAG_PEER | default | 1500 | false | + +#### IPv4 + +| Interface | VRF | IP Address | IP Address Virtual | IP Router Virtual Address | VRRP | ACL In | ACL Out | +| --------- | --- | ---------- | ------------------ | ------------------------- | ---- | ------ | ------- | +| Vlan4094 | default | 10.255.252.1/31 | - | - | - | - | - | + +### VLAN Interfaces Device Configuration + +```eos +! +interface Vlan4094 + description MLAG_PEER + no shutdown + mtu 1500 + no autostate + ip address 10.255.252.1/31 +``` + +# Routing +## Service Routing Protocols Model + +Multi agent routing protocol model enabled + +```eos +! +service routing protocols model multi-agent +``` + +## IP Routing + +### IP Routing Summary + +| VRF | Routing Enabled | +| --- | --------------- | +| default | true | +| MGMT | false | + +### IP Routing Device Configuration + +```eos +! +ip routing +no ip routing vrf MGMT +``` +## IPv6 Routing + +### IPv6 Routing Summary + +| VRF | Routing Enabled | +| --- | --------------- | +| default | false | +| MGMT | false | + +## Static Routes + +### Static Routes Summary + +| VRF | Destination Prefix | Next Hop IP | Exit interface | Administrative Distance | Tag | Route Name | Metric | +| --- | ------------------ | ----------------------- | ------------------- | ----------------------------- | ----------------- | ----------------------------- | -------------- | +| MGMT | 0.0.0.0/0 | 192.168.200.5 | - | 1 | - | - | - | + +### Static Routes Device Configuration + +```eos +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.5 +``` + +# Multicast + +## IP IGMP Snooping + +### IP IGMP Snooping Summary + +| IGMP Snooping | Fast Leave | Interface Restart Query | Proxy | Restart Query Interval | Robustness Variable | +| ------------- | ---------- | ----------------------- | ----- | ---------------------- | ------------------- | +| Enabled | - | - | - | - | - | + +### IP IGMP Snooping Device Configuration + +```eos +``` + +# Filters + +# ACL + +# VRF Instances + +## VRF Instances Summary + +| VRF Name | IP Routing | +| -------- | ---------- | +| MGMT | disabled | + +## VRF Instances Device Configuration + +```eos +! +vrf instance MGMT +``` + +# Quality Of Service diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.md new file mode 100644 index 00000000000..381d1ef1c69 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.md @@ -0,0 +1,792 @@ +# UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A +# Table of Contents + +- [Management](#management) + - [Management Interfaces](#management-interfaces) + - [Name Servers](#name-servers) + - [NTP](#ntp) + - [Management API HTTP](#management-api-http) +- [Authentication](#authentication) + - [Local Users](#local-users) +- [System Boot Settings](#system-boot-settings) + - [Boot Secret Summary](#boot-secret-summary) + - [System Boot Configuration](#system-boot-configuration) +- [Monitoring](#monitoring) + - [TerminAttr Daemon](#terminattr-daemon) + - [SNMP](#snmp) +- [MLAG](#mlag) + - [MLAG Summary](#mlag-summary) + - [MLAG Device Configuration](#mlag-device-configuration) +- [Spanning Tree](#spanning-tree) + - [Spanning Tree Summary](#spanning-tree-summary) + - [Spanning Tree Device Configuration](#spanning-tree-device-configuration) +- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) + - [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) + - [Internal VLAN Allocation Policy Configuration](#internal-vlan-allocation-policy-configuration) +- [VLANs](#vlans) + - [VLANs Summary](#vlans-summary) + - [VLANs Device Configuration](#vlans-device-configuration) +- [Interfaces](#interfaces) + - [Ethernet Interfaces](#ethernet-interfaces) + - [Port-Channel Interfaces](#port-channel-interfaces) + - [Loopback Interfaces](#loopback-interfaces) + - [VLAN Interfaces](#vlan-interfaces) + - [VXLAN Interface](#vxlan-interface) +- [Routing](#routing) + - [Service Routing Protocols Model](#service-routing-protocols-model) + - [Virtual Router MAC Address](#virtual-router-mac-address) + - [IP Routing](#ip-routing) + - [IPv6 Routing](#ipv6-routing) + - [Static Routes](#static-routes) + - [Router BGP](#router-bgp) +- [BFD](#bfd) + - [Router BFD](#router-bfd) +- [Multicast](#multicast) + - [IP IGMP Snooping](#ip-igmp-snooping) + - [PIM Sparse Mode](#pim-sparse-mode) +- [Filters](#filters) + - [Prefix-lists](#prefix-lists) + - [Route-maps](#route-maps) +- [ACL](#acl) +- [VRF Instances](#vrf-instances) + - [VRF Instances Summary](#vrf-instances-summary) + - [VRF Instances Device Configuration](#vrf-instances-device-configuration) +- [Quality Of Service](#quality-of-service) + +# Management + +## Management Interfaces + +### Management Interfaces Summary + +#### IPv4 + +| Management Interface | description | Type | VRF | IP Address | Gateway | +| -------------------- | ----------- | ---- | --- | ---------- | ------- | +| Management1 | oob_management | oob | MGMT | 192.168.200.105/24 | 192.168.200.5 | + +#### IPv6 + +| Management Interface | description | Type | VRF | IPv6 Address | IPv6 Gateway | +| -------------------- | ----------- | ---- | --- | ------------ | ------------ | +| Management1 | oob_management | oob | MGMT | - | - | + +### Management Interfaces Device Configuration + +```eos +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.200.105/24 +``` + +## Name Servers + +### Name Servers Summary + +| Name Server | Source VRF | +| ----------- | ---------- | +| 192.168.200.5 | MGMT | +| 8.8.8.8 | MGMT | + +### Name Servers Device Configuration + +```eos +ip name-server vrf MGMT 8.8.8.8 +ip name-server vrf MGMT 192.168.200.5 +``` + +## NTP + +### NTP Summary + +#### NTP Local Interface + +| Interface | VRF | +| --------- | --- | +| Management1 | MGMT | + +#### NTP Servers + +| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key | +| ------ | --- | --------- | ----- | ------ | ------- | -------- | -------- | --------------- | --- | +| 192.168.200.5 | MGMT | True | - | - | - | - | - | - | - | + +### NTP Device Configuration + +```eos +! +ntp local-interface vrf MGMT Management1 +ntp server vrf MGMT 192.168.200.5 prefer +``` + +## Management API HTTP + +### Management API HTTP Summary + +| HTTP | HTTPS | Default Services | +| ---- | ----- | ---------------- | +| False | True | False | + +### Management API VRF Access + +| VRF Name | IPv4 ACL | IPv6 ACL | +| -------- | -------- | -------- | +| MGMT | - | - | + +### Management API HTTP Configuration + +```eos +! +management api http-commands + protocol https + no default-services + no shutdown + ! + vrf MGMT + no shutdown +``` + +# Authentication + +## Local Users + +### Local Users Summary + +| User | Privilege | Role | +| ---- | --------- | ---- | +| admin | 15 | network-admin | +| cvpadmin | 15 | network-admin | + +### Local Users Device Configuration + +```eos +! +username admin privilege 15 role network-admin nopassword +username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. +username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local +``` + +# System Boot Settings + +## Boot Secret Summary + +- The sha512 hashed Aboot password is configured + +## System Boot Configuration + +```eos +! +boot secret sha512 a153de6290ff1409257ade45f +``` + +# Monitoring + +## TerminAttr Daemon + +### TerminAttr Daemon Summary + +| CV Compression | CloudVision Servers | VRF | Authentication | Smash Excludes | Ingest Exclude | Bypass AAA | +| -------------- | ------------------- | --- | -------------- | -------------- | -------------- | ---------- | +| gzip | 192.168.200.11:9910 | MGMT | key,telarista | ale,flexCounter,hardware,kni,pulse,strata | /Sysdb/cell/1/agent,/Sysdb/cell/2/agent | False | + +### TerminAttr Daemon Device Configuration + +```eos +! +daemon TerminAttr + exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs + no shutdown +``` + +## SNMP + +### SNMP Configuration Summary + +| Contact | Location | SNMP Traps | State | +| ------- | -------- | ---------- | ----- | +| example@example.com | EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | All | Disabled | + +### SNMP Device Configuration + +```eos +! +snmp-server contact example@example.com +snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A +``` + +# MLAG + +## MLAG Summary + +| Domain-id | Local-interface | Peer-address | Peer-link | +| --------- | --------------- | ------------ | --------- | +| DC1_LEAF1 | Vlan4094 | 10.255.252.1 | Port-Channel3 | + +Dual primary detection is disabled. + +## MLAG Device Configuration + +```eos +! +mlag configuration + domain-id DC1_LEAF1 + local-interface Vlan4094 + peer-address 10.255.252.1 + peer-link Port-Channel3 + reload-delay mlag 300 + reload-delay non-mlag 330 +``` + +# Spanning Tree + +## Spanning Tree Summary + +STP mode: **mstp** + +### MSTP Instance and Priority + +| Instance(s) | Priority | +| -------- | -------- | +| 0 | 4096 | + +### Global Spanning-Tree Settings + +- Spanning Tree disabled for VLANs: **4093-4094** + +## Spanning Tree Device Configuration + +```eos +! +spanning-tree mode mstp +no spanning-tree vlan-id 4093-4094 +spanning-tree mst 0 priority 4096 +``` + +# Internal VLAN Allocation Policy + +## Internal VLAN Allocation Policy Summary + +| Policy Allocation | Range Beginning | Range Ending | +| ------------------| --------------- | ------------ | +| ascending | 1006 | 1199 | + +## Internal VLAN Allocation Policy Configuration + +```eos +! +vlan internal order ascending range 1006 1199 +``` + +# VLANs + +## VLANs Summary + +| VLAN ID | Name | Trunk Groups | +| ------- | ---- | ------------ | +| 4093 | LEAF_PEER_L3 | LEAF_PEER_L3 | +| 4094 | MLAG_PEER | MLAG | + +## VLANs Device Configuration + +```eos +! +vlan 4093 + name LEAF_PEER_L3 + trunk group LEAF_PEER_L3 +! +vlan 4094 + name MLAG_PEER + trunk group MLAG +``` + +# Interfaces + +## Ethernet Interfaces + +### Ethernet Interfaces Summary + +#### L2 + +| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group | +| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- | +| Ethernet3 | MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet3 | *trunk | *2-4094 | *- | *['LEAF_PEER_L3', 'MLAG'] | 3 | +| Ethernet4 | MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet4 | *trunk | *2-4094 | *- | *['LEAF_PEER_L3', 'MLAG'] | 3 | +| Ethernet5 | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet1 | *trunk | *none | *tag | *- | 5 | +| Ethernet6 | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet1 | *trunk | *none | *tag | *- | 5 | + +*Inherited from Port-Channel Interface + +#### IPv4 + +| Interface | Description | Type | Channel Group | IP Address | VRF | MTU | Shutdown | ACL In | ACL Out | +| --------- | ----------- | -----| ------------- | ---------- | ----| ---- | -------- | ------ | ------- | +| Ethernet1 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet1 | routed | - | 172.31.255.1/31 | default | 1500 | false | - | - | +| Ethernet2 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 | routed | - | 172.31.255.3/31 | default | 1500 | false | - | - | + +### Ethernet Interfaces Device Configuration + +```eos +! +interface Ethernet1 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet1 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.1/31 + pim ipv4 sparse-mode +! +interface Ethernet2 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.3/31 + pim ipv4 sparse-mode +! +interface Ethernet3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet3 + no shutdown + channel-group 3 mode active +! +interface Ethernet4 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet4 + no shutdown + channel-group 3 mode active +! +interface Ethernet5 + description UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet1 + no shutdown + channel-group 5 mode active +! +interface Ethernet6 + description UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet1 + no shutdown + channel-group 5 mode active +``` + +## Port-Channel Interfaces + +### Port-Channel Interfaces Summary + +#### L2 + +| Interface | Description | Type | Mode | VLANs | Native VLAN | Trunk Group | LACP Fallback Timeout | LACP Fallback Mode | MLAG ID | EVPN ESI | +| --------- | ----------- | ---- | ---- | ----- | ----------- | ------------| --------------------- | ------------------ | ------- | -------- | +| Port-Channel3 | MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Po3 | switched | trunk | 2-4094 | - | ['LEAF_PEER_L3', 'MLAG'] | - | - | - | - | +| Port-Channel5 | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1_Po1 | switched | trunk | none | tag | - | - | - | 5 | - | + +### Port-Channel Interfaces Device Configuration + +```eos +! +interface Port-Channel3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Po3 + no shutdown + switchport + switchport trunk allowed vlan 2-4094 + switchport mode trunk + switchport trunk group LEAF_PEER_L3 + switchport trunk group MLAG +! +interface Port-Channel5 + description UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1_Po1 + no shutdown + switchport + switchport trunk allowed vlan none + switchport trunk native vlan tag + switchport mode trunk + mlag 5 + storm-control broadcast level 25 + storm-control unknown-unicast level 25 +``` + +## Loopback Interfaces + +### Loopback Interfaces Summary + +#### IPv4 + +| Interface | Description | VRF | IP Address | +| --------- | ----------- | --- | ---------- | +| Loopback0 | EVPN_Overlay_Peering | default | 192.168.255.3/32 | +| Loopback1 | VTEP_VXLAN_Tunnel_Source | default | 192.168.254.3/32 | + +#### IPv6 + +| Interface | Description | VRF | IPv6 Address | +| --------- | ----------- | --- | ------------ | +| Loopback0 | EVPN_Overlay_Peering | default | - | +| Loopback1 | VTEP_VXLAN_Tunnel_Source | default | - | + + +### Loopback Interfaces Device Configuration + +```eos +! +interface Loopback0 + description EVPN_Overlay_Peering + no shutdown + ip address 192.168.255.3/32 +! +interface Loopback1 + description VTEP_VXLAN_Tunnel_Source + no shutdown + ip address 192.168.254.3/32 +``` + +## VLAN Interfaces + +### VLAN Interfaces Summary + +| Interface | Description | VRF | MTU | Shutdown | +| --------- | ----------- | --- | ---- | -------- | +| Vlan4093 | MLAG_PEER_L3_PEERING | default | 1500 | false | +| Vlan4094 | mlag_peer_vlan_structured_config_override | default | 1500 | false | + +#### IPv4 + +| Interface | VRF | IP Address | IP Address Virtual | IP Router Virtual Address | VRRP | ACL In | ACL Out | +| --------- | --- | ---------- | ------------------ | ------------------------- | ---- | ------ | ------- | +| Vlan4093 | default | 10.255.251.0/31 | - | - | - | - | - | +| Vlan4094 | default | 10.255.252.0/31 | - | - | - | - | - | + +### VLAN Interfaces Device Configuration + +```eos +! +interface Vlan4093 + description MLAG_PEER_L3_PEERING + no shutdown + mtu 1500 + ip address 10.255.251.0/31 + pim ipv4 sparse-mode +! +interface Vlan4094 + description mlag_peer_vlan_structured_config_override + no shutdown + mtu 1500 + no autostate + ip address 10.255.252.0/31 +``` + +## VXLAN Interface + +### VXLAN Interface Summary + +| Setting | Value | +| ------- | ----- | +| Source Interface | Loopback1 | +| UDP port | 4789 | +| EVPN MLAG Shared Router MAC | mlag-system-id | + +### VXLAN Interface Device Configuration + +```eos +! +interface Vxlan1 + description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_VTEP + vxlan source-interface Loopback1 + vxlan virtual-router encapsulation mac-address mlag-system-id + vxlan udp-port 4789 +``` + +# Routing +## Service Routing Protocols Model + +Multi agent routing protocol model enabled + +```eos +! +service routing protocols model multi-agent +``` + +## Virtual Router MAC Address + +### Virtual Router MAC Address Summary + +#### Virtual Router MAC Address: 00:dc:00:00:00:0a + +### Virtual Router MAC Address Configuration + +```eos +! +ip virtual-router mac-address 00:dc:00:00:00:0a +``` + +## IP Routing + +### IP Routing Summary + +| VRF | Routing Enabled | +| --- | --------------- | +| default | true | +| MGMT | false | + +### IP Routing Device Configuration + +```eos +! +ip routing +no ip routing vrf MGMT +``` +## IPv6 Routing + +### IPv6 Routing Summary + +| VRF | Routing Enabled | +| --- | --------------- | +| default | false | +| MGMT | false | + +## Static Routes + +### Static Routes Summary + +| VRF | Destination Prefix | Next Hop IP | Exit interface | Administrative Distance | Tag | Route Name | Metric | +| --- | ------------------ | ----------------------- | ------------------- | ----------------------------- | ----------------- | ----------------------------- | -------------- | +| MGMT | 0.0.0.0/0 | 192.168.200.5 | - | 1 | - | - | - | + +### Static Routes Device Configuration + +```eos +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.5 +``` + +## Router BGP + +### Router BGP Summary + +| BGP AS | Router ID | +| ------ | --------- | +| 65101| 192.168.255.3 | + +| BGP Tuning | +| ---------- | +| no bgp default ipv4-unicast | +| distance bgp 20 200 200 | +| maximum-paths 4 ecmp 4 | + +### Router BGP Peer Groups + +#### EVPN-OVERLAY-PEERS + +| Settings | Value | +| -------- | ----- | +| Address Family | evpn | +| Source | Loopback0 | +| BFD | True | +| Ebgp multihop | 3 | +| Send community | all | +| Maximum routes | 0 (no limit) | + +#### MLAG-PEERS + +| Settings | Value | +| -------- | ----- | +| Address Family | ipv4 | +| Remote AS | 65101 | +| Next-hop self | True | +| Send community | all | +| Maximum routes | 12000 | + +#### UNDERLAY-PEERS + +| Settings | Value | +| -------- | ----- | +| Address Family | ipv4 | +| Send community | all | +| Maximum routes | 12000 | + +### BGP Neighbors + +| Neighbor | Remote AS | VRF | Shutdown | Send-community | Maximum-routes | Allowas-in | BFD | RIB Pre-Policy Retain | +| -------- | --------- | --- | -------- | -------------- | -------------- | ---------- | --- | --------------------- | +| 10.255.251.1 | Inherited from peer group MLAG-PEERS | default | - | Inherited from peer group MLAG-PEERS | Inherited from peer group MLAG-PEERS | - | - | - | +| 172.31.255.0 | 65001 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | +| 172.31.255.2 | 65001 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | +| 192.168.255.1 | 65001 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | +| 192.168.255.2 | 65001 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | + +### Router BGP EVPN Address Family + +#### EVPN Peer Groups + +| Peer Group | Activate | +| ---------- | -------- | +| EVPN-OVERLAY-PEERS | True | + +#### EVPN Host Flapping Settings + +| State | Window | Threshold | Expiry Timeout | +| ----- | ------ | --------- | -------------- | +| Enabled | 180 Seconds | 5 | 10 Seconds | + +### Router BGP Device Configuration + +```eos +! +router bgp 65101 + router-id 192.168.255.3 + no bgp default ipv4-unicast + distance bgp 20 200 200 + maximum-paths 4 ecmp 4 + neighbor EVPN-OVERLAY-PEERS peer group + neighbor EVPN-OVERLAY-PEERS update-source Loopback0 + neighbor EVPN-OVERLAY-PEERS bfd + neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 + neighbor EVPN-OVERLAY-PEERS password 7 q+VNViP5i4rVjW1cxFv2wA== + neighbor EVPN-OVERLAY-PEERS send-community + neighbor EVPN-OVERLAY-PEERS maximum-routes 0 + neighbor MLAG-PEERS peer group + neighbor MLAG-PEERS remote-as 65101 + neighbor MLAG-PEERS next-hop-self + neighbor MLAG-PEERS description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + neighbor MLAG-PEERS password 7 vnEaG8gMeQf3d3cN6PktXQ== + neighbor MLAG-PEERS send-community + neighbor MLAG-PEERS maximum-routes 12000 + neighbor MLAG-PEERS route-map RM-MLAG-PEER-IN in + neighbor UNDERLAY-PEERS peer group + neighbor UNDERLAY-PEERS password 7 AQQvKeimxJu+uGQ/yYvv9w== + neighbor UNDERLAY-PEERS send-community + neighbor UNDERLAY-PEERS maximum-routes 12000 + neighbor 10.255.251.1 peer group MLAG-PEERS + neighbor 10.255.251.1 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + neighbor 172.31.255.0 peer group UNDERLAY-PEERS + neighbor 172.31.255.0 remote-as 65001 + neighbor 172.31.255.0 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet1 + neighbor 172.31.255.2 peer group UNDERLAY-PEERS + neighbor 172.31.255.2 remote-as 65001 + neighbor 172.31.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 + neighbor 192.168.255.1 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.1 remote-as 65001 + neighbor 192.168.255.1 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 + neighbor 192.168.255.2 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.2 remote-as 65001 + neighbor 192.168.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 + redistribute connected route-map RM-CONN-2-BGP + ! + address-family evpn + host-flap detection window 180 threshold 5 expiry timeout 10 seconds + neighbor EVPN-OVERLAY-PEERS activate + ! + address-family ipv4 + no neighbor EVPN-OVERLAY-PEERS activate + neighbor MLAG-PEERS activate + neighbor UNDERLAY-PEERS activate +``` + +# BFD + +## Router BFD + +### Router BFD Multihop Summary + +| Interval | Minimum RX | Multiplier | +| -------- | ---------- | ---------- | +| 1200 | 1200 | 3 | + +### Router BFD Device Configuration + +```eos +! +router bfd + multihop interval 1200 min-rx 1200 multiplier 3 +``` + +# Multicast + +## IP IGMP Snooping + +### IP IGMP Snooping Summary + +| IGMP Snooping | Fast Leave | Interface Restart Query | Proxy | Restart Query Interval | Robustness Variable | +| ------------- | ---------- | ----------------------- | ----- | ---------------------- | ------------------- | +| Enabled | - | - | - | - | - | + +### IP IGMP Snooping Device Configuration + +```eos +``` + +## PIM Sparse Mode + +### PIM Sparse Mode enabled interfaces + +| Interface Name | VRF Name | IP Version | DR Priority | Local Interface | +| -------------- | -------- | ---------- | ----------- | --------------- | +| Ethernet1 | - | IPv4 | - | - | +| Ethernet2 | - | IPv4 | - | - | +| Vlan4093 | - | IPv4 | - | - | + +# Filters + +## Prefix-lists + +### Prefix-lists Summary + +#### PL-LOOPBACKS-EVPN-OVERLAY + +| Sequence | Action | +| -------- | ------ | +| 10 | permit 192.168.255.0/24 eq 32 | +| 20 | permit 192.168.254.0/24 eq 32 | + +### Prefix-lists Device Configuration + +```eos +! +ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY + seq 10 permit 192.168.255.0/24 eq 32 + seq 20 permit 192.168.254.0/24 eq 32 +``` + +## Route-maps + +### Route-maps Summary + +#### RM-CONN-2-BGP + +| Sequence | Type | Match and/or Set | +| -------- | ---- | ---------------- | +| 10 | permit | match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | + +#### RM-MLAG-PEER-IN + +| Sequence | Type | Match and/or Set | +| -------- | ---- | ---------------- | +| 10 | permit | set origin incomplete | + +### Route-maps Device Configuration + +```eos +! +route-map RM-CONN-2-BGP permit 10 + match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +! +route-map RM-MLAG-PEER-IN permit 10 + description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing + set origin incomplete +``` + +# ACL + +# VRF Instances + +## VRF Instances Summary + +| VRF Name | IP Routing | +| -------- | ---------- | +| MGMT | disabled | + +## VRF Instances Device Configuration + +```eos +! +vrf instance MGMT +``` + +# Quality Of Service diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.md new file mode 100644 index 00000000000..341bba7c29e --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.md @@ -0,0 +1,792 @@ +# UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B +# Table of Contents + +- [Management](#management) + - [Management Interfaces](#management-interfaces) + - [Name Servers](#name-servers) + - [NTP](#ntp) + - [Management API HTTP](#management-api-http) +- [Authentication](#authentication) + - [Local Users](#local-users) +- [System Boot Settings](#system-boot-settings) + - [Boot Secret Summary](#boot-secret-summary) + - [System Boot Configuration](#system-boot-configuration) +- [Monitoring](#monitoring) + - [TerminAttr Daemon](#terminattr-daemon) + - [SNMP](#snmp) +- [MLAG](#mlag) + - [MLAG Summary](#mlag-summary) + - [MLAG Device Configuration](#mlag-device-configuration) +- [Spanning Tree](#spanning-tree) + - [Spanning Tree Summary](#spanning-tree-summary) + - [Spanning Tree Device Configuration](#spanning-tree-device-configuration) +- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) + - [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) + - [Internal VLAN Allocation Policy Configuration](#internal-vlan-allocation-policy-configuration) +- [VLANs](#vlans) + - [VLANs Summary](#vlans-summary) + - [VLANs Device Configuration](#vlans-device-configuration) +- [Interfaces](#interfaces) + - [Ethernet Interfaces](#ethernet-interfaces) + - [Port-Channel Interfaces](#port-channel-interfaces) + - [Loopback Interfaces](#loopback-interfaces) + - [VLAN Interfaces](#vlan-interfaces) + - [VXLAN Interface](#vxlan-interface) +- [Routing](#routing) + - [Service Routing Protocols Model](#service-routing-protocols-model) + - [Virtual Router MAC Address](#virtual-router-mac-address) + - [IP Routing](#ip-routing) + - [IPv6 Routing](#ipv6-routing) + - [Static Routes](#static-routes) + - [Router BGP](#router-bgp) +- [BFD](#bfd) + - [Router BFD](#router-bfd) +- [Multicast](#multicast) + - [IP IGMP Snooping](#ip-igmp-snooping) + - [PIM Sparse Mode](#pim-sparse-mode) +- [Filters](#filters) + - [Prefix-lists](#prefix-lists) + - [Route-maps](#route-maps) +- [ACL](#acl) +- [VRF Instances](#vrf-instances) + - [VRF Instances Summary](#vrf-instances-summary) + - [VRF Instances Device Configuration](#vrf-instances-device-configuration) +- [Quality Of Service](#quality-of-service) + +# Management + +## Management Interfaces + +### Management Interfaces Summary + +#### IPv4 + +| Management Interface | description | Type | VRF | IP Address | Gateway | +| -------------------- | ----------- | ---- | --- | ---------- | ------- | +| Management1 | oob_management | oob | MGMT | 192.168.200.107/24 | 192.168.200.5 | + +#### IPv6 + +| Management Interface | description | Type | VRF | IPv6 Address | IPv6 Gateway | +| -------------------- | ----------- | ---- | --- | ------------ | ------------ | +| Management1 | oob_management | oob | MGMT | - | - | + +### Management Interfaces Device Configuration + +```eos +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.200.107/24 +``` + +## Name Servers + +### Name Servers Summary + +| Name Server | Source VRF | +| ----------- | ---------- | +| 192.168.200.5 | MGMT | +| 8.8.8.8 | MGMT | + +### Name Servers Device Configuration + +```eos +ip name-server vrf MGMT 8.8.8.8 +ip name-server vrf MGMT 192.168.200.5 +``` + +## NTP + +### NTP Summary + +#### NTP Local Interface + +| Interface | VRF | +| --------- | --- | +| Management1 | MGMT | + +#### NTP Servers + +| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key | +| ------ | --- | --------- | ----- | ------ | ------- | -------- | -------- | --------------- | --- | +| 192.168.200.5 | MGMT | True | - | - | - | - | - | - | - | + +### NTP Device Configuration + +```eos +! +ntp local-interface vrf MGMT Management1 +ntp server vrf MGMT 192.168.200.5 prefer +``` + +## Management API HTTP + +### Management API HTTP Summary + +| HTTP | HTTPS | Default Services | +| ---- | ----- | ---------------- | +| False | True | False | + +### Management API VRF Access + +| VRF Name | IPv4 ACL | IPv6 ACL | +| -------- | -------- | -------- | +| MGMT | - | - | + +### Management API HTTP Configuration + +```eos +! +management api http-commands + protocol https + no default-services + no shutdown + ! + vrf MGMT + no shutdown +``` + +# Authentication + +## Local Users + +### Local Users Summary + +| User | Privilege | Role | +| ---- | --------- | ---- | +| admin | 15 | network-admin | +| cvpadmin | 15 | network-admin | + +### Local Users Device Configuration + +```eos +! +username admin privilege 15 role network-admin nopassword +username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. +username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local +``` + +# System Boot Settings + +## Boot Secret Summary + +- The sha512 hashed Aboot password is configured + +## System Boot Configuration + +```eos +! +boot secret sha512 a153de6290ff1409257ade45f +``` + +# Monitoring + +## TerminAttr Daemon + +### TerminAttr Daemon Summary + +| CV Compression | CloudVision Servers | VRF | Authentication | Smash Excludes | Ingest Exclude | Bypass AAA | +| -------------- | ------------------- | --- | -------------- | -------------- | -------------- | ---------- | +| gzip | 192.168.200.11:9910 | MGMT | key,telarista | ale,flexCounter,hardware,kni,pulse,strata | /Sysdb/cell/1/agent,/Sysdb/cell/2/agent | False | + +### TerminAttr Daemon Device Configuration + +```eos +! +daemon TerminAttr + exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs + no shutdown +``` + +## SNMP + +### SNMP Configuration Summary + +| Contact | Location | SNMP Traps | State | +| ------- | -------- | ---------- | ----- | +| example@example.com | EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | All | Disabled | + +### SNMP Device Configuration + +```eos +! +snmp-server contact example@example.com +snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B +``` + +# MLAG + +## MLAG Summary + +| Domain-id | Local-interface | Peer-address | Peer-link | +| --------- | --------------- | ------------ | --------- | +| DC1_LEAF1 | Vlan4094 | 10.255.252.0 | Port-Channel3 | + +Dual primary detection is disabled. + +## MLAG Device Configuration + +```eos +! +mlag configuration + domain-id DC1_LEAF1 + local-interface Vlan4094 + peer-address 10.255.252.0 + peer-link Port-Channel3 + reload-delay mlag 300 + reload-delay non-mlag 330 +``` + +# Spanning Tree + +## Spanning Tree Summary + +STP mode: **mstp** + +### MSTP Instance and Priority + +| Instance(s) | Priority | +| -------- | -------- | +| 0 | 4096 | + +### Global Spanning-Tree Settings + +- Spanning Tree disabled for VLANs: **4093-4094** + +## Spanning Tree Device Configuration + +```eos +! +spanning-tree mode mstp +no spanning-tree vlan-id 4093-4094 +spanning-tree mst 0 priority 4096 +``` + +# Internal VLAN Allocation Policy + +## Internal VLAN Allocation Policy Summary + +| Policy Allocation | Range Beginning | Range Ending | +| ------------------| --------------- | ------------ | +| ascending | 1006 | 1199 | + +## Internal VLAN Allocation Policy Configuration + +```eos +! +vlan internal order ascending range 1006 1199 +``` + +# VLANs + +## VLANs Summary + +| VLAN ID | Name | Trunk Groups | +| ------- | ---- | ------------ | +| 4093 | LEAF_PEER_L3 | LEAF_PEER_L3 | +| 4094 | MLAG_PEER | MLAG | + +## VLANs Device Configuration + +```eos +! +vlan 4093 + name LEAF_PEER_L3 + trunk group LEAF_PEER_L3 +! +vlan 4094 + name MLAG_PEER + trunk group MLAG +``` + +# Interfaces + +## Ethernet Interfaces + +### Ethernet Interfaces Summary + +#### L2 + +| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group | +| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- | +| Ethernet3 | MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet3 | *trunk | *2-4094 | *- | *['LEAF_PEER_L3', 'MLAG'] | 3 | +| Ethernet4 | MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet4 | *trunk | *2-4094 | *- | *['LEAF_PEER_L3', 'MLAG'] | 3 | +| Ethernet5 | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet2 | *trunk | *none | *tag | *- | 5 | +| Ethernet6 | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet2 | *trunk | *none | *tag | *- | 5 | + +*Inherited from Port-Channel Interface + +#### IPv4 + +| Interface | Description | Type | Channel Group | IP Address | VRF | MTU | Shutdown | ACL In | ACL Out | +| --------- | ----------- | -----| ------------- | ---------- | ----| ---- | -------- | ------ | ------- | +| Ethernet1 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 | routed | - | 172.31.255.5/31 | default | 1500 | false | - | - | +| Ethernet2 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 | routed | - | 172.31.255.7/31 | default | 1500 | false | - | - | + +### Ethernet Interfaces Device Configuration + +```eos +! +interface Ethernet1 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.5/31 + pim ipv4 sparse-mode +! +interface Ethernet2 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.7/31 + pim ipv4 sparse-mode +! +interface Ethernet3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet3 + no shutdown + channel-group 3 mode active +! +interface Ethernet4 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet4 + no shutdown + channel-group 3 mode active +! +interface Ethernet5 + description UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet2 + no shutdown + channel-group 5 mode active +! +interface Ethernet6 + description UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet2 + no shutdown + channel-group 5 mode active +``` + +## Port-Channel Interfaces + +### Port-Channel Interfaces Summary + +#### L2 + +| Interface | Description | Type | Mode | VLANs | Native VLAN | Trunk Group | LACP Fallback Timeout | LACP Fallback Mode | MLAG ID | EVPN ESI | +| --------- | ----------- | ---- | ---- | ----- | ----------- | ------------| --------------------- | ------------------ | ------- | -------- | +| Port-Channel3 | MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Po3 | switched | trunk | 2-4094 | - | ['LEAF_PEER_L3', 'MLAG'] | - | - | - | - | +| Port-Channel5 | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1_Po1 | switched | trunk | none | tag | - | - | - | 5 | - | + +### Port-Channel Interfaces Device Configuration + +```eos +! +interface Port-Channel3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Po3 + no shutdown + switchport + switchport trunk allowed vlan 2-4094 + switchport mode trunk + switchport trunk group LEAF_PEER_L3 + switchport trunk group MLAG +! +interface Port-Channel5 + description UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1_Po1 + no shutdown + switchport + switchport trunk allowed vlan none + switchport trunk native vlan tag + switchport mode trunk + mlag 5 + storm-control broadcast level 25 + storm-control unknown-unicast level 25 +``` + +## Loopback Interfaces + +### Loopback Interfaces Summary + +#### IPv4 + +| Interface | Description | VRF | IP Address | +| --------- | ----------- | --- | ---------- | +| Loopback0 | EVPN_Overlay_Peering | default | 192.168.255.4/32 | +| Loopback1 | VTEP_VXLAN_Tunnel_Source | default | 192.168.254.3/32 | + +#### IPv6 + +| Interface | Description | VRF | IPv6 Address | +| --------- | ----------- | --- | ------------ | +| Loopback0 | EVPN_Overlay_Peering | default | - | +| Loopback1 | VTEP_VXLAN_Tunnel_Source | default | - | + + +### Loopback Interfaces Device Configuration + +```eos +! +interface Loopback0 + description EVPN_Overlay_Peering + no shutdown + ip address 192.168.255.4/32 +! +interface Loopback1 + description VTEP_VXLAN_Tunnel_Source + no shutdown + ip address 192.168.254.3/32 +``` + +## VLAN Interfaces + +### VLAN Interfaces Summary + +| Interface | Description | VRF | MTU | Shutdown | +| --------- | ----------- | --- | ---- | -------- | +| Vlan4093 | MLAG_PEER_L3_PEERING | default | 1500 | false | +| Vlan4094 | mlag_peer_vlan_structured_config_override | default | 1500 | false | + +#### IPv4 + +| Interface | VRF | IP Address | IP Address Virtual | IP Router Virtual Address | VRRP | ACL In | ACL Out | +| --------- | --- | ---------- | ------------------ | ------------------------- | ---- | ------ | ------- | +| Vlan4093 | default | 10.255.251.1/31 | - | - | - | - | - | +| Vlan4094 | default | 10.255.252.1/31 | - | - | - | - | - | + +### VLAN Interfaces Device Configuration + +```eos +! +interface Vlan4093 + description MLAG_PEER_L3_PEERING + no shutdown + mtu 1500 + ip address 10.255.251.1/31 + pim ipv4 sparse-mode +! +interface Vlan4094 + description mlag_peer_vlan_structured_config_override + no shutdown + mtu 1500 + no autostate + ip address 10.255.252.1/31 +``` + +## VXLAN Interface + +### VXLAN Interface Summary + +| Setting | Value | +| ------- | ----- | +| Source Interface | Loopback1 | +| UDP port | 4789 | +| EVPN MLAG Shared Router MAC | mlag-system-id | + +### VXLAN Interface Device Configuration + +```eos +! +interface Vxlan1 + description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_VTEP + vxlan source-interface Loopback1 + vxlan virtual-router encapsulation mac-address mlag-system-id + vxlan udp-port 4789 +``` + +# Routing +## Service Routing Protocols Model + +Multi agent routing protocol model enabled + +```eos +! +service routing protocols model multi-agent +``` + +## Virtual Router MAC Address + +### Virtual Router MAC Address Summary + +#### Virtual Router MAC Address: 00:dc:00:00:00:0a + +### Virtual Router MAC Address Configuration + +```eos +! +ip virtual-router mac-address 00:dc:00:00:00:0a +``` + +## IP Routing + +### IP Routing Summary + +| VRF | Routing Enabled | +| --- | --------------- | +| default | true | +| MGMT | false | + +### IP Routing Device Configuration + +```eos +! +ip routing +no ip routing vrf MGMT +``` +## IPv6 Routing + +### IPv6 Routing Summary + +| VRF | Routing Enabled | +| --- | --------------- | +| default | false | +| MGMT | false | + +## Static Routes + +### Static Routes Summary + +| VRF | Destination Prefix | Next Hop IP | Exit interface | Administrative Distance | Tag | Route Name | Metric | +| --- | ------------------ | ----------------------- | ------------------- | ----------------------------- | ----------------- | ----------------------------- | -------------- | +| MGMT | 0.0.0.0/0 | 192.168.200.5 | - | 1 | - | - | - | + +### Static Routes Device Configuration + +```eos +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.5 +``` + +## Router BGP + +### Router BGP Summary + +| BGP AS | Router ID | +| ------ | --------- | +| 65101| 192.168.255.4 | + +| BGP Tuning | +| ---------- | +| no bgp default ipv4-unicast | +| distance bgp 20 200 200 | +| maximum-paths 4 ecmp 4 | + +### Router BGP Peer Groups + +#### EVPN-OVERLAY-PEERS + +| Settings | Value | +| -------- | ----- | +| Address Family | evpn | +| Source | Loopback0 | +| BFD | True | +| Ebgp multihop | 3 | +| Send community | all | +| Maximum routes | 0 (no limit) | + +#### MLAG-PEERS + +| Settings | Value | +| -------- | ----- | +| Address Family | ipv4 | +| Remote AS | 65101 | +| Next-hop self | True | +| Send community | all | +| Maximum routes | 12000 | + +#### UNDERLAY-PEERS + +| Settings | Value | +| -------- | ----- | +| Address Family | ipv4 | +| Send community | all | +| Maximum routes | 12000 | + +### BGP Neighbors + +| Neighbor | Remote AS | VRF | Shutdown | Send-community | Maximum-routes | Allowas-in | BFD | RIB Pre-Policy Retain | +| -------- | --------- | --- | -------- | -------------- | -------------- | ---------- | --- | --------------------- | +| 10.255.251.0 | Inherited from peer group MLAG-PEERS | default | - | Inherited from peer group MLAG-PEERS | Inherited from peer group MLAG-PEERS | - | - | - | +| 172.31.255.4 | 65001 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | +| 172.31.255.6 | 65001 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | +| 192.168.255.1 | 65001 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | +| 192.168.255.2 | 65001 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | + +### Router BGP EVPN Address Family + +#### EVPN Peer Groups + +| Peer Group | Activate | +| ---------- | -------- | +| EVPN-OVERLAY-PEERS | True | + +#### EVPN Host Flapping Settings + +| State | Window | Threshold | Expiry Timeout | +| ----- | ------ | --------- | -------------- | +| Enabled | 180 Seconds | 5 | 10 Seconds | + +### Router BGP Device Configuration + +```eos +! +router bgp 65101 + router-id 192.168.255.4 + no bgp default ipv4-unicast + distance bgp 20 200 200 + maximum-paths 4 ecmp 4 + neighbor EVPN-OVERLAY-PEERS peer group + neighbor EVPN-OVERLAY-PEERS update-source Loopback0 + neighbor EVPN-OVERLAY-PEERS bfd + neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 + neighbor EVPN-OVERLAY-PEERS password 7 q+VNViP5i4rVjW1cxFv2wA== + neighbor EVPN-OVERLAY-PEERS send-community + neighbor EVPN-OVERLAY-PEERS maximum-routes 0 + neighbor MLAG-PEERS peer group + neighbor MLAG-PEERS remote-as 65101 + neighbor MLAG-PEERS next-hop-self + neighbor MLAG-PEERS description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + neighbor MLAG-PEERS password 7 vnEaG8gMeQf3d3cN6PktXQ== + neighbor MLAG-PEERS send-community + neighbor MLAG-PEERS maximum-routes 12000 + neighbor MLAG-PEERS route-map RM-MLAG-PEER-IN in + neighbor UNDERLAY-PEERS peer group + neighbor UNDERLAY-PEERS password 7 AQQvKeimxJu+uGQ/yYvv9w== + neighbor UNDERLAY-PEERS send-community + neighbor UNDERLAY-PEERS maximum-routes 12000 + neighbor 10.255.251.0 peer group MLAG-PEERS + neighbor 10.255.251.0 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + neighbor 172.31.255.4 peer group UNDERLAY-PEERS + neighbor 172.31.255.4 remote-as 65001 + neighbor 172.31.255.4 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 + neighbor 172.31.255.6 peer group UNDERLAY-PEERS + neighbor 172.31.255.6 remote-as 65001 + neighbor 172.31.255.6 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 + neighbor 192.168.255.1 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.1 remote-as 65001 + neighbor 192.168.255.1 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 + neighbor 192.168.255.2 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.2 remote-as 65001 + neighbor 192.168.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 + redistribute connected route-map RM-CONN-2-BGP + ! + address-family evpn + host-flap detection window 180 threshold 5 expiry timeout 10 seconds + neighbor EVPN-OVERLAY-PEERS activate + ! + address-family ipv4 + no neighbor EVPN-OVERLAY-PEERS activate + neighbor MLAG-PEERS activate + neighbor UNDERLAY-PEERS activate +``` + +# BFD + +## Router BFD + +### Router BFD Multihop Summary + +| Interval | Minimum RX | Multiplier | +| -------- | ---------- | ---------- | +| 1200 | 1200 | 3 | + +### Router BFD Device Configuration + +```eos +! +router bfd + multihop interval 1200 min-rx 1200 multiplier 3 +``` + +# Multicast + +## IP IGMP Snooping + +### IP IGMP Snooping Summary + +| IGMP Snooping | Fast Leave | Interface Restart Query | Proxy | Restart Query Interval | Robustness Variable | +| ------------- | ---------- | ----------------------- | ----- | ---------------------- | ------------------- | +| Enabled | - | - | - | - | - | + +### IP IGMP Snooping Device Configuration + +```eos +``` + +## PIM Sparse Mode + +### PIM Sparse Mode enabled interfaces + +| Interface Name | VRF Name | IP Version | DR Priority | Local Interface | +| -------------- | -------- | ---------- | ----------- | --------------- | +| Ethernet1 | - | IPv4 | - | - | +| Ethernet2 | - | IPv4 | - | - | +| Vlan4093 | - | IPv4 | - | - | + +# Filters + +## Prefix-lists + +### Prefix-lists Summary + +#### PL-LOOPBACKS-EVPN-OVERLAY + +| Sequence | Action | +| -------- | ------ | +| 10 | permit 192.168.255.0/24 eq 32 | +| 20 | permit 192.168.254.0/24 eq 32 | + +### Prefix-lists Device Configuration + +```eos +! +ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY + seq 10 permit 192.168.255.0/24 eq 32 + seq 20 permit 192.168.254.0/24 eq 32 +``` + +## Route-maps + +### Route-maps Summary + +#### RM-CONN-2-BGP + +| Sequence | Type | Match and/or Set | +| -------- | ---- | ---------------- | +| 10 | permit | match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | + +#### RM-MLAG-PEER-IN + +| Sequence | Type | Match and/or Set | +| -------- | ---- | ---------------- | +| 10 | permit | set origin incomplete | + +### Route-maps Device Configuration + +```eos +! +route-map RM-CONN-2-BGP permit 10 + match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +! +route-map RM-MLAG-PEER-IN permit 10 + description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing + set origin incomplete +``` + +# ACL + +# VRF Instances + +## VRF Instances Summary + +| VRF Name | IP Routing | +| -------- | ---------- | +| MGMT | disabled | + +## VRF Instances Device Configuration + +```eos +! +vrf instance MGMT +``` + +# Quality Of Service diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.md new file mode 100644 index 00000000000..b9f2c241c2a --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.md @@ -0,0 +1,535 @@ +# UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 +# Table of Contents + +- [Management](#management) + - [Management Interfaces](#management-interfaces) + - [Name Servers](#name-servers) + - [NTP](#ntp) + - [Management API HTTP](#management-api-http) +- [Authentication](#authentication) + - [Local Users](#local-users) +- [System Boot Settings](#system-boot-settings) + - [Boot Secret Summary](#boot-secret-summary) + - [System Boot Configuration](#system-boot-configuration) +- [Monitoring](#monitoring) + - [TerminAttr Daemon](#terminattr-daemon) + - [SNMP](#snmp) +- [Spanning Tree](#spanning-tree) + - [Spanning Tree Summary](#spanning-tree-summary) + - [Spanning Tree Device Configuration](#spanning-tree-device-configuration) +- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) + - [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) + - [Internal VLAN Allocation Policy Configuration](#internal-vlan-allocation-policy-configuration) +- [Interfaces](#interfaces) + - [Ethernet Interfaces](#ethernet-interfaces) + - [Loopback Interfaces](#loopback-interfaces) +- [Routing](#routing) + - [Service Routing Protocols Model](#service-routing-protocols-model) + - [IP Routing](#ip-routing) + - [IPv6 Routing](#ipv6-routing) + - [Static Routes](#static-routes) + - [Router BGP](#router-bgp) +- [BFD](#bfd) + - [Router BFD](#router-bfd) +- [Multicast](#multicast) + - [PIM Sparse Mode](#pim-sparse-mode) +- [Filters](#filters) + - [Prefix-lists](#prefix-lists) + - [Route-maps](#route-maps) +- [ACL](#acl) +- [VRF Instances](#vrf-instances) + - [VRF Instances Summary](#vrf-instances-summary) + - [VRF Instances Device Configuration](#vrf-instances-device-configuration) +- [Quality Of Service](#quality-of-service) + +# Management + +## Management Interfaces + +### Management Interfaces Summary + +#### IPv4 + +| Management Interface | description | Type | VRF | IP Address | Gateway | +| -------------------- | ----------- | ---- | --- | ---------- | ------- | +| Management1 | oob_management | oob | MGMT | 192.168.200.101/24 | 192.168.200.5 | + +#### IPv6 + +| Management Interface | description | Type | VRF | IPv6 Address | IPv6 Gateway | +| -------------------- | ----------- | ---- | --- | ------------ | ------------ | +| Management1 | oob_management | oob | MGMT | - | - | + +### Management Interfaces Device Configuration + +```eos +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.200.101/24 +``` + +## Name Servers + +### Name Servers Summary + +| Name Server | Source VRF | +| ----------- | ---------- | +| 192.168.200.5 | MGMT | +| 8.8.8.8 | MGMT | + +### Name Servers Device Configuration + +```eos +ip name-server vrf MGMT 8.8.8.8 +ip name-server vrf MGMT 192.168.200.5 +``` + +## NTP + +### NTP Summary + +#### NTP Local Interface + +| Interface | VRF | +| --------- | --- | +| Management1 | MGMT | + +#### NTP Servers + +| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key | +| ------ | --- | --------- | ----- | ------ | ------- | -------- | -------- | --------------- | --- | +| 192.168.200.5 | MGMT | True | - | - | - | - | - | - | - | + +### NTP Device Configuration + +```eos +! +ntp local-interface vrf MGMT Management1 +ntp server vrf MGMT 192.168.200.5 prefer +``` + +## Management API HTTP + +### Management API HTTP Summary + +| HTTP | HTTPS | Default Services | +| ---- | ----- | ---------------- | +| False | True | False | + +### Management API VRF Access + +| VRF Name | IPv4 ACL | IPv6 ACL | +| -------- | -------- | -------- | +| MGMT | - | - | + +### Management API HTTP Configuration + +```eos +! +management api http-commands + protocol https + no default-services + no shutdown + ! + vrf MGMT + no shutdown +``` + +# Authentication + +## Local Users + +### Local Users Summary + +| User | Privilege | Role | +| ---- | --------- | ---- | +| admin | 15 | network-admin | +| cvpadmin | 15 | network-admin | + +### Local Users Device Configuration + +```eos +! +username admin privilege 15 role network-admin nopassword +username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. +username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local +``` + +# System Boot Settings + +## Boot Secret Summary + +- The sha512 hashed Aboot password is configured + +## System Boot Configuration + +```eos +! +boot secret sha512 a153de6290ff1409257ade45f +``` + +# Monitoring + +## TerminAttr Daemon + +### TerminAttr Daemon Summary + +| CV Compression | CloudVision Servers | VRF | Authentication | Smash Excludes | Ingest Exclude | Bypass AAA | +| -------------- | ------------------- | --- | -------------- | -------------- | -------------- | ---------- | +| gzip | 192.168.200.11:9910 | MGMT | key,telarista | ale,flexCounter,hardware,kni,pulse,strata | /Sysdb/cell/1/agent,/Sysdb/cell/2/agent | False | + +### TerminAttr Daemon Device Configuration + +```eos +! +daemon TerminAttr + exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs + no shutdown +``` + +## SNMP + +### SNMP Configuration Summary + +| Contact | Location | SNMP Traps | State | +| ------- | -------- | ---------- | ----- | +| example@example.com | EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | All | Disabled | + +### SNMP Device Configuration + +```eos +! +snmp-server contact example@example.com +snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 +``` + +# Spanning Tree + +## Spanning Tree Summary + +STP mode: **none** + +## Spanning Tree Device Configuration + +```eos +! +spanning-tree mode none +``` + +# Internal VLAN Allocation Policy + +## Internal VLAN Allocation Policy Summary + +| Policy Allocation | Range Beginning | Range Ending | +| ------------------| --------------- | ------------ | +| ascending | 1006 | 1199 | + +## Internal VLAN Allocation Policy Configuration + +```eos +! +vlan internal order ascending range 1006 1199 +``` + +# Interfaces + +## Ethernet Interfaces + +### Ethernet Interfaces Summary + +#### L2 + +| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group | +| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- | + +*Inherited from Port-Channel Interface + +#### IPv4 + +| Interface | Description | Type | Channel Group | IP Address | VRF | MTU | Shutdown | ACL In | ACL Out | +| --------- | ----------- | -----| ------------- | ---------- | ----| ---- | -------- | ------ | ------- | +| Ethernet1 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet1 | routed | - | 172.31.255.0/31 | default | 1500 | false | - | - | +| Ethernet2 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 | routed | - | 172.31.255.4/31 | default | 1500 | false | - | - | + +### Ethernet Interfaces Device Configuration + +```eos +! +interface Ethernet1 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet1 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.0/31 + pim ipv4 sparse-mode +! +interface Ethernet2 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.4/31 + pim ipv4 sparse-mode +``` + +## Loopback Interfaces + +### Loopback Interfaces Summary + +#### IPv4 + +| Interface | Description | VRF | IP Address | +| --------- | ----------- | --- | ---------- | +| Loopback0 | EVPN_Overlay_Peering | default | 192.168.255.1/32 | + +#### IPv6 + +| Interface | Description | VRF | IPv6 Address | +| --------- | ----------- | --- | ------------ | +| Loopback0 | EVPN_Overlay_Peering | default | - | + + +### Loopback Interfaces Device Configuration + +```eos +! +interface Loopback0 + description EVPN_Overlay_Peering + no shutdown + ip address 192.168.255.1/32 +``` + +# Routing +## Service Routing Protocols Model + +Multi agent routing protocol model enabled + +```eos +! +service routing protocols model multi-agent +``` + +## IP Routing + +### IP Routing Summary + +| VRF | Routing Enabled | +| --- | --------------- | +| default | true | +| MGMT | false | + +### IP Routing Device Configuration + +```eos +! +ip routing +no ip routing vrf MGMT +``` +## IPv6 Routing + +### IPv6 Routing Summary + +| VRF | Routing Enabled | +| --- | --------------- | +| default | false | +| MGMT | false | + +## Static Routes + +### Static Routes Summary + +| VRF | Destination Prefix | Next Hop IP | Exit interface | Administrative Distance | Tag | Route Name | Metric | +| --- | ------------------ | ----------------------- | ------------------- | ----------------------------- | ----------------- | ----------------------------- | -------------- | +| MGMT | 0.0.0.0/0 | 192.168.200.5 | - | 1 | - | - | - | + +### Static Routes Device Configuration + +```eos +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.5 +``` + +## Router BGP + +### Router BGP Summary + +| BGP AS | Router ID | +| ------ | --------- | +| 65001| 192.168.255.1 | + +| BGP Tuning | +| ---------- | +| no bgp default ipv4-unicast | +| distance bgp 20 200 200 | +| maximum-paths 4 ecmp 4 | + +### Router BGP Peer Groups + +#### EVPN-OVERLAY-PEERS + +| Settings | Value | +| -------- | ----- | +| Address Family | evpn | +| Next-hop unchanged | True | +| Source | Loopback0 | +| BFD | True | +| Ebgp multihop | 3 | +| Send community | all | +| Maximum routes | 0 (no limit) | + +#### UNDERLAY-PEERS + +| Settings | Value | +| -------- | ----- | +| Address Family | ipv4 | +| Send community | all | +| Maximum routes | 12000 | + +### BGP Neighbors + +| Neighbor | Remote AS | VRF | Shutdown | Send-community | Maximum-routes | Allowas-in | BFD | RIB Pre-Policy Retain | +| -------- | --------- | --- | -------- | -------------- | -------------- | ---------- | --- | --------------------- | +| 172.31.255.1 | 65101 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | +| 172.31.255.5 | 65101 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | +| 192.168.255.3 | 65101 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | +| 192.168.255.4 | 65101 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | + +### Router BGP EVPN Address Family + +#### EVPN Peer Groups + +| Peer Group | Activate | +| ---------- | -------- | +| EVPN-OVERLAY-PEERS | True | + +### Router BGP Device Configuration + +```eos +! +router bgp 65001 + router-id 192.168.255.1 + no bgp default ipv4-unicast + distance bgp 20 200 200 + maximum-paths 4 ecmp 4 + neighbor EVPN-OVERLAY-PEERS peer group + neighbor EVPN-OVERLAY-PEERS next-hop-unchanged + neighbor EVPN-OVERLAY-PEERS update-source Loopback0 + neighbor EVPN-OVERLAY-PEERS bfd + neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 + neighbor EVPN-OVERLAY-PEERS password 7 q+VNViP5i4rVjW1cxFv2wA== + neighbor EVPN-OVERLAY-PEERS send-community + neighbor EVPN-OVERLAY-PEERS maximum-routes 0 + neighbor UNDERLAY-PEERS peer group + neighbor UNDERLAY-PEERS password 7 AQQvKeimxJu+uGQ/yYvv9w== + neighbor UNDERLAY-PEERS send-community + neighbor UNDERLAY-PEERS maximum-routes 12000 + neighbor 172.31.255.1 peer group UNDERLAY-PEERS + neighbor 172.31.255.1 remote-as 65101 + neighbor 172.31.255.1 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet1 + neighbor 172.31.255.5 peer group UNDERLAY-PEERS + neighbor 172.31.255.5 remote-as 65101 + neighbor 172.31.255.5 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 + neighbor 192.168.255.3 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.3 remote-as 65101 + neighbor 192.168.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + neighbor 192.168.255.4 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.4 remote-as 65101 + neighbor 192.168.255.4 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + redistribute connected route-map RM-CONN-2-BGP + ! + address-family evpn + neighbor EVPN-OVERLAY-PEERS activate + ! + address-family ipv4 + no neighbor EVPN-OVERLAY-PEERS activate + neighbor UNDERLAY-PEERS activate +``` + +# BFD + +## Router BFD + +### Router BFD Multihop Summary + +| Interval | Minimum RX | Multiplier | +| -------- | ---------- | ---------- | +| 1200 | 1200 | 3 | + +### Router BFD Device Configuration + +```eos +! +router bfd + multihop interval 1200 min-rx 1200 multiplier 3 +``` + +# Multicast + +## PIM Sparse Mode + +### PIM Sparse Mode enabled interfaces + +| Interface Name | VRF Name | IP Version | DR Priority | Local Interface | +| -------------- | -------- | ---------- | ----------- | --------------- | +| Ethernet1 | - | IPv4 | - | - | +| Ethernet2 | - | IPv4 | - | - | + +# Filters + +## Prefix-lists + +### Prefix-lists Summary + +#### PL-LOOPBACKS-EVPN-OVERLAY + +| Sequence | Action | +| -------- | ------ | +| 10 | permit 192.168.255.0/24 eq 32 | + +### Prefix-lists Device Configuration + +```eos +! +ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY + seq 10 permit 192.168.255.0/24 eq 32 +``` + +## Route-maps + +### Route-maps Summary + +#### RM-CONN-2-BGP + +| Sequence | Type | Match and/or Set | +| -------- | ---- | ---------------- | +| 10 | permit | match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | + +### Route-maps Device Configuration + +```eos +! +route-map RM-CONN-2-BGP permit 10 + match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +``` + +# ACL + +# VRF Instances + +## VRF Instances Summary + +| VRF Name | IP Routing | +| -------- | ---------- | +| MGMT | disabled | + +## VRF Instances Device Configuration + +```eos +! +vrf instance MGMT +``` + +# Quality Of Service diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.md new file mode 100644 index 00000000000..8c9df44f2cd --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.md @@ -0,0 +1,535 @@ +# UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 +# Table of Contents + +- [Management](#management) + - [Management Interfaces](#management-interfaces) + - [Name Servers](#name-servers) + - [NTP](#ntp) + - [Management API HTTP](#management-api-http) +- [Authentication](#authentication) + - [Local Users](#local-users) +- [System Boot Settings](#system-boot-settings) + - [Boot Secret Summary](#boot-secret-summary) + - [System Boot Configuration](#system-boot-configuration) +- [Monitoring](#monitoring) + - [TerminAttr Daemon](#terminattr-daemon) + - [SNMP](#snmp) +- [Spanning Tree](#spanning-tree) + - [Spanning Tree Summary](#spanning-tree-summary) + - [Spanning Tree Device Configuration](#spanning-tree-device-configuration) +- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) + - [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) + - [Internal VLAN Allocation Policy Configuration](#internal-vlan-allocation-policy-configuration) +- [Interfaces](#interfaces) + - [Ethernet Interfaces](#ethernet-interfaces) + - [Loopback Interfaces](#loopback-interfaces) +- [Routing](#routing) + - [Service Routing Protocols Model](#service-routing-protocols-model) + - [IP Routing](#ip-routing) + - [IPv6 Routing](#ipv6-routing) + - [Static Routes](#static-routes) + - [Router BGP](#router-bgp) +- [BFD](#bfd) + - [Router BFD](#router-bfd) +- [Multicast](#multicast) + - [PIM Sparse Mode](#pim-sparse-mode) +- [Filters](#filters) + - [Prefix-lists](#prefix-lists) + - [Route-maps](#route-maps) +- [ACL](#acl) +- [VRF Instances](#vrf-instances) + - [VRF Instances Summary](#vrf-instances-summary) + - [VRF Instances Device Configuration](#vrf-instances-device-configuration) +- [Quality Of Service](#quality-of-service) + +# Management + +## Management Interfaces + +### Management Interfaces Summary + +#### IPv4 + +| Management Interface | description | Type | VRF | IP Address | Gateway | +| -------------------- | ----------- | ---- | --- | ---------- | ------- | +| Management1 | oob_management | oob | MGMT | 192.168.200.102/24 | 192.168.200.5 | + +#### IPv6 + +| Management Interface | description | Type | VRF | IPv6 Address | IPv6 Gateway | +| -------------------- | ----------- | ---- | --- | ------------ | ------------ | +| Management1 | oob_management | oob | MGMT | - | - | + +### Management Interfaces Device Configuration + +```eos +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.200.102/24 +``` + +## Name Servers + +### Name Servers Summary + +| Name Server | Source VRF | +| ----------- | ---------- | +| 192.168.200.5 | MGMT | +| 8.8.8.8 | MGMT | + +### Name Servers Device Configuration + +```eos +ip name-server vrf MGMT 8.8.8.8 +ip name-server vrf MGMT 192.168.200.5 +``` + +## NTP + +### NTP Summary + +#### NTP Local Interface + +| Interface | VRF | +| --------- | --- | +| Management1 | MGMT | + +#### NTP Servers + +| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key | +| ------ | --- | --------- | ----- | ------ | ------- | -------- | -------- | --------------- | --- | +| 192.168.200.5 | MGMT | True | - | - | - | - | - | - | - | + +### NTP Device Configuration + +```eos +! +ntp local-interface vrf MGMT Management1 +ntp server vrf MGMT 192.168.200.5 prefer +``` + +## Management API HTTP + +### Management API HTTP Summary + +| HTTP | HTTPS | Default Services | +| ---- | ----- | ---------------- | +| False | True | False | + +### Management API VRF Access + +| VRF Name | IPv4 ACL | IPv6 ACL | +| -------- | -------- | -------- | +| MGMT | - | - | + +### Management API HTTP Configuration + +```eos +! +management api http-commands + protocol https + no default-services + no shutdown + ! + vrf MGMT + no shutdown +``` + +# Authentication + +## Local Users + +### Local Users Summary + +| User | Privilege | Role | +| ---- | --------- | ---- | +| admin | 15 | network-admin | +| cvpadmin | 15 | network-admin | + +### Local Users Device Configuration + +```eos +! +username admin privilege 15 role network-admin nopassword +username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. +username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local +``` + +# System Boot Settings + +## Boot Secret Summary + +- The sha512 hashed Aboot password is configured + +## System Boot Configuration + +```eos +! +boot secret sha512 a153de6290ff1409257ade45f +``` + +# Monitoring + +## TerminAttr Daemon + +### TerminAttr Daemon Summary + +| CV Compression | CloudVision Servers | VRF | Authentication | Smash Excludes | Ingest Exclude | Bypass AAA | +| -------------- | ------------------- | --- | -------------- | -------------- | -------------- | ---------- | +| gzip | 192.168.200.11:9910 | MGMT | key,telarista | ale,flexCounter,hardware,kni,pulse,strata | /Sysdb/cell/1/agent,/Sysdb/cell/2/agent | False | + +### TerminAttr Daemon Device Configuration + +```eos +! +daemon TerminAttr + exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs + no shutdown +``` + +## SNMP + +### SNMP Configuration Summary + +| Contact | Location | SNMP Traps | State | +| ------- | -------- | ---------- | ----- | +| example@example.com | EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | All | Disabled | + +### SNMP Device Configuration + +```eos +! +snmp-server contact example@example.com +snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 +``` + +# Spanning Tree + +## Spanning Tree Summary + +STP mode: **none** + +## Spanning Tree Device Configuration + +```eos +! +spanning-tree mode none +``` + +# Internal VLAN Allocation Policy + +## Internal VLAN Allocation Policy Summary + +| Policy Allocation | Range Beginning | Range Ending | +| ------------------| --------------- | ------------ | +| ascending | 1006 | 1199 | + +## Internal VLAN Allocation Policy Configuration + +```eos +! +vlan internal order ascending range 1006 1199 +``` + +# Interfaces + +## Ethernet Interfaces + +### Ethernet Interfaces Summary + +#### L2 + +| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group | +| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- | + +*Inherited from Port-Channel Interface + +#### IPv4 + +| Interface | Description | Type | Channel Group | IP Address | VRF | MTU | Shutdown | ACL In | ACL Out | +| --------- | ----------- | -----| ------------- | ---------- | ----| ---- | -------- | ------ | ------- | +| Ethernet1 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 | routed | - | 172.31.255.2/31 | default | 1500 | false | - | - | +| Ethernet2 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 | routed | - | 172.31.255.6/31 | default | 1500 | false | - | - | + +### Ethernet Interfaces Device Configuration + +```eos +! +interface Ethernet1 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.2/31 + pim ipv4 sparse-mode +! +interface Ethernet2 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.6/31 + pim ipv4 sparse-mode +``` + +## Loopback Interfaces + +### Loopback Interfaces Summary + +#### IPv4 + +| Interface | Description | VRF | IP Address | +| --------- | ----------- | --- | ---------- | +| Loopback0 | EVPN_Overlay_Peering | default | 192.168.255.2/32 | + +#### IPv6 + +| Interface | Description | VRF | IPv6 Address | +| --------- | ----------- | --- | ------------ | +| Loopback0 | EVPN_Overlay_Peering | default | - | + + +### Loopback Interfaces Device Configuration + +```eos +! +interface Loopback0 + description EVPN_Overlay_Peering + no shutdown + ip address 192.168.255.2/32 +``` + +# Routing +## Service Routing Protocols Model + +Multi agent routing protocol model enabled + +```eos +! +service routing protocols model multi-agent +``` + +## IP Routing + +### IP Routing Summary + +| VRF | Routing Enabled | +| --- | --------------- | +| default | true | +| MGMT | false | + +### IP Routing Device Configuration + +```eos +! +ip routing +no ip routing vrf MGMT +``` +## IPv6 Routing + +### IPv6 Routing Summary + +| VRF | Routing Enabled | +| --- | --------------- | +| default | false | +| MGMT | false | + +## Static Routes + +### Static Routes Summary + +| VRF | Destination Prefix | Next Hop IP | Exit interface | Administrative Distance | Tag | Route Name | Metric | +| --- | ------------------ | ----------------------- | ------------------- | ----------------------------- | ----------------- | ----------------------------- | -------------- | +| MGMT | 0.0.0.0/0 | 192.168.200.5 | - | 1 | - | - | - | + +### Static Routes Device Configuration + +```eos +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.5 +``` + +## Router BGP + +### Router BGP Summary + +| BGP AS | Router ID | +| ------ | --------- | +| 65001| 192.168.255.2 | + +| BGP Tuning | +| ---------- | +| no bgp default ipv4-unicast | +| distance bgp 20 200 200 | +| maximum-paths 4 ecmp 4 | + +### Router BGP Peer Groups + +#### EVPN-OVERLAY-PEERS + +| Settings | Value | +| -------- | ----- | +| Address Family | evpn | +| Next-hop unchanged | True | +| Source | Loopback0 | +| BFD | True | +| Ebgp multihop | 3 | +| Send community | all | +| Maximum routes | 0 (no limit) | + +#### UNDERLAY-PEERS + +| Settings | Value | +| -------- | ----- | +| Address Family | ipv4 | +| Send community | all | +| Maximum routes | 12000 | + +### BGP Neighbors + +| Neighbor | Remote AS | VRF | Shutdown | Send-community | Maximum-routes | Allowas-in | BFD | RIB Pre-Policy Retain | +| -------- | --------- | --- | -------- | -------------- | -------------- | ---------- | --- | --------------------- | +| 172.31.255.3 | 65101 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | +| 172.31.255.7 | 65101 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | +| 192.168.255.3 | 65101 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | +| 192.168.255.4 | 65101 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | + +### Router BGP EVPN Address Family + +#### EVPN Peer Groups + +| Peer Group | Activate | +| ---------- | -------- | +| EVPN-OVERLAY-PEERS | True | + +### Router BGP Device Configuration + +```eos +! +router bgp 65001 + router-id 192.168.255.2 + no bgp default ipv4-unicast + distance bgp 20 200 200 + maximum-paths 4 ecmp 4 + neighbor EVPN-OVERLAY-PEERS peer group + neighbor EVPN-OVERLAY-PEERS next-hop-unchanged + neighbor EVPN-OVERLAY-PEERS update-source Loopback0 + neighbor EVPN-OVERLAY-PEERS bfd + neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 + neighbor EVPN-OVERLAY-PEERS password 7 q+VNViP5i4rVjW1cxFv2wA== + neighbor EVPN-OVERLAY-PEERS send-community + neighbor EVPN-OVERLAY-PEERS maximum-routes 0 + neighbor UNDERLAY-PEERS peer group + neighbor UNDERLAY-PEERS password 7 AQQvKeimxJu+uGQ/yYvv9w== + neighbor UNDERLAY-PEERS send-community + neighbor UNDERLAY-PEERS maximum-routes 12000 + neighbor 172.31.255.3 peer group UNDERLAY-PEERS + neighbor 172.31.255.3 remote-as 65101 + neighbor 172.31.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 + neighbor 172.31.255.7 peer group UNDERLAY-PEERS + neighbor 172.31.255.7 remote-as 65101 + neighbor 172.31.255.7 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 + neighbor 192.168.255.3 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.3 remote-as 65101 + neighbor 192.168.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + neighbor 192.168.255.4 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.4 remote-as 65101 + neighbor 192.168.255.4 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + redistribute connected route-map RM-CONN-2-BGP + ! + address-family evpn + neighbor EVPN-OVERLAY-PEERS activate + ! + address-family ipv4 + no neighbor EVPN-OVERLAY-PEERS activate + neighbor UNDERLAY-PEERS activate +``` + +# BFD + +## Router BFD + +### Router BFD Multihop Summary + +| Interval | Minimum RX | Multiplier | +| -------- | ---------- | ---------- | +| 1200 | 1200 | 3 | + +### Router BFD Device Configuration + +```eos +! +router bfd + multihop interval 1200 min-rx 1200 multiplier 3 +``` + +# Multicast + +## PIM Sparse Mode + +### PIM Sparse Mode enabled interfaces + +| Interface Name | VRF Name | IP Version | DR Priority | Local Interface | +| -------------- | -------- | ---------- | ----------- | --------------- | +| Ethernet1 | - | IPv4 | - | - | +| Ethernet2 | - | IPv4 | - | - | + +# Filters + +## Prefix-lists + +### Prefix-lists Summary + +#### PL-LOOPBACKS-EVPN-OVERLAY + +| Sequence | Action | +| -------- | ------ | +| 10 | permit 192.168.255.0/24 eq 32 | + +### Prefix-lists Device Configuration + +```eos +! +ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY + seq 10 permit 192.168.255.0/24 eq 32 +``` + +## Route-maps + +### Route-maps Summary + +#### RM-CONN-2-BGP + +| Sequence | Type | Match and/or Set | +| -------- | ---- | ---------------- | +| 10 | permit | match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | + +### Route-maps Device Configuration + +```eos +! +route-map RM-CONN-2-BGP permit 10 + match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +``` + +# ACL + +# VRF Instances + +## VRF Instances Summary + +| VRF Name | IP Routing | +| -------- | ---------- | +| MGMT | disabled | + +## VRF Instances Device Configuration + +```eos +! +vrf instance MGMT +``` + +# Quality Of Service diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-documentation.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-documentation.md index 5755779985e..60b1551121a 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-documentation.md +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-documentation.md @@ -56,6 +56,12 @@ | EOS_DESIGNS_UNIT_TESTS | l3leaf | MH-LEAF2A | 192.168.201.106/24 | vEOS-LAB | Provisioned | | EOS_DESIGNS_UNIT_TESTS | l3leaf | MLAG-OSPF-L3LEAF1A | 192.168.201.114/24 | vEOS-LAB | Provisioned | | EOS_DESIGNS_UNIT_TESTS | l3leaf | MLAG-OSPF-L3LEAF1B | 192.168.201.115/24 | vEOS-LAB | Provisioned | +| EOS_DESIGNS_UNIT_TESTS | l2leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A | 192.168.201.201/24 | vEOS-LAB | Provisioned | +| EOS_DESIGNS_UNIT_TESTS | l2leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B | 192.168.201.201/24 | vEOS-LAB | Provisioned | +| EOS_DESIGNS_UNIT_TESTS | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | 192.168.200.105/24 | vEOS-LAB | Provisioned | +| EOS_DESIGNS_UNIT_TESTS | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | 192.168.200.107/24 | vEOS-LAB | Provisioned | +| EOS_DESIGNS_UNIT_TESTS | spine | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | 192.168.200.101/24 | vEOS-LAB | Provisioned | +| EOS_DESIGNS_UNIT_TESTS | spine | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | 192.168.200.102/24 | vEOS-LAB | Provisioned | > Provision status is based on Ansible inventory declaration and do not represent real status from CloudVision. @@ -154,6 +160,18 @@ | l2leaf | MH-L2LEAF1A | Ethernet1 | l3leaf | MH-LEAF2A | Ethernet2 | | l3leaf | MLAG-OSPF-L3LEAF1A | Ethernet5 | mlag_peer | MLAG-OSPF-L3LEAF1B | Ethernet5 | | l3leaf | MLAG-OSPF-L3LEAF1A | Ethernet6 | mlag_peer | MLAG-OSPF-L3LEAF1B | Ethernet6 | +| l2leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A | Ethernet1 | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet5 | +| l2leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A | Ethernet2 | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet5 | +| l2leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A | Ethernet3 | mlag_peer | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B | Ethernet3 | +| l2leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A | Ethernet4 | mlag_peer | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B | Ethernet4 | +| l2leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B | Ethernet1 | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet6 | +| l2leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B | Ethernet2 | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet6 | +| l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet1 | spine | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | Ethernet1 | +| l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet2 | spine | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | Ethernet1 | +| l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet3 | mlag_peer | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet3 | +| l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet4 | mlag_peer | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet4 | +| l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet1 | spine | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | Ethernet2 | +| l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet2 | spine | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | Ethernet2 | # Fabric IP Allocation @@ -162,7 +180,7 @@ | Uplink IPv4 Pool | Available Addresses | Assigned addresses | Assigned Address % | | ---------------- | ------------------- | ------------------ | ------------------ | | 10.10.101.0/24 | 256 | 8 | 3.13 % | -| 172.31.255.0/24 | 256 | 104 | 40.63 % | +| 172.31.255.0/24 | 256 | 112 | 43.75 % | ## Point-To-Point Links Node Allocation @@ -224,13 +242,17 @@ | DC1-SPINE4 | Ethernet5 | 172.31.255.70/31 | DC1-SVC3B | Ethernet4 | 172.31.255.71/31 | | DC1-SPINE4 | Ethernet16 | 172.31.255.198/31 | DC1_UNDEPLOYED_LEAF1A | Ethernet4 | 172.31.255.199/31 | | DC1-SPINE4 | Ethernet17 | 172.31.255.214/31 | DC1_UNDEPLOYED_LEAF1B | Ethernet4 | 172.31.255.215/31 | +| UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet1 | 172.31.255.1/31 | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | Ethernet1 | 172.31.255.0/31 | +| UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet2 | 172.31.255.3/31 | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | Ethernet1 | 172.31.255.2/31 | +| UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet1 | 172.31.255.5/31 | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | Ethernet2 | 172.31.255.4/31 | +| UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet2 | 172.31.255.7/31 | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | Ethernet2 | 172.31.255.6/31 | ## Loopback Interfaces (BGP EVPN Peering) | Loopback Pool | Available Addresses | Assigned addresses | Assigned Address % | | ------------- | ------------------- | ------------------ | ------------------ | | 1.2.3.4/24 | 256 | 2 | 0.79 % | -| 192.168.255.0/24 | 256 | 24 | 9.38 % | +| 192.168.255.0/24 | 256 | 28 | 10.94 % | ## Loopback0 Interfaces Node Allocation @@ -262,12 +284,16 @@ | EOS_DESIGNS_UNIT_TESTS | MH-LEAF2A | 192.168.255.35/32 | | EOS_DESIGNS_UNIT_TESTS | MLAG-OSPF-L3LEAF1A | 192.168.255.36/32 | | EOS_DESIGNS_UNIT_TESTS | MLAG-OSPF-L3LEAF1B | 192.168.255.37/32 | +| EOS_DESIGNS_UNIT_TESTS | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | 192.168.255.3/32 | +| EOS_DESIGNS_UNIT_TESTS | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | 192.168.255.4/32 | +| EOS_DESIGNS_UNIT_TESTS | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | 192.168.255.1/32 | +| EOS_DESIGNS_UNIT_TESTS | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | 192.168.255.2/32 | ## VTEP Loopback VXLAN Tunnel Source Interfaces (VTEPs Only) | VTEP Loopback Pool | Available Addresses | Assigned addresses | Assigned Address % | | --------------------- | ------------------- | ------------------ | ------------------ | -| 192.168.254.0/24 | 256 | 20 | 7.82 % | +| 192.168.254.0/24 | 256 | 22 | 8.6 % | ## VTEP Loopback Node allocation @@ -293,3 +319,5 @@ | EOS_DESIGNS_UNIT_TESTS | MH-LEAF2A | 192.168.254.35/32 | | EOS_DESIGNS_UNIT_TESTS | MLAG-OSPF-L3LEAF1A | 192.168.254.36/32 | | EOS_DESIGNS_UNIT_TESTS | MLAG-OSPF-L3LEAF1B | 192.168.254.36/32 | +| EOS_DESIGNS_UNIT_TESTS | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | 192.168.254.3/32 | +| EOS_DESIGNS_UNIT_TESTS | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | 192.168.254.3/32 | diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-p2p-links.csv b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-p2p-links.csv index 99b8291898a..1d2d3640547 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-p2p-links.csv +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-p2p-links.csv @@ -55,3 +55,7 @@ spine,DC1-SPINE4,Ethernet4,172.31.255.54/31,l3leaf,DC1-SVC3A,Ethernet4,172.31.25 spine,DC1-SPINE4,Ethernet5,172.31.255.70/31,l3leaf,DC1-SVC3B,Ethernet4,172.31.255.71/31 spine,DC1-SPINE4,Ethernet16,172.31.255.198/31,l3leaf,DC1_UNDEPLOYED_LEAF1A,Ethernet4,172.31.255.199/31 spine,DC1-SPINE4,Ethernet17,172.31.255.214/31,l3leaf,DC1_UNDEPLOYED_LEAF1B,Ethernet4,172.31.255.215/31 +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet1,172.31.255.1/31,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet1,172.31.255.0/31 +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet2,172.31.255.3/31,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2,Ethernet1,172.31.255.2/31 +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet1,172.31.255.5/31,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet2,172.31.255.4/31 +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet2,172.31.255.7/31,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2,Ethernet2,172.31.255.6/31 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-topology.csv b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-topology.csv index 70a04b066b0..1685313c2e0 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-topology.csv +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-topology.csv @@ -248,3 +248,27 @@ l3leaf,MLAG-OSPF-L3LEAF1A,Ethernet6,mlag_peer,MLAG-OSPF-L3LEAF1B,Ethernet6,True l3leaf,MLAG-OSPF-L3LEAF1B,Ethernet1,spine,DC1-SPINE1,Ethernet18,True l3leaf,MLAG-OSPF-L3LEAF1B,Ethernet5,mlag_peer,MLAG-OSPF-L3LEAF1A,Ethernet5,True l3leaf,MLAG-OSPF-L3LEAF1B,Ethernet6,mlag_peer,MLAG-OSPF-L3LEAF1A,Ethernet6,True +l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A,Ethernet1,l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet5,True +l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A,Ethernet2,l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet5,True +l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A,Ethernet3,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet3,True +l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A,Ethernet4,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet4,True +l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet1,l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet6,True +l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet2,l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet6,True +l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet3,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A,Ethernet3,True +l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet4,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A,Ethernet4,True +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet1,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet1,True +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet2,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2,Ethernet1,True +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet3,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet3,True +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet4,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet4,True +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet5,l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A,Ethernet1,True +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet6,l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet1,True +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet1,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet2,True +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet2,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2,Ethernet2,True +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet3,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet3,True +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet4,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet4,True +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet5,l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A,Ethernet2,True +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet6,l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet2,True +spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet1,l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet1,True +spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet2,l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet1,True +spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2,Ethernet1,l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet2,True +spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2,Ethernet2,l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet2,True diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.cfg new file mode 100644 index 00000000000..978c065763a --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.cfg @@ -0,0 +1,118 @@ +!RANCID-CONTENT-TYPE: arista +! +boot secret sha512 a153de6290ff1409257ade45f +! +daemon TerminAttr + exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs + no shutdown +! +vlan internal order ascending range 1006 1199 +! +transceiver qsfp default-mode 4x10G +! +service routing protocols model multi-agent +! +hostname UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A +ip name-server vrf MGMT 8.8.8.8 +ip name-server vrf MGMT 192.168.200.5 +! +ntp local-interface vrf MGMT Management1 +ntp server vrf MGMT 192.168.200.5 prefer +! +snmp-server contact example@example.com +snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A +! +spanning-tree mode mstp +no spanning-tree vlan-id 4094 +spanning-tree mst 0 priority 16384 +! +no enable password +no aaa root +! +username admin privilege 15 role network-admin nopassword +username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. +username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local +! +vlan 4094 + name MLAG_PEER + trunk group MLAG +! +vrf instance MGMT +! +interface Port-Channel1 + description DC1_LEAF1_Po5 + no shutdown + switchport + switchport trunk allowed vlan none + switchport trunk native vlan tag + switchport mode trunk + mlag 1 + storm-control broadcast level 25 + storm-control unknown-unicast level 25 +! +interface Port-Channel3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Po3 + no shutdown + switchport + switchport trunk allowed vlan 2-4094 + switchport trunk native vlan tag + switchport mode trunk + switchport trunk group MLAG + storm-control broadcast level 25 + storm-control unknown-unicast level 25 +! +interface Ethernet1 + description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet5 + no shutdown + channel-group 1 mode active +! +interface Ethernet2 + description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet5 + no shutdown + channel-group 1 mode active +! +interface Ethernet3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet3 + no shutdown + channel-group 3 mode active +! +interface Ethernet4 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet4 + no shutdown + channel-group 3 mode active +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.201.201/24 +! +interface Vlan4094 + description MLAG_PEER + no shutdown + mtu 1500 + no autostate + ip address 10.255.252.0/31 +! +ip routing +no ip routing vrf MGMT +! +mlag configuration + domain-id UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1 + local-interface Vlan4094 + peer-address 10.255.252.1 + peer-link Port-Channel3 + reload-delay mlag 300 + reload-delay non-mlag 330 +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.5 +! +management api http-commands + protocol https + no default-services + no shutdown + ! + vrf MGMT + no shutdown +! +end diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.cfg new file mode 100644 index 00000000000..a0fb571fb8a --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.cfg @@ -0,0 +1,118 @@ +!RANCID-CONTENT-TYPE: arista +! +boot secret sha512 a153de6290ff1409257ade45f +! +daemon TerminAttr + exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs + no shutdown +! +vlan internal order ascending range 1006 1199 +! +transceiver qsfp default-mode 4x10G +! +service routing protocols model multi-agent +! +hostname UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B +ip name-server vrf MGMT 8.8.8.8 +ip name-server vrf MGMT 192.168.200.5 +! +ntp local-interface vrf MGMT Management1 +ntp server vrf MGMT 192.168.200.5 prefer +! +snmp-server contact example@example.com +snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B +! +spanning-tree mode mstp +no spanning-tree vlan-id 4094 +spanning-tree mst 0 priority 16384 +! +no enable password +no aaa root +! +username admin privilege 15 role network-admin nopassword +username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. +username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local +! +vlan 4094 + name MLAG_PEER + trunk group MLAG +! +vrf instance MGMT +! +interface Port-Channel1 + description DC1_LEAF1_Po5 + no shutdown + switchport + switchport trunk allowed vlan none + switchport trunk native vlan tag + switchport mode trunk + mlag 1 + storm-control broadcast level 25 + storm-control unknown-unicast level 25 +! +interface Port-Channel3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Po3 + no shutdown + switchport + switchport trunk allowed vlan 2-4094 + switchport trunk native vlan tag + switchport mode trunk + switchport trunk group MLAG + storm-control broadcast level 25 + storm-control unknown-unicast level 25 +! +interface Ethernet1 + description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet6 + no shutdown + channel-group 1 mode active +! +interface Ethernet2 + description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet6 + no shutdown + channel-group 1 mode active +! +interface Ethernet3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet3 + no shutdown + channel-group 3 mode active +! +interface Ethernet4 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet4 + no shutdown + channel-group 3 mode active +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.201.201/24 +! +interface Vlan4094 + description MLAG_PEER + no shutdown + mtu 1500 + no autostate + ip address 10.255.252.1/31 +! +ip routing +no ip routing vrf MGMT +! +mlag configuration + domain-id UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1 + local-interface Vlan4094 + peer-address 10.255.252.0 + peer-link Port-Channel3 + reload-delay mlag 300 + reload-delay non-mlag 330 +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.5 +! +management api http-commands + protocol https + no default-services + no shutdown + ! + vrf MGMT + no shutdown +! +end diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.cfg new file mode 100644 index 00000000000..cb219eb9963 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.cfg @@ -0,0 +1,224 @@ +!RANCID-CONTENT-TYPE: arista +! +boot secret sha512 a153de6290ff1409257ade45f +! +daemon TerminAttr + exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs + no shutdown +! +vlan internal order ascending range 1006 1199 +! +transceiver qsfp default-mode 4x10G +! +service routing protocols model multi-agent +! +hostname UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A +ip name-server vrf MGMT 8.8.8.8 +ip name-server vrf MGMT 192.168.200.5 +! +ntp local-interface vrf MGMT Management1 +ntp server vrf MGMT 192.168.200.5 prefer +! +snmp-server contact example@example.com +snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A +! +spanning-tree mode mstp +no spanning-tree vlan-id 4093-4094 +spanning-tree mst 0 priority 4096 +! +no enable password +no aaa root +! +username admin privilege 15 role network-admin nopassword +username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. +username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local +! +vlan 4093 + name LEAF_PEER_L3 + trunk group LEAF_PEER_L3 +! +vlan 4094 + name MLAG_PEER + trunk group MLAG +! +vrf instance MGMT +! +interface Port-Channel3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Po3 + no shutdown + switchport + switchport trunk allowed vlan 2-4094 + switchport mode trunk + switchport trunk group LEAF_PEER_L3 + switchport trunk group MLAG +! +interface Port-Channel5 + description UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1_Po1 + no shutdown + switchport + switchport trunk allowed vlan none + switchport trunk native vlan tag + switchport mode trunk + mlag 5 + storm-control broadcast level 25 + storm-control unknown-unicast level 25 +! +interface Ethernet1 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet1 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.1/31 + pim ipv4 sparse-mode +! +interface Ethernet2 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.3/31 + pim ipv4 sparse-mode +! +interface Ethernet3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet3 + no shutdown + channel-group 3 mode active +! +interface Ethernet4 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet4 + no shutdown + channel-group 3 mode active +! +interface Ethernet5 + description UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet1 + no shutdown + channel-group 5 mode active +! +interface Ethernet6 + description UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet1 + no shutdown + channel-group 5 mode active +! +interface Loopback0 + description EVPN_Overlay_Peering + no shutdown + ip address 192.168.255.3/32 +! +interface Loopback1 + description VTEP_VXLAN_Tunnel_Source + no shutdown + ip address 192.168.254.3/32 +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.200.105/24 +! +interface Vlan4093 + description MLAG_PEER_L3_PEERING + no shutdown + mtu 1500 + ip address 10.255.251.0/31 + pim ipv4 sparse-mode +! +interface Vlan4094 + description mlag_peer_vlan_structured_config_override + no shutdown + mtu 1500 + no autostate + ip address 10.255.252.0/31 +! +interface Vxlan1 + description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_VTEP + vxlan source-interface Loopback1 + vxlan virtual-router encapsulation mac-address mlag-system-id + vxlan udp-port 4789 +! +ip virtual-router mac-address 00:dc:00:00:00:0a +! +ip routing +no ip routing vrf MGMT +! +ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY + seq 10 permit 192.168.255.0/24 eq 32 + seq 20 permit 192.168.254.0/24 eq 32 +! +mlag configuration + domain-id DC1_LEAF1 + local-interface Vlan4094 + peer-address 10.255.252.1 + peer-link Port-Channel3 + reload-delay mlag 300 + reload-delay non-mlag 330 +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.5 +! +route-map RM-CONN-2-BGP permit 10 + match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +! +route-map RM-MLAG-PEER-IN permit 10 + description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing + set origin incomplete +! +router bfd + multihop interval 1200 min-rx 1200 multiplier 3 +! +router bgp 65101 + router-id 192.168.255.3 + no bgp default ipv4-unicast + distance bgp 20 200 200 + maximum-paths 4 ecmp 4 + neighbor EVPN-OVERLAY-PEERS peer group + neighbor EVPN-OVERLAY-PEERS update-source Loopback0 + neighbor EVPN-OVERLAY-PEERS bfd + neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 + neighbor EVPN-OVERLAY-PEERS password 7 q+VNViP5i4rVjW1cxFv2wA== + neighbor EVPN-OVERLAY-PEERS send-community + neighbor EVPN-OVERLAY-PEERS maximum-routes 0 + neighbor MLAG-PEERS peer group + neighbor MLAG-PEERS remote-as 65101 + neighbor MLAG-PEERS next-hop-self + neighbor MLAG-PEERS description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + neighbor MLAG-PEERS password 7 vnEaG8gMeQf3d3cN6PktXQ== + neighbor MLAG-PEERS send-community + neighbor MLAG-PEERS maximum-routes 12000 + neighbor MLAG-PEERS route-map RM-MLAG-PEER-IN in + neighbor UNDERLAY-PEERS peer group + neighbor UNDERLAY-PEERS password 7 AQQvKeimxJu+uGQ/yYvv9w== + neighbor UNDERLAY-PEERS send-community + neighbor UNDERLAY-PEERS maximum-routes 12000 + neighbor 10.255.251.1 peer group MLAG-PEERS + neighbor 10.255.251.1 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + neighbor 172.31.255.0 peer group UNDERLAY-PEERS + neighbor 172.31.255.0 remote-as 65001 + neighbor 172.31.255.0 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet1 + neighbor 172.31.255.2 peer group UNDERLAY-PEERS + neighbor 172.31.255.2 remote-as 65001 + neighbor 172.31.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 + neighbor 192.168.255.1 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.1 remote-as 65001 + neighbor 192.168.255.1 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 + neighbor 192.168.255.2 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.2 remote-as 65001 + neighbor 192.168.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 + redistribute connected route-map RM-CONN-2-BGP + ! + address-family evpn + host-flap detection window 180 threshold 5 expiry timeout 10 seconds + neighbor EVPN-OVERLAY-PEERS activate + ! + address-family ipv4 + no neighbor EVPN-OVERLAY-PEERS activate + neighbor MLAG-PEERS activate + neighbor UNDERLAY-PEERS activate +! +management api http-commands + protocol https + no default-services + no shutdown + ! + vrf MGMT + no shutdown +! +end diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.cfg new file mode 100644 index 00000000000..7928fc8f398 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.cfg @@ -0,0 +1,224 @@ +!RANCID-CONTENT-TYPE: arista +! +boot secret sha512 a153de6290ff1409257ade45f +! +daemon TerminAttr + exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs + no shutdown +! +vlan internal order ascending range 1006 1199 +! +transceiver qsfp default-mode 4x10G +! +service routing protocols model multi-agent +! +hostname UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B +ip name-server vrf MGMT 8.8.8.8 +ip name-server vrf MGMT 192.168.200.5 +! +ntp local-interface vrf MGMT Management1 +ntp server vrf MGMT 192.168.200.5 prefer +! +snmp-server contact example@example.com +snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B +! +spanning-tree mode mstp +no spanning-tree vlan-id 4093-4094 +spanning-tree mst 0 priority 4096 +! +no enable password +no aaa root +! +username admin privilege 15 role network-admin nopassword +username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. +username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local +! +vlan 4093 + name LEAF_PEER_L3 + trunk group LEAF_PEER_L3 +! +vlan 4094 + name MLAG_PEER + trunk group MLAG +! +vrf instance MGMT +! +interface Port-Channel3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Po3 + no shutdown + switchport + switchport trunk allowed vlan 2-4094 + switchport mode trunk + switchport trunk group LEAF_PEER_L3 + switchport trunk group MLAG +! +interface Port-Channel5 + description UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1_Po1 + no shutdown + switchport + switchport trunk allowed vlan none + switchport trunk native vlan tag + switchport mode trunk + mlag 5 + storm-control broadcast level 25 + storm-control unknown-unicast level 25 +! +interface Ethernet1 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.5/31 + pim ipv4 sparse-mode +! +interface Ethernet2 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.7/31 + pim ipv4 sparse-mode +! +interface Ethernet3 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet3 + no shutdown + channel-group 3 mode active +! +interface Ethernet4 + description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet4 + no shutdown + channel-group 3 mode active +! +interface Ethernet5 + description UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet2 + no shutdown + channel-group 5 mode active +! +interface Ethernet6 + description UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet2 + no shutdown + channel-group 5 mode active +! +interface Loopback0 + description EVPN_Overlay_Peering + no shutdown + ip address 192.168.255.4/32 +! +interface Loopback1 + description VTEP_VXLAN_Tunnel_Source + no shutdown + ip address 192.168.254.3/32 +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.200.107/24 +! +interface Vlan4093 + description MLAG_PEER_L3_PEERING + no shutdown + mtu 1500 + ip address 10.255.251.1/31 + pim ipv4 sparse-mode +! +interface Vlan4094 + description mlag_peer_vlan_structured_config_override + no shutdown + mtu 1500 + no autostate + ip address 10.255.252.1/31 +! +interface Vxlan1 + description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_VTEP + vxlan source-interface Loopback1 + vxlan virtual-router encapsulation mac-address mlag-system-id + vxlan udp-port 4789 +! +ip virtual-router mac-address 00:dc:00:00:00:0a +! +ip routing +no ip routing vrf MGMT +! +ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY + seq 10 permit 192.168.255.0/24 eq 32 + seq 20 permit 192.168.254.0/24 eq 32 +! +mlag configuration + domain-id DC1_LEAF1 + local-interface Vlan4094 + peer-address 10.255.252.0 + peer-link Port-Channel3 + reload-delay mlag 300 + reload-delay non-mlag 330 +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.5 +! +route-map RM-CONN-2-BGP permit 10 + match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +! +route-map RM-MLAG-PEER-IN permit 10 + description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing + set origin incomplete +! +router bfd + multihop interval 1200 min-rx 1200 multiplier 3 +! +router bgp 65101 + router-id 192.168.255.4 + no bgp default ipv4-unicast + distance bgp 20 200 200 + maximum-paths 4 ecmp 4 + neighbor EVPN-OVERLAY-PEERS peer group + neighbor EVPN-OVERLAY-PEERS update-source Loopback0 + neighbor EVPN-OVERLAY-PEERS bfd + neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 + neighbor EVPN-OVERLAY-PEERS password 7 q+VNViP5i4rVjW1cxFv2wA== + neighbor EVPN-OVERLAY-PEERS send-community + neighbor EVPN-OVERLAY-PEERS maximum-routes 0 + neighbor MLAG-PEERS peer group + neighbor MLAG-PEERS remote-as 65101 + neighbor MLAG-PEERS next-hop-self + neighbor MLAG-PEERS description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + neighbor MLAG-PEERS password 7 vnEaG8gMeQf3d3cN6PktXQ== + neighbor MLAG-PEERS send-community + neighbor MLAG-PEERS maximum-routes 12000 + neighbor MLAG-PEERS route-map RM-MLAG-PEER-IN in + neighbor UNDERLAY-PEERS peer group + neighbor UNDERLAY-PEERS password 7 AQQvKeimxJu+uGQ/yYvv9w== + neighbor UNDERLAY-PEERS send-community + neighbor UNDERLAY-PEERS maximum-routes 12000 + neighbor 10.255.251.0 peer group MLAG-PEERS + neighbor 10.255.251.0 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + neighbor 172.31.255.4 peer group UNDERLAY-PEERS + neighbor 172.31.255.4 remote-as 65001 + neighbor 172.31.255.4 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 + neighbor 172.31.255.6 peer group UNDERLAY-PEERS + neighbor 172.31.255.6 remote-as 65001 + neighbor 172.31.255.6 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 + neighbor 192.168.255.1 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.1 remote-as 65001 + neighbor 192.168.255.1 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 + neighbor 192.168.255.2 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.2 remote-as 65001 + neighbor 192.168.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 + redistribute connected route-map RM-CONN-2-BGP + ! + address-family evpn + host-flap detection window 180 threshold 5 expiry timeout 10 seconds + neighbor EVPN-OVERLAY-PEERS activate + ! + address-family ipv4 + no neighbor EVPN-OVERLAY-PEERS activate + neighbor MLAG-PEERS activate + neighbor UNDERLAY-PEERS activate +! +management api http-commands + protocol https + no default-services + no shutdown + ! + vrf MGMT + no shutdown +! +end diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.cfg new file mode 100644 index 00000000000..92545dfb821 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.cfg @@ -0,0 +1,123 @@ +!RANCID-CONTENT-TYPE: arista +! +boot secret sha512 a153de6290ff1409257ade45f +! +daemon TerminAttr + exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs + no shutdown +! +vlan internal order ascending range 1006 1199 +! +transceiver qsfp default-mode 4x10G +! +service routing protocols model multi-agent +! +hostname UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 +ip name-server vrf MGMT 8.8.8.8 +ip name-server vrf MGMT 192.168.200.5 +! +ntp local-interface vrf MGMT Management1 +ntp server vrf MGMT 192.168.200.5 prefer +! +snmp-server contact example@example.com +snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 +! +spanning-tree mode none +! +no enable password +no aaa root +! +username admin privilege 15 role network-admin nopassword +username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. +username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local +! +vrf instance MGMT +! +interface Ethernet1 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet1 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.0/31 + pim ipv4 sparse-mode +! +interface Ethernet2 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.4/31 + pim ipv4 sparse-mode +! +interface Loopback0 + description EVPN_Overlay_Peering + no shutdown + ip address 192.168.255.1/32 +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.200.101/24 +! +ip routing +no ip routing vrf MGMT +! +ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY + seq 10 permit 192.168.255.0/24 eq 32 +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.5 +! +route-map RM-CONN-2-BGP permit 10 + match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +! +router bfd + multihop interval 1200 min-rx 1200 multiplier 3 +! +router bgp 65001 + router-id 192.168.255.1 + no bgp default ipv4-unicast + distance bgp 20 200 200 + maximum-paths 4 ecmp 4 + neighbor EVPN-OVERLAY-PEERS peer group + neighbor EVPN-OVERLAY-PEERS next-hop-unchanged + neighbor EVPN-OVERLAY-PEERS update-source Loopback0 + neighbor EVPN-OVERLAY-PEERS bfd + neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 + neighbor EVPN-OVERLAY-PEERS password 7 q+VNViP5i4rVjW1cxFv2wA== + neighbor EVPN-OVERLAY-PEERS send-community + neighbor EVPN-OVERLAY-PEERS maximum-routes 0 + neighbor UNDERLAY-PEERS peer group + neighbor UNDERLAY-PEERS password 7 AQQvKeimxJu+uGQ/yYvv9w== + neighbor UNDERLAY-PEERS send-community + neighbor UNDERLAY-PEERS maximum-routes 12000 + neighbor 172.31.255.1 peer group UNDERLAY-PEERS + neighbor 172.31.255.1 remote-as 65101 + neighbor 172.31.255.1 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet1 + neighbor 172.31.255.5 peer group UNDERLAY-PEERS + neighbor 172.31.255.5 remote-as 65101 + neighbor 172.31.255.5 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 + neighbor 192.168.255.3 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.3 remote-as 65101 + neighbor 192.168.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + neighbor 192.168.255.4 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.4 remote-as 65101 + neighbor 192.168.255.4 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + redistribute connected route-map RM-CONN-2-BGP + ! + address-family evpn + neighbor EVPN-OVERLAY-PEERS activate + ! + address-family ipv4 + no neighbor EVPN-OVERLAY-PEERS activate + neighbor UNDERLAY-PEERS activate +! +management api http-commands + protocol https + no default-services + no shutdown + ! + vrf MGMT + no shutdown +! +end diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.cfg new file mode 100644 index 00000000000..1257e4faf92 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.cfg @@ -0,0 +1,123 @@ +!RANCID-CONTENT-TYPE: arista +! +boot secret sha512 a153de6290ff1409257ade45f +! +daemon TerminAttr + exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs + no shutdown +! +vlan internal order ascending range 1006 1199 +! +transceiver qsfp default-mode 4x10G +! +service routing protocols model multi-agent +! +hostname UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 +ip name-server vrf MGMT 8.8.8.8 +ip name-server vrf MGMT 192.168.200.5 +! +ntp local-interface vrf MGMT Management1 +ntp server vrf MGMT 192.168.200.5 prefer +! +snmp-server contact example@example.com +snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 +! +spanning-tree mode none +! +no enable password +no aaa root +! +username admin privilege 15 role network-admin nopassword +username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. +username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local +! +vrf instance MGMT +! +interface Ethernet1 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.2/31 + pim ipv4 sparse-mode +! +interface Ethernet2 + description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 + no shutdown + mtu 1500 + no switchport + ip address 172.31.255.6/31 + pim ipv4 sparse-mode +! +interface Loopback0 + description EVPN_Overlay_Peering + no shutdown + ip address 192.168.255.2/32 +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.200.102/24 +! +ip routing +no ip routing vrf MGMT +! +ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY + seq 10 permit 192.168.255.0/24 eq 32 +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.5 +! +route-map RM-CONN-2-BGP permit 10 + match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +! +router bfd + multihop interval 1200 min-rx 1200 multiplier 3 +! +router bgp 65001 + router-id 192.168.255.2 + no bgp default ipv4-unicast + distance bgp 20 200 200 + maximum-paths 4 ecmp 4 + neighbor EVPN-OVERLAY-PEERS peer group + neighbor EVPN-OVERLAY-PEERS next-hop-unchanged + neighbor EVPN-OVERLAY-PEERS update-source Loopback0 + neighbor EVPN-OVERLAY-PEERS bfd + neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 + neighbor EVPN-OVERLAY-PEERS password 7 q+VNViP5i4rVjW1cxFv2wA== + neighbor EVPN-OVERLAY-PEERS send-community + neighbor EVPN-OVERLAY-PEERS maximum-routes 0 + neighbor UNDERLAY-PEERS peer group + neighbor UNDERLAY-PEERS password 7 AQQvKeimxJu+uGQ/yYvv9w== + neighbor UNDERLAY-PEERS send-community + neighbor UNDERLAY-PEERS maximum-routes 12000 + neighbor 172.31.255.3 peer group UNDERLAY-PEERS + neighbor 172.31.255.3 remote-as 65101 + neighbor 172.31.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 + neighbor 172.31.255.7 peer group UNDERLAY-PEERS + neighbor 172.31.255.7 remote-as 65101 + neighbor 172.31.255.7 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 + neighbor 192.168.255.3 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.3 remote-as 65101 + neighbor 192.168.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + neighbor 192.168.255.4 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.4 remote-as 65101 + neighbor 192.168.255.4 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + redistribute connected route-map RM-CONN-2-BGP + ! + address-family evpn + neighbor EVPN-OVERLAY-PEERS activate + ! + address-family ipv4 + no neighbor EVPN-OVERLAY-PEERS activate + neighbor UNDERLAY-PEERS activate +! +management api http-commands + protocol https + no default-services + no shutdown + ! + vrf MGMT + no shutdown +! +end diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.yml new file mode 100644 index 00000000000..62def0e45f9 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A.yml @@ -0,0 +1,168 @@ +static_routes: +- vrf: MGMT + destination_address_prefix: 0.0.0.0/0 + gateway: 192.168.200.5 +service_routing_protocols_model: multi-agent +ip_routing: true +daemon_terminattr: + cvaddrs: + - 192.168.200.11:9910 + cvauth: + method: key + key: telarista + cvvrf: MGMT + smashexcludes: ale,flexCounter,hardware,kni,pulse,strata + ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent + disable_aaa: false +vlan_internal_order: + allocation: ascending + range: + beginning: 1006 + ending: 1199 +name_server: + source: + vrf: MGMT + nodes: + - 192.168.200.5 + - 8.8.8.8 +snmp_server: + contact: example@example.com + location: EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A +spanning_tree: + mode: mstp + mst_instances: + '0': + priority: 16384 + no_spanning_tree_vlan: 4094 +local_users: + admin: + privilege: 15 + role: network-admin + no_password: true + cvpadmin: + privilege: 15 + role: network-admin + sha512_password: $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. + ssh_key: ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= + cvpadmin@hostmachine.local +vrfs: + MGMT: + ip_routing: false +management_interfaces: + Management1: + description: oob_management + shutdown: false + vrf: MGMT + ip_address: 192.168.201.201/24 + gateway: 192.168.200.5 + type: oob +management_api_http: + enable_vrfs: + MGMT: {} + enable_https: true + default_services: false +vlans: + 4094: + tenant: system + name: MLAG_PEER + trunk_groups: + - MLAG +vlan_interfaces: + Vlan4094: + description: MLAG_PEER + shutdown: false + ip_address: 10.255.252.0/31 + no_autostate: true + mtu: 1500 +port_channel_interfaces: + Port-Channel3: + description: MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Po3 + type: switched + shutdown: false + vlans: 2-4094 + mode: trunk + trunk_groups: + - MLAG + struct_cfg: + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true + Port-Channel1: + description: DC1_LEAF1_Po5 + type: switched + shutdown: false + vlans: none + mode: trunk + mlag: 1 + struct_cfg: + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true +ethernet_interfaces: + Ethernet3: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B + peer_interface: Ethernet3 + peer_type: mlag_peer + description: MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet3 + type: switched + shutdown: false + channel_group: + id: 3 + mode: active + Ethernet4: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B + peer_interface: Ethernet4 + peer_type: mlag_peer + description: MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet4 + type: switched + shutdown: false + channel_group: + id: 3 + mode: active + Ethernet1: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + peer_interface: Ethernet5 + peer_type: l3leaf + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet5 + type: switched + shutdown: false + channel_group: + id: 1 + mode: active + Ethernet2: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + peer_interface: Ethernet5 + peer_type: l3leaf + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet5 + type: switched + shutdown: false + channel_group: + id: 1 + mode: active +mlag_configuration: + domain_id: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1 + local_interface: Vlan4094 + peer_address: 10.255.252.1 + peer_link: Port-Channel3 + reload_delay_mlag: 300 + reload_delay_non_mlag: 330 +ip_igmp_snooping: + globally_enabled: true diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.yml new file mode 100644 index 00000000000..a79f456556a --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B.yml @@ -0,0 +1,168 @@ +static_routes: +- vrf: MGMT + destination_address_prefix: 0.0.0.0/0 + gateway: 192.168.200.5 +service_routing_protocols_model: multi-agent +ip_routing: true +daemon_terminattr: + cvaddrs: + - 192.168.200.11:9910 + cvauth: + method: key + key: telarista + cvvrf: MGMT + smashexcludes: ale,flexCounter,hardware,kni,pulse,strata + ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent + disable_aaa: false +vlan_internal_order: + allocation: ascending + range: + beginning: 1006 + ending: 1199 +name_server: + source: + vrf: MGMT + nodes: + - 192.168.200.5 + - 8.8.8.8 +snmp_server: + contact: example@example.com + location: EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B +spanning_tree: + mode: mstp + mst_instances: + '0': + priority: 16384 + no_spanning_tree_vlan: 4094 +local_users: + admin: + privilege: 15 + role: network-admin + no_password: true + cvpadmin: + privilege: 15 + role: network-admin + sha512_password: $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. + ssh_key: ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= + cvpadmin@hostmachine.local +vrfs: + MGMT: + ip_routing: false +management_interfaces: + Management1: + description: oob_management + shutdown: false + vrf: MGMT + ip_address: 192.168.201.201/24 + gateway: 192.168.200.5 + type: oob +management_api_http: + enable_vrfs: + MGMT: {} + enable_https: true + default_services: false +vlans: + 4094: + tenant: system + name: MLAG_PEER + trunk_groups: + - MLAG +vlan_interfaces: + Vlan4094: + description: MLAG_PEER + shutdown: false + ip_address: 10.255.252.1/31 + no_autostate: true + mtu: 1500 +port_channel_interfaces: + Port-Channel3: + description: MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Po3 + type: switched + shutdown: false + vlans: 2-4094 + mode: trunk + trunk_groups: + - MLAG + struct_cfg: + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true + Port-Channel1: + description: DC1_LEAF1_Po5 + type: switched + shutdown: false + vlans: none + mode: trunk + mlag: 1 + struct_cfg: + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true +ethernet_interfaces: + Ethernet3: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A + peer_interface: Ethernet3 + peer_type: mlag_peer + description: MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet3 + type: switched + shutdown: false + channel_group: + id: 3 + mode: active + Ethernet4: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A + peer_interface: Ethernet4 + peer_type: mlag_peer + description: MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet4 + type: switched + shutdown: false + channel_group: + id: 3 + mode: active + Ethernet1: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + peer_interface: Ethernet6 + peer_type: l3leaf + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet6 + type: switched + shutdown: false + channel_group: + id: 1 + mode: active + Ethernet2: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + peer_interface: Ethernet6 + peer_type: l3leaf + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet6 + type: switched + shutdown: false + channel_group: + id: 1 + mode: active +mlag_configuration: + domain_id: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1 + local_interface: Vlan4094 + peer_address: 10.255.252.0 + peer_link: Port-Channel3 + reload_delay_mlag: 300 + reload_delay_non_mlag: 330 +ip_igmp_snooping: + globally_enabled: true diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.yml new file mode 100644 index 00000000000..418c3713b51 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.yml @@ -0,0 +1,320 @@ +router_bgp: + as: '65101' + router_id: 192.168.255.3 + bgp_defaults: + - no bgp default ipv4-unicast + - distance bgp 20 200 200 + - maximum-paths 4 ecmp 4 + peer_groups: + MLAG-PEERS: + type: ipv4 + remote_as: '65101' + next_hop_self: true + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + password: vnEaG8gMeQf3d3cN6PktXQ== + maximum_routes: 12000 + send_community: all + route_map_in: RM-MLAG-PEER-IN + UNDERLAY-PEERS: + type: ipv4 + password: AQQvKeimxJu+uGQ/yYvv9w== + maximum_routes: 12000 + send_community: all + EVPN-OVERLAY-PEERS: + type: evpn + update_source: Loopback0 + bfd: true + ebgp_multihop: '3' + password: q+VNViP5i4rVjW1cxFv2wA== + send_community: all + maximum_routes: 0 + address_family_ipv4: + peer_groups: + MLAG-PEERS: + activate: true + UNDERLAY-PEERS: + activate: true + EVPN-OVERLAY-PEERS: + activate: false + neighbors: + 10.255.251.1: + peer_group: MLAG-PEERS + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + 172.31.255.0: + peer_group: UNDERLAY-PEERS + remote_as: '65001' + description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet1 + 172.31.255.2: + peer_group: UNDERLAY-PEERS + remote_as: '65001' + description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 + 192.168.255.1: + peer_group: EVPN-OVERLAY-PEERS + description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 + remote_as: '65001' + 192.168.255.2: + peer_group: EVPN-OVERLAY-PEERS + description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 + remote_as: '65001' + redistribute_routes: + connected: + route_map: RM-CONN-2-BGP + address_family_evpn: + peer_groups: + EVPN-OVERLAY-PEERS: + activate: true + evpn_hostflap_detection: + window: 180 + threshold: 5 + enabled: true + expiry_timeout: 10 +static_routes: +- vrf: MGMT + destination_address_prefix: 0.0.0.0/0 + gateway: 192.168.200.5 +service_routing_protocols_model: multi-agent +ip_routing: true +daemon_terminattr: + cvaddrs: + - 192.168.200.11:9910 + cvauth: + method: key + key: telarista + cvvrf: MGMT + smashexcludes: ale,flexCounter,hardware,kni,pulse,strata + ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent + disable_aaa: false +vlan_internal_order: + allocation: ascending + range: + beginning: 1006 + ending: 1199 +name_server: + source: + vrf: MGMT + nodes: + - 192.168.200.5 + - 8.8.8.8 +snmp_server: + contact: example@example.com + location: EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A +spanning_tree: + mode: mstp + mst_instances: + '0': + priority: 4096 + no_spanning_tree_vlan: 4093-4094 +local_users: + admin: + privilege: 15 + role: network-admin + no_password: true + cvpadmin: + privilege: 15 + role: network-admin + sha512_password: $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. + ssh_key: ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= + cvpadmin@hostmachine.local +vrfs: + MGMT: + ip_routing: false +management_interfaces: + Management1: + description: oob_management + shutdown: false + vrf: MGMT + ip_address: 192.168.200.105/24 + gateway: 192.168.200.5 + type: oob +management_api_http: + enable_vrfs: + MGMT: {} + enable_https: true + default_services: false +vlans: + 4093: + tenant: system + name: LEAF_PEER_L3 + trunk_groups: + - LEAF_PEER_L3 + 4094: + tenant: system + name: MLAG_PEER + trunk_groups: + - MLAG +vlan_interfaces: + Vlan4093: + description: MLAG_PEER_L3_PEERING + shutdown: false + ip_address: 10.255.251.0/31 + mtu: 1500 + struct_cfg: + pim: + ipv4: + sparse_mode: true + pim: + ipv4: + sparse_mode: true + Vlan4094: + description: mlag_peer_vlan_structured_config_override + shutdown: false + ip_address: 10.255.252.0/31 + no_autostate: true + mtu: 1500 + struct_cfg: + description: mlag_peer_vlan_structured_config_override +port_channel_interfaces: + Port-Channel3: + description: MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Po3 + type: switched + shutdown: false + vlans: 2-4094 + mode: trunk + trunk_groups: + - LEAF_PEER_L3 + - MLAG + Port-Channel5: + description: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1_Po1 + type: switched + shutdown: false + vlans: none + mode: trunk + mlag: 5 + struct_cfg: + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true +ethernet_interfaces: + Ethernet3: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + peer_interface: Ethernet3 + peer_type: mlag_peer + description: MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet3 + type: switched + shutdown: false + channel_group: + id: 3 + mode: active + Ethernet4: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + peer_interface: Ethernet4 + peer_type: mlag_peer + description: MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet4 + type: switched + shutdown: false + channel_group: + id: 3 + mode: active + Ethernet1: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 + peer_interface: Ethernet1 + peer_type: spine + description: P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet1 + mtu: 1500 + type: routed + shutdown: false + ip_address: 172.31.255.1/31 + struct_cfg: + pim: + ipv4: + sparse_mode: true + pim: + ipv4: + sparse_mode: true + Ethernet2: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 + peer_interface: Ethernet1 + peer_type: spine + description: P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 + mtu: 1500 + type: routed + shutdown: false + ip_address: 172.31.255.3/31 + struct_cfg: + pim: + ipv4: + sparse_mode: true + pim: + ipv4: + sparse_mode: true + Ethernet5: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A + peer_interface: Ethernet1 + peer_type: l2leaf + description: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet1 + type: switched + shutdown: false + channel_group: + id: 5 + mode: active + Ethernet6: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B + peer_interface: Ethernet1 + peer_type: l2leaf + description: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet1 + type: switched + shutdown: false + channel_group: + id: 5 + mode: active +mlag_configuration: + domain_id: DC1_LEAF1 + local_interface: Vlan4094 + peer_address: 10.255.252.1 + peer_link: Port-Channel3 + reload_delay_mlag: 300 + reload_delay_non_mlag: 330 +route_maps: + RM-MLAG-PEER-IN: + sequence_numbers: + 10: + type: permit + set: + - origin incomplete + description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing + RM-CONN-2-BGP: + sequence_numbers: + 10: + type: permit + match: + - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +loopback_interfaces: + Loopback0: + description: EVPN_Overlay_Peering + shutdown: false + ip_address: 192.168.255.3/32 + Loopback1: + description: VTEP_VXLAN_Tunnel_Source + shutdown: false + ip_address: 192.168.254.3/32 +prefix_lists: + PL-LOOPBACKS-EVPN-OVERLAY: + sequence_numbers: + 10: + action: permit 192.168.255.0/24 eq 32 + 20: + action: permit 192.168.254.0/24 eq 32 +router_bfd: + multihop: + interval: 1200 + min_rx: 1200 + multiplier: 3 +ip_igmp_snooping: + globally_enabled: true +ip_virtual_router_mac_address: 00:dc:00:00:00:0a +vxlan_interface: + Vxlan1: + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_VTEP + vxlan: + source_interface: Loopback1 + virtual_router_encapsulation_mac_address: mlag-system-id + udp_port: 4789 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.yml new file mode 100644 index 00000000000..c428db998cb --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.yml @@ -0,0 +1,320 @@ +router_bgp: + as: '65101' + router_id: 192.168.255.4 + bgp_defaults: + - no bgp default ipv4-unicast + - distance bgp 20 200 200 + - maximum-paths 4 ecmp 4 + peer_groups: + MLAG-PEERS: + type: ipv4 + remote_as: '65101' + next_hop_self: true + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + password: vnEaG8gMeQf3d3cN6PktXQ== + maximum_routes: 12000 + send_community: all + route_map_in: RM-MLAG-PEER-IN + UNDERLAY-PEERS: + type: ipv4 + password: AQQvKeimxJu+uGQ/yYvv9w== + maximum_routes: 12000 + send_community: all + EVPN-OVERLAY-PEERS: + type: evpn + update_source: Loopback0 + bfd: true + ebgp_multihop: '3' + password: q+VNViP5i4rVjW1cxFv2wA== + send_community: all + maximum_routes: 0 + address_family_ipv4: + peer_groups: + MLAG-PEERS: + activate: true + UNDERLAY-PEERS: + activate: true + EVPN-OVERLAY-PEERS: + activate: false + neighbors: + 10.255.251.0: + peer_group: MLAG-PEERS + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + 172.31.255.4: + peer_group: UNDERLAY-PEERS + remote_as: '65001' + description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 + 172.31.255.6: + peer_group: UNDERLAY-PEERS + remote_as: '65001' + description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 + 192.168.255.1: + peer_group: EVPN-OVERLAY-PEERS + description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 + remote_as: '65001' + 192.168.255.2: + peer_group: EVPN-OVERLAY-PEERS + description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 + remote_as: '65001' + redistribute_routes: + connected: + route_map: RM-CONN-2-BGP + address_family_evpn: + peer_groups: + EVPN-OVERLAY-PEERS: + activate: true + evpn_hostflap_detection: + window: 180 + threshold: 5 + enabled: true + expiry_timeout: 10 +static_routes: +- vrf: MGMT + destination_address_prefix: 0.0.0.0/0 + gateway: 192.168.200.5 +service_routing_protocols_model: multi-agent +ip_routing: true +daemon_terminattr: + cvaddrs: + - 192.168.200.11:9910 + cvauth: + method: key + key: telarista + cvvrf: MGMT + smashexcludes: ale,flexCounter,hardware,kni,pulse,strata + ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent + disable_aaa: false +vlan_internal_order: + allocation: ascending + range: + beginning: 1006 + ending: 1199 +name_server: + source: + vrf: MGMT + nodes: + - 192.168.200.5 + - 8.8.8.8 +snmp_server: + contact: example@example.com + location: EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B +spanning_tree: + mode: mstp + mst_instances: + '0': + priority: 4096 + no_spanning_tree_vlan: 4093-4094 +local_users: + admin: + privilege: 15 + role: network-admin + no_password: true + cvpadmin: + privilege: 15 + role: network-admin + sha512_password: $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. + ssh_key: ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= + cvpadmin@hostmachine.local +vrfs: + MGMT: + ip_routing: false +management_interfaces: + Management1: + description: oob_management + shutdown: false + vrf: MGMT + ip_address: 192.168.200.107/24 + gateway: 192.168.200.5 + type: oob +management_api_http: + enable_vrfs: + MGMT: {} + enable_https: true + default_services: false +vlans: + 4093: + tenant: system + name: LEAF_PEER_L3 + trunk_groups: + - LEAF_PEER_L3 + 4094: + tenant: system + name: MLAG_PEER + trunk_groups: + - MLAG +vlan_interfaces: + Vlan4093: + description: MLAG_PEER_L3_PEERING + shutdown: false + ip_address: 10.255.251.1/31 + mtu: 1500 + struct_cfg: + pim: + ipv4: + sparse_mode: true + pim: + ipv4: + sparse_mode: true + Vlan4094: + description: mlag_peer_vlan_structured_config_override + shutdown: false + ip_address: 10.255.252.1/31 + no_autostate: true + mtu: 1500 + struct_cfg: + description: mlag_peer_vlan_structured_config_override +port_channel_interfaces: + Port-Channel3: + description: MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Po3 + type: switched + shutdown: false + vlans: 2-4094 + mode: trunk + trunk_groups: + - LEAF_PEER_L3 + - MLAG + Port-Channel5: + description: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1_Po1 + type: switched + shutdown: false + vlans: none + mode: trunk + mlag: 5 + struct_cfg: + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true +ethernet_interfaces: + Ethernet3: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + peer_interface: Ethernet3 + peer_type: mlag_peer + description: MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet3 + type: switched + shutdown: false + channel_group: + id: 3 + mode: active + Ethernet4: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + peer_interface: Ethernet4 + peer_type: mlag_peer + description: MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet4 + type: switched + shutdown: false + channel_group: + id: 3 + mode: active + Ethernet1: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 + peer_interface: Ethernet2 + peer_type: spine + description: P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 + mtu: 1500 + type: routed + shutdown: false + ip_address: 172.31.255.5/31 + struct_cfg: + pim: + ipv4: + sparse_mode: true + pim: + ipv4: + sparse_mode: true + Ethernet2: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 + peer_interface: Ethernet2 + peer_type: spine + description: P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 + mtu: 1500 + type: routed + shutdown: false + ip_address: 172.31.255.7/31 + struct_cfg: + pim: + ipv4: + sparse_mode: true + pim: + ipv4: + sparse_mode: true + Ethernet5: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A + peer_interface: Ethernet2 + peer_type: l2leaf + description: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A_Ethernet2 + type: switched + shutdown: false + channel_group: + id: 5 + mode: active + Ethernet6: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B + peer_interface: Ethernet2 + peer_type: l2leaf + description: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B_Ethernet2 + type: switched + shutdown: false + channel_group: + id: 5 + mode: active +mlag_configuration: + domain_id: DC1_LEAF1 + local_interface: Vlan4094 + peer_address: 10.255.252.0 + peer_link: Port-Channel3 + reload_delay_mlag: 300 + reload_delay_non_mlag: 330 +route_maps: + RM-MLAG-PEER-IN: + sequence_numbers: + 10: + type: permit + set: + - origin incomplete + description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing + RM-CONN-2-BGP: + sequence_numbers: + 10: + type: permit + match: + - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +loopback_interfaces: + Loopback0: + description: EVPN_Overlay_Peering + shutdown: false + ip_address: 192.168.255.4/32 + Loopback1: + description: VTEP_VXLAN_Tunnel_Source + shutdown: false + ip_address: 192.168.254.3/32 +prefix_lists: + PL-LOOPBACKS-EVPN-OVERLAY: + sequence_numbers: + 10: + action: permit 192.168.255.0/24 eq 32 + 20: + action: permit 192.168.254.0/24 eq 32 +router_bfd: + multihop: + interval: 1200 + min_rx: 1200 + multiplier: 3 +ip_igmp_snooping: + globally_enabled: true +ip_virtual_router_mac_address: 00:dc:00:00:00:0a +vxlan_interface: + Vxlan1: + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_VTEP + vxlan: + source_interface: Loopback1 + virtual_router_encapsulation_mac_address: mlag-system-id + udp_port: 4789 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.yml new file mode 100644 index 00000000000..568731d1356 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.yml @@ -0,0 +1,166 @@ +router_bgp: + as: '65001' + router_id: 192.168.255.1 + bgp_defaults: + - no bgp default ipv4-unicast + - distance bgp 20 200 200 + - maximum-paths 4 ecmp 4 + peer_groups: + UNDERLAY-PEERS: + type: ipv4 + password: AQQvKeimxJu+uGQ/yYvv9w== + maximum_routes: 12000 + send_community: all + EVPN-OVERLAY-PEERS: + type: evpn + update_source: Loopback0 + bfd: true + ebgp_multihop: '3' + password: q+VNViP5i4rVjW1cxFv2wA== + send_community: all + maximum_routes: 0 + next_hop_unchanged: true + address_family_ipv4: + peer_groups: + UNDERLAY-PEERS: + activate: true + EVPN-OVERLAY-PEERS: + activate: false + redistribute_routes: + connected: + route_map: RM-CONN-2-BGP + neighbors: + 172.31.255.1: + peer_group: UNDERLAY-PEERS + remote_as: '65101' + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet1 + 172.31.255.5: + peer_group: UNDERLAY-PEERS + remote_as: '65101' + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 + 192.168.255.3: + peer_group: EVPN-OVERLAY-PEERS + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + remote_as: '65101' + 192.168.255.4: + peer_group: EVPN-OVERLAY-PEERS + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + remote_as: '65101' + address_family_evpn: + peer_groups: + EVPN-OVERLAY-PEERS: + activate: true +static_routes: +- vrf: MGMT + destination_address_prefix: 0.0.0.0/0 + gateway: 192.168.200.5 +service_routing_protocols_model: multi-agent +ip_routing: true +daemon_terminattr: + cvaddrs: + - 192.168.200.11:9910 + cvauth: + method: key + key: telarista + cvvrf: MGMT + smashexcludes: ale,flexCounter,hardware,kni,pulse,strata + ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent + disable_aaa: false +vlan_internal_order: + allocation: ascending + range: + beginning: 1006 + ending: 1199 +name_server: + source: + vrf: MGMT + nodes: + - 192.168.200.5 + - 8.8.8.8 +snmp_server: + contact: example@example.com + location: EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 +spanning_tree: + mode: none +local_users: + admin: + privilege: 15 + role: network-admin + no_password: true + cvpadmin: + privilege: 15 + role: network-admin + sha512_password: $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. + ssh_key: ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= + cvpadmin@hostmachine.local +vrfs: + MGMT: + ip_routing: false +management_interfaces: + Management1: + description: oob_management + shutdown: false + vrf: MGMT + ip_address: 192.168.200.101/24 + gateway: 192.168.200.5 + type: oob +management_api_http: + enable_vrfs: + MGMT: {} + enable_https: true + default_services: false +ethernet_interfaces: + Ethernet1: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + peer_interface: Ethernet1 + peer_type: l3leaf + description: P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet1 + mtu: 1500 + type: routed + shutdown: false + ip_address: 172.31.255.0/31 + struct_cfg: + pim: + ipv4: + sparse_mode: true + pim: + ipv4: + sparse_mode: true + Ethernet2: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + peer_interface: Ethernet1 + peer_type: l3leaf + description: P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 + mtu: 1500 + type: routed + shutdown: false + ip_address: 172.31.255.4/31 + struct_cfg: + pim: + ipv4: + sparse_mode: true + pim: + ipv4: + sparse_mode: true +loopback_interfaces: + Loopback0: + description: EVPN_Overlay_Peering + shutdown: false + ip_address: 192.168.255.1/32 +prefix_lists: + PL-LOOPBACKS-EVPN-OVERLAY: + sequence_numbers: + 10: + action: permit 192.168.255.0/24 eq 32 +route_maps: + RM-CONN-2-BGP: + sequence_numbers: + 10: + type: permit + match: + - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +router_bfd: + multihop: + interval: 1200 + min_rx: 1200 + multiplier: 3 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.yml new file mode 100644 index 00000000000..d0764225bcb --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.yml @@ -0,0 +1,166 @@ +router_bgp: + as: '65001' + router_id: 192.168.255.2 + bgp_defaults: + - no bgp default ipv4-unicast + - distance bgp 20 200 200 + - maximum-paths 4 ecmp 4 + peer_groups: + UNDERLAY-PEERS: + type: ipv4 + password: AQQvKeimxJu+uGQ/yYvv9w== + maximum_routes: 12000 + send_community: all + EVPN-OVERLAY-PEERS: + type: evpn + update_source: Loopback0 + bfd: true + ebgp_multihop: '3' + password: q+VNViP5i4rVjW1cxFv2wA== + send_community: all + maximum_routes: 0 + next_hop_unchanged: true + address_family_ipv4: + peer_groups: + UNDERLAY-PEERS: + activate: true + EVPN-OVERLAY-PEERS: + activate: false + redistribute_routes: + connected: + route_map: RM-CONN-2-BGP + neighbors: + 172.31.255.3: + peer_group: UNDERLAY-PEERS + remote_as: '65101' + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 + 172.31.255.7: + peer_group: UNDERLAY-PEERS + remote_as: '65101' + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 + 192.168.255.3: + peer_group: EVPN-OVERLAY-PEERS + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + remote_as: '65101' + 192.168.255.4: + peer_group: EVPN-OVERLAY-PEERS + description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + remote_as: '65101' + address_family_evpn: + peer_groups: + EVPN-OVERLAY-PEERS: + activate: true +static_routes: +- vrf: MGMT + destination_address_prefix: 0.0.0.0/0 + gateway: 192.168.200.5 +service_routing_protocols_model: multi-agent +ip_routing: true +daemon_terminattr: + cvaddrs: + - 192.168.200.11:9910 + cvauth: + method: key + key: telarista + cvvrf: MGMT + smashexcludes: ale,flexCounter,hardware,kni,pulse,strata + ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent + disable_aaa: false +vlan_internal_order: + allocation: ascending + range: + beginning: 1006 + ending: 1199 +name_server: + source: + vrf: MGMT + nodes: + - 192.168.200.5 + - 8.8.8.8 +snmp_server: + contact: example@example.com + location: EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 +spanning_tree: + mode: none +local_users: + admin: + privilege: 15 + role: network-admin + no_password: true + cvpadmin: + privilege: 15 + role: network-admin + sha512_password: $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. + ssh_key: ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= + cvpadmin@hostmachine.local +vrfs: + MGMT: + ip_routing: false +management_interfaces: + Management1: + description: oob_management + shutdown: false + vrf: MGMT + ip_address: 192.168.200.102/24 + gateway: 192.168.200.5 + type: oob +management_api_http: + enable_vrfs: + MGMT: {} + enable_https: true + default_services: false +ethernet_interfaces: + Ethernet1: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A + peer_interface: Ethernet2 + peer_type: l3leaf + description: P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 + mtu: 1500 + type: routed + shutdown: false + ip_address: 172.31.255.2/31 + struct_cfg: + pim: + ipv4: + sparse_mode: true + pim: + ipv4: + sparse_mode: true + Ethernet2: + peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B + peer_interface: Ethernet2 + peer_type: l3leaf + description: P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 + mtu: 1500 + type: routed + shutdown: false + ip_address: 172.31.255.6/31 + struct_cfg: + pim: + ipv4: + sparse_mode: true + pim: + ipv4: + sparse_mode: true +loopback_interfaces: + Loopback0: + description: EVPN_Overlay_Peering + shutdown: false + ip_address: 192.168.255.2/32 +prefix_lists: + PL-LOOPBACKS-EVPN-OVERLAY: + sequence_numbers: + 10: + action: permit 192.168.255.0/24 eq 32 +route_maps: + RM-CONN-2-BGP: + sequence_numbers: + 10: + type: permit + match: + - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +router_bfd: + multihop: + interval: 1200 + min_rx: 1200 + multiplier: 3 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L2LEAFS.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L2LEAFS.yml new file mode 100644 index 00000000000..e308db15cc2 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L2LEAFS.yml @@ -0,0 +1,37 @@ +type: l2leaf + + +l2leaf: + defaults: + platform: vEOS-LAB + uplink_switches: [ UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A, UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B ] + uplink_interfaces: [ Ethernet1, Ethernet2 ] + uplink_structured_config: + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true + mlag_interfaces: [ Ethernet3, Ethernet4 ] + mlag_peer_ipv4_pool: 10.255.252.0/24 + mlag_port_channel_structured_config: + storm_control: + broadcast: + level: 25 + unknown_unicast: + level: 25 + native_vlan_tag: true + spanning_tree_mode: mstp + spanning_tree_priority: 16384 + node_groups: + UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1: + nodes: + UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A: + id: 1 + mgmt_ip: 192.168.201.201/24 + uplink_switch_interfaces: [ Ethernet5, Ethernet5 ] + UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B: + id: 2 + mgmt_ip: 192.168.201.201/24 + uplink_switch_interfaces: [ Ethernet6, Ethernet6 ] diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L3LEAFS.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L3LEAFS.yml new file mode 100644 index 00000000000..90139e56d24 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L3LEAFS.yml @@ -0,0 +1,40 @@ +type: l3leaf + +l3leaf: + defaults: + platform: vEOS-LAB + loopback_ipv4_pool: 192.168.255.0/24 + loopback_ipv4_offset: 2 + vtep_loopback_ipv4_pool: 192.168.254.0/24 + uplink_interfaces: ['Ethernet1', 'Ethernet2'] + uplink_switches: ['UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1', 'UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2'] + uplink_ipv4_pool: 172.31.255.0/24 + uplink_structured_config: + pim: + ipv4: + sparse_mode: true + mlag_peer_vlan_structured_config: + description: "mlag_peer_vlan_structured_config_override" + mlag_peer_l3_vlan_structured_config: + pim: + ipv4: + sparse_mode: true + bgp_defaults: ['no bgp default ipv4-unicast', 'distance bgp 20 200 200'] + mlag_interfaces: [ Ethernet3, Ethernet4 ] + virtual_router_mac_address: 00:dc:00:00:00:0a + mlag_peer_l3_ipv4_pool: 10.255.251.0/24 + mlag_peer_ipv4_pool: 10.255.252.0/24 + spanning_tree_mode: mstp + spanning_tree_priority: 4096 + node_groups: + DC1_LEAF1: + bgp_as: 65101 + nodes: + UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A: + id: 1 + mgmt_ip: 192.168.200.105/24 + uplink_switch_interfaces: [ Ethernet1, Ethernet1] + UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B: + id: 2 + mgmt_ip: 192.168.200.107/24 + uplink_switch_interfaces: [ Ethernet2, Ethernet2] diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_SPINES.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_SPINES.yml new file mode 100644 index 00000000000..c6e24fd3d74 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_SPINES.yml @@ -0,0 +1,16 @@ +type: spine + +# Spine Switches +spine: + defaults: + platform: vEOS-LAB + bgp_as: 65001 + loopback_ipv4_pool: 192.168.255.0/24 + bgp_defaults: ['no bgp default ipv4-unicast', 'distance bgp 20 200 200'] + nodes: + UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1: + id: 1 + mgmt_ip: 192.168.200.101/24 + UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2: + id: 2 + mgmt_ip: 192.168.200.102/24 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml index 002fea6ed50..4a39ee5979e 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml @@ -126,6 +126,20 @@ all: hosts: MLAG-OSPF-L3LEAF1A: MLAG-OSPF-L3LEAF1B: + UPLINK_MLAG_STRUCTURED_CONFIG_TESTS: + children: + UPLINK_MLAG_STRUCTURED_CONFIG_SPINES: + hosts: + UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1: + UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2: + UPLINK_MLAG_STRUCTURED_CONFIG_L3LEAFS: + hosts: + UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A: + UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B: + UPLINK_MLAG_STRUCTURED_CONFIG_L2LEAFS: + hosts: + UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A: + UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B: DC1_TENANTS_NETWORKS: children: From 4bdea69b7b39a5ab61570cad4aa31cbf7c3ca3b7 Mon Sep 17 00:00:00 2001 From: Carl Buchmann Date: Fri, 24 Jun 2022 08:21:45 -0400 Subject: [PATCH 04/10] Update ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md Co-authored-by: Claus Holbech --- .../arista/avd/roles/eos_designs/doc/fabric-topology.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md index 8c6951063b2..581e1ee24bb 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md +++ b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md @@ -220,6 +220,7 @@ defaults <- node_group <- node_group.node <- node # Overrides the settings on the ethernet interface level. # When uplink_type == "port-channel", custom structured config added under port_channel_interfaces. for eos_cli_config_gen # Overrides the settings on the port-channel interface level. + # "uplink_structured_config" is applied after "structured_config", so it can override "structured_config" defined on node-level. uplink_structured_config: < dictionary > # When nodes are part of node group From 6a6495cfdbc8b61135b5e57aabbc1b663c231978 Mon Sep 17 00:00:00 2001 From: Carl Buchmann Date: Fri, 24 Jun 2022 08:22:08 -0400 Subject: [PATCH 05/10] Update ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md Co-authored-by: Claus Holbech --- .../arista/avd/roles/eos_designs/doc/fabric-topology.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md index 581e1ee24bb..09a5cb996cf 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md +++ b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md @@ -397,6 +397,7 @@ defaults <- node_group <- node_group.node <- node # Custom structured config applied to MLAG peer link port-channel id. # Added under port_channel_interfaces. for eos_cli_config_gen. # Overrides the settings on the port-channel interface level. + # "uplink_structured_config" is applied after "structured_config", so it can override "structured_config" defined on node-level. mlag_port_channel_structured_config: < dictionary > # Custom structured config applied to MLAG Peer Link (control link) SVI interface id. From cb36b35ee64b6a73ec326a11ebc284a81ffb6a2c Mon Sep 17 00:00:00 2001 From: Carl Buchmann Date: Fri, 24 Jun 2022 08:22:29 -0400 Subject: [PATCH 06/10] Update ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md Co-authored-by: Claus Holbech --- .../arista/avd/roles/eos_designs/doc/fabric-topology.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md index 09a5cb996cf..5ffd320035b 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md +++ b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md @@ -403,6 +403,7 @@ defaults <- node_group <- node_group.node <- node # Custom structured config applied to MLAG Peer Link (control link) SVI interface id. # Added under vlan_interfaces. for eos_cli_config_gen. # Overrides the settings on the vlan interface level. + # "uplink_structured_config" is applied after "structured_config", so it can override "structured_config" defined on node-level. mlag_peer_vlan_structured_config: < dictionary > # Custom structured config applied to MLAG underlay L3 peering SVI interface id. From df78d79b75366e0f82a1182dfca479614ea62611 Mon Sep 17 00:00:00 2001 From: Carl Buchmann Date: Fri, 24 Jun 2022 08:22:57 -0400 Subject: [PATCH 07/10] Update ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md Co-authored-by: Claus Holbech --- .../arista/avd/roles/eos_designs/doc/fabric-topology.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md index 5ffd320035b..f81682a45b6 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md +++ b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md @@ -409,6 +409,7 @@ defaults <- node_group <- node_group.node <- node # Custom structured config applied to MLAG underlay L3 peering SVI interface id. # Added under vlan_interfaces. for eos_cli_config_gen. # Overrides the settings on the vlan interface level. + # "uplink_structured_config" is applied after "structured_config", so it can override "structured_config" defined on node-level. mlag_peer_l3_vlan_structured_config: < dictionary > # Spanning tree mode | Required. From 381a4c47ac78ca34f89a100b249677beea4c012e Mon Sep 17 00:00:00 2001 From: Carl Buchmann Date: Fri, 24 Jun 2022 08:27:18 -0400 Subject: [PATCH 08/10] update descriptions --- .../arista/avd/roles/eos_designs/doc/fabric-topology.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md index f81682a45b6..75cdb1d2993 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md +++ b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-topology.md @@ -397,19 +397,19 @@ defaults <- node_group <- node_group.node <- node # Custom structured config applied to MLAG peer link port-channel id. # Added under port_channel_interfaces. for eos_cli_config_gen. # Overrides the settings on the port-channel interface level. - # "uplink_structured_config" is applied after "structured_config", so it can override "structured_config" defined on node-level. + # "mlag_port_channel_structured_config" is applied after "structured_config", so it can override "structured_config" defined on node-level. mlag_port_channel_structured_config: < dictionary > # Custom structured config applied to MLAG Peer Link (control link) SVI interface id. # Added under vlan_interfaces. for eos_cli_config_gen. # Overrides the settings on the vlan interface level. - # "uplink_structured_config" is applied after "structured_config", so it can override "structured_config" defined on node-level. + # "mlag_peer_vlan_structured_config" is applied after "structured_config", so it can override "structured_config" defined on node-level. mlag_peer_vlan_structured_config: < dictionary > # Custom structured config applied to MLAG underlay L3 peering SVI interface id. # Added under vlan_interfaces. for eos_cli_config_gen. # Overrides the settings on the vlan interface level. - # "uplink_structured_config" is applied after "structured_config", so it can override "structured_config" defined on node-level. + # "mlag_peer_l3_vlan_structured_config" is applied after "structured_config", so it can override "structured_config" defined on node-level. mlag_peer_l3_vlan_structured_config: < dictionary > # Spanning tree mode | Required. From 5f3319caa32dd51e8bfde008d5393c325b624a4d Mon Sep 17 00:00:00 2001 From: Carl Buchmann Date: Fri, 24 Jun 2022 15:27:54 -0400 Subject: [PATCH 09/10] remove spine 2 --- .../UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.md | 18 - .../UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.md | 30 +- .../UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.md | 12 +- .../UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.md | 535 ------------------ .../EOS_DESIGNS_UNIT_TESTS-documentation.md | 12 +- .../EOS_DESIGNS_UNIT_TESTS-p2p-links.csv | 4 +- .../EOS_DESIGNS_UNIT_TESTS-topology.csv | 4 - ...UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.cfg | 14 - ...UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.cfg | 22 +- .../UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.cfg | 8 +- .../UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.cfg | 123 ---- ...UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.yml | 24 - ...UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.yml | 28 +- .../UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.yml | 4 +- .../UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.yml | 166 ------ .../UPLINK_MLAG_STRUCTURED_CONFIG_L3LEAFS.yml | 8 +- .../UPLINK_MLAG_STRUCTURED_CONFIG_SPINES.yml | 3 - .../inventory/hosts.yml | 1 - 18 files changed, 32 insertions(+), 984 deletions(-) delete mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.md delete mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.cfg delete mode 100644 ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.yml diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.md index 381d1ef1c69..2bb9e950c52 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.md +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.md @@ -324,7 +324,6 @@ vlan 4094 | Interface | Description | Type | Channel Group | IP Address | VRF | MTU | Shutdown | ACL In | ACL Out | | --------- | ----------- | -----| ------------- | ---------- | ----| ---- | -------- | ------ | ------- | | Ethernet1 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet1 | routed | - | 172.31.255.1/31 | default | 1500 | false | - | - | -| Ethernet2 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 | routed | - | 172.31.255.3/31 | default | 1500 | false | - | - | ### Ethernet Interfaces Device Configuration @@ -338,14 +337,6 @@ interface Ethernet1 ip address 172.31.255.1/31 pim ipv4 sparse-mode ! -interface Ethernet2 - description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 172.31.255.3/31 - pim ipv4 sparse-mode -! interface Ethernet3 description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet3 no shutdown @@ -607,9 +598,7 @@ ip route vrf MGMT 0.0.0.0/0 192.168.200.5 | -------- | --------- | --- | -------- | -------------- | -------------- | ---------- | --- | --------------------- | | 10.255.251.1 | Inherited from peer group MLAG-PEERS | default | - | Inherited from peer group MLAG-PEERS | Inherited from peer group MLAG-PEERS | - | - | - | | 172.31.255.0 | 65001 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | -| 172.31.255.2 | 65001 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | | 192.168.255.1 | 65001 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | -| 192.168.255.2 | 65001 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | ### Router BGP EVPN Address Family @@ -658,15 +647,9 @@ router bgp 65101 neighbor 172.31.255.0 peer group UNDERLAY-PEERS neighbor 172.31.255.0 remote-as 65001 neighbor 172.31.255.0 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet1 - neighbor 172.31.255.2 peer group UNDERLAY-PEERS - neighbor 172.31.255.2 remote-as 65001 - neighbor 172.31.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 neighbor 192.168.255.1 peer group EVPN-OVERLAY-PEERS neighbor 192.168.255.1 remote-as 65001 neighbor 192.168.255.1 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 - neighbor 192.168.255.2 peer group EVPN-OVERLAY-PEERS - neighbor 192.168.255.2 remote-as 65001 - neighbor 192.168.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 redistribute connected route-map RM-CONN-2-BGP ! address-family evpn @@ -719,7 +702,6 @@ router bfd | Interface Name | VRF Name | IP Version | DR Priority | Local Interface | | -------------- | -------- | ---------- | ----------- | --------------- | | Ethernet1 | - | IPv4 | - | - | -| Ethernet2 | - | IPv4 | - | - | | Vlan4093 | - | IPv4 | - | - | # Filters diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.md index 341bba7c29e..d39ec283090 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.md +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.md @@ -323,8 +323,7 @@ vlan 4094 | Interface | Description | Type | Channel Group | IP Address | VRF | MTU | Shutdown | ACL In | ACL Out | | --------- | ----------- | -----| ------------- | ---------- | ----| ---- | -------- | ------ | ------- | -| Ethernet1 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 | routed | - | 172.31.255.5/31 | default | 1500 | false | - | - | -| Ethernet2 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 | routed | - | 172.31.255.7/31 | default | 1500 | false | - | - | +| Ethernet1 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 | routed | - | 172.31.255.3/31 | default | 1500 | false | - | - | ### Ethernet Interfaces Device Configuration @@ -335,15 +334,7 @@ interface Ethernet1 no shutdown mtu 1500 no switchport - ip address 172.31.255.5/31 - pim ipv4 sparse-mode -! -interface Ethernet2 - description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 172.31.255.7/31 + ip address 172.31.255.3/31 pim ipv4 sparse-mode ! interface Ethernet3 @@ -606,10 +597,8 @@ ip route vrf MGMT 0.0.0.0/0 192.168.200.5 | Neighbor | Remote AS | VRF | Shutdown | Send-community | Maximum-routes | Allowas-in | BFD | RIB Pre-Policy Retain | | -------- | --------- | --- | -------- | -------------- | -------------- | ---------- | --- | --------------------- | | 10.255.251.0 | Inherited from peer group MLAG-PEERS | default | - | Inherited from peer group MLAG-PEERS | Inherited from peer group MLAG-PEERS | - | - | - | -| 172.31.255.4 | 65001 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | -| 172.31.255.6 | 65001 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | +| 172.31.255.2 | 65001 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | | 192.168.255.1 | 65001 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | -| 192.168.255.2 | 65001 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | ### Router BGP EVPN Address Family @@ -655,18 +644,12 @@ router bgp 65101 neighbor UNDERLAY-PEERS maximum-routes 12000 neighbor 10.255.251.0 peer group MLAG-PEERS neighbor 10.255.251.0 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A - neighbor 172.31.255.4 peer group UNDERLAY-PEERS - neighbor 172.31.255.4 remote-as 65001 - neighbor 172.31.255.4 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 - neighbor 172.31.255.6 peer group UNDERLAY-PEERS - neighbor 172.31.255.6 remote-as 65001 - neighbor 172.31.255.6 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 + neighbor 172.31.255.2 peer group UNDERLAY-PEERS + neighbor 172.31.255.2 remote-as 65001 + neighbor 172.31.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 neighbor 192.168.255.1 peer group EVPN-OVERLAY-PEERS neighbor 192.168.255.1 remote-as 65001 neighbor 192.168.255.1 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 - neighbor 192.168.255.2 peer group EVPN-OVERLAY-PEERS - neighbor 192.168.255.2 remote-as 65001 - neighbor 192.168.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 redistribute connected route-map RM-CONN-2-BGP ! address-family evpn @@ -719,7 +702,6 @@ router bfd | Interface Name | VRF Name | IP Version | DR Priority | Local Interface | | -------------- | -------- | ---------- | ----------- | --------------- | | Ethernet1 | - | IPv4 | - | - | -| Ethernet2 | - | IPv4 | - | - | | Vlan4093 | - | IPv4 | - | - | # Filters diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.md index b9f2c241c2a..0e5cd0a3097 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.md +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.md @@ -252,7 +252,7 @@ vlan internal order ascending range 1006 1199 | Interface | Description | Type | Channel Group | IP Address | VRF | MTU | Shutdown | ACL In | ACL Out | | --------- | ----------- | -----| ------------- | ---------- | ----| ---- | -------- | ------ | ------- | | Ethernet1 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet1 | routed | - | 172.31.255.0/31 | default | 1500 | false | - | - | -| Ethernet2 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 | routed | - | 172.31.255.4/31 | default | 1500 | false | - | - | +| Ethernet2 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 | routed | - | 172.31.255.2/31 | default | 1500 | false | - | - | ### Ethernet Interfaces Device Configuration @@ -271,7 +271,7 @@ interface Ethernet2 no shutdown mtu 1500 no switchport - ip address 172.31.255.4/31 + ip address 172.31.255.2/31 pim ipv4 sparse-mode ``` @@ -393,7 +393,7 @@ ip route vrf MGMT 0.0.0.0/0 192.168.200.5 | Neighbor | Remote AS | VRF | Shutdown | Send-community | Maximum-routes | Allowas-in | BFD | RIB Pre-Policy Retain | | -------- | --------- | --- | -------- | -------------- | -------------- | ---------- | --- | --------------------- | | 172.31.255.1 | 65101 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | -| 172.31.255.5 | 65101 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | +| 172.31.255.3 | 65101 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | | 192.168.255.3 | 65101 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | | 192.168.255.4 | 65101 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | @@ -429,9 +429,9 @@ router bgp 65001 neighbor 172.31.255.1 peer group UNDERLAY-PEERS neighbor 172.31.255.1 remote-as 65101 neighbor 172.31.255.1 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet1 - neighbor 172.31.255.5 peer group UNDERLAY-PEERS - neighbor 172.31.255.5 remote-as 65101 - neighbor 172.31.255.5 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 + neighbor 172.31.255.3 peer group UNDERLAY-PEERS + neighbor 172.31.255.3 remote-as 65101 + neighbor 172.31.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 neighbor 192.168.255.3 peer group EVPN-OVERLAY-PEERS neighbor 192.168.255.3 remote-as 65101 neighbor 192.168.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.md deleted file mode 100644 index 8c9df44f2cd..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.md +++ /dev/null @@ -1,535 +0,0 @@ -# UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 -# Table of Contents - -- [Management](#management) - - [Management Interfaces](#management-interfaces) - - [Name Servers](#name-servers) - - [NTP](#ntp) - - [Management API HTTP](#management-api-http) -- [Authentication](#authentication) - - [Local Users](#local-users) -- [System Boot Settings](#system-boot-settings) - - [Boot Secret Summary](#boot-secret-summary) - - [System Boot Configuration](#system-boot-configuration) -- [Monitoring](#monitoring) - - [TerminAttr Daemon](#terminattr-daemon) - - [SNMP](#snmp) -- [Spanning Tree](#spanning-tree) - - [Spanning Tree Summary](#spanning-tree-summary) - - [Spanning Tree Device Configuration](#spanning-tree-device-configuration) -- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) - - [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) - - [Internal VLAN Allocation Policy Configuration](#internal-vlan-allocation-policy-configuration) -- [Interfaces](#interfaces) - - [Ethernet Interfaces](#ethernet-interfaces) - - [Loopback Interfaces](#loopback-interfaces) -- [Routing](#routing) - - [Service Routing Protocols Model](#service-routing-protocols-model) - - [IP Routing](#ip-routing) - - [IPv6 Routing](#ipv6-routing) - - [Static Routes](#static-routes) - - [Router BGP](#router-bgp) -- [BFD](#bfd) - - [Router BFD](#router-bfd) -- [Multicast](#multicast) - - [PIM Sparse Mode](#pim-sparse-mode) -- [Filters](#filters) - - [Prefix-lists](#prefix-lists) - - [Route-maps](#route-maps) -- [ACL](#acl) -- [VRF Instances](#vrf-instances) - - [VRF Instances Summary](#vrf-instances-summary) - - [VRF Instances Device Configuration](#vrf-instances-device-configuration) -- [Quality Of Service](#quality-of-service) - -# Management - -## Management Interfaces - -### Management Interfaces Summary - -#### IPv4 - -| Management Interface | description | Type | VRF | IP Address | Gateway | -| -------------------- | ----------- | ---- | --- | ---------- | ------- | -| Management1 | oob_management | oob | MGMT | 192.168.200.102/24 | 192.168.200.5 | - -#### IPv6 - -| Management Interface | description | Type | VRF | IPv6 Address | IPv6 Gateway | -| -------------------- | ----------- | ---- | --- | ------------ | ------------ | -| Management1 | oob_management | oob | MGMT | - | - | - -### Management Interfaces Device Configuration - -```eos -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 192.168.200.102/24 -``` - -## Name Servers - -### Name Servers Summary - -| Name Server | Source VRF | -| ----------- | ---------- | -| 192.168.200.5 | MGMT | -| 8.8.8.8 | MGMT | - -### Name Servers Device Configuration - -```eos -ip name-server vrf MGMT 8.8.8.8 -ip name-server vrf MGMT 192.168.200.5 -``` - -## NTP - -### NTP Summary - -#### NTP Local Interface - -| Interface | VRF | -| --------- | --- | -| Management1 | MGMT | - -#### NTP Servers - -| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key | -| ------ | --- | --------- | ----- | ------ | ------- | -------- | -------- | --------------- | --- | -| 192.168.200.5 | MGMT | True | - | - | - | - | - | - | - | - -### NTP Device Configuration - -```eos -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 192.168.200.5 prefer -``` - -## Management API HTTP - -### Management API HTTP Summary - -| HTTP | HTTPS | Default Services | -| ---- | ----- | ---------------- | -| False | True | False | - -### Management API VRF Access - -| VRF Name | IPv4 ACL | IPv6 ACL | -| -------- | -------- | -------- | -| MGMT | - | - | - -### Management API HTTP Configuration - -```eos -! -management api http-commands - protocol https - no default-services - no shutdown - ! - vrf MGMT - no shutdown -``` - -# Authentication - -## Local Users - -### Local Users Summary - -| User | Privilege | Role | -| ---- | --------- | ---- | -| admin | 15 | network-admin | -| cvpadmin | 15 | network-admin | - -### Local Users Device Configuration - -```eos -! -username admin privilege 15 role network-admin nopassword -username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. -username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local -``` - -# System Boot Settings - -## Boot Secret Summary - -- The sha512 hashed Aboot password is configured - -## System Boot Configuration - -```eos -! -boot secret sha512 a153de6290ff1409257ade45f -``` - -# Monitoring - -## TerminAttr Daemon - -### TerminAttr Daemon Summary - -| CV Compression | CloudVision Servers | VRF | Authentication | Smash Excludes | Ingest Exclude | Bypass AAA | -| -------------- | ------------------- | --- | -------------- | -------------- | -------------- | ---------- | -| gzip | 192.168.200.11:9910 | MGMT | key,telarista | ale,flexCounter,hardware,kni,pulse,strata | /Sysdb/cell/1/agent,/Sysdb/cell/2/agent | False | - -### TerminAttr Daemon Device Configuration - -```eos -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -``` - -## SNMP - -### SNMP Configuration Summary - -| Contact | Location | SNMP Traps | State | -| ------- | -------- | ---------- | ----- | -| example@example.com | EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | All | Disabled | - -### SNMP Device Configuration - -```eos -! -snmp-server contact example@example.com -snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 -``` - -# Spanning Tree - -## Spanning Tree Summary - -STP mode: **none** - -## Spanning Tree Device Configuration - -```eos -! -spanning-tree mode none -``` - -# Internal VLAN Allocation Policy - -## Internal VLAN Allocation Policy Summary - -| Policy Allocation | Range Beginning | Range Ending | -| ------------------| --------------- | ------------ | -| ascending | 1006 | 1199 | - -## Internal VLAN Allocation Policy Configuration - -```eos -! -vlan internal order ascending range 1006 1199 -``` - -# Interfaces - -## Ethernet Interfaces - -### Ethernet Interfaces Summary - -#### L2 - -| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group | -| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- | - -*Inherited from Port-Channel Interface - -#### IPv4 - -| Interface | Description | Type | Channel Group | IP Address | VRF | MTU | Shutdown | ACL In | ACL Out | -| --------- | ----------- | -----| ------------- | ---------- | ----| ---- | -------- | ------ | ------- | -| Ethernet1 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 | routed | - | 172.31.255.2/31 | default | 1500 | false | - | - | -| Ethernet2 | P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 | routed | - | 172.31.255.6/31 | default | 1500 | false | - | - | - -### Ethernet Interfaces Device Configuration - -```eos -! -interface Ethernet1 - description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 172.31.255.2/31 - pim ipv4 sparse-mode -! -interface Ethernet2 - description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 172.31.255.6/31 - pim ipv4 sparse-mode -``` - -## Loopback Interfaces - -### Loopback Interfaces Summary - -#### IPv4 - -| Interface | Description | VRF | IP Address | -| --------- | ----------- | --- | ---------- | -| Loopback0 | EVPN_Overlay_Peering | default | 192.168.255.2/32 | - -#### IPv6 - -| Interface | Description | VRF | IPv6 Address | -| --------- | ----------- | --- | ------------ | -| Loopback0 | EVPN_Overlay_Peering | default | - | - - -### Loopback Interfaces Device Configuration - -```eos -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 192.168.255.2/32 -``` - -# Routing -## Service Routing Protocols Model - -Multi agent routing protocol model enabled - -```eos -! -service routing protocols model multi-agent -``` - -## IP Routing - -### IP Routing Summary - -| VRF | Routing Enabled | -| --- | --------------- | -| default | true | -| MGMT | false | - -### IP Routing Device Configuration - -```eos -! -ip routing -no ip routing vrf MGMT -``` -## IPv6 Routing - -### IPv6 Routing Summary - -| VRF | Routing Enabled | -| --- | --------------- | -| default | false | -| MGMT | false | - -## Static Routes - -### Static Routes Summary - -| VRF | Destination Prefix | Next Hop IP | Exit interface | Administrative Distance | Tag | Route Name | Metric | -| --- | ------------------ | ----------------------- | ------------------- | ----------------------------- | ----------------- | ----------------------------- | -------------- | -| MGMT | 0.0.0.0/0 | 192.168.200.5 | - | 1 | - | - | - | - -### Static Routes Device Configuration - -```eos -! -ip route vrf MGMT 0.0.0.0/0 192.168.200.5 -``` - -## Router BGP - -### Router BGP Summary - -| BGP AS | Router ID | -| ------ | --------- | -| 65001| 192.168.255.2 | - -| BGP Tuning | -| ---------- | -| no bgp default ipv4-unicast | -| distance bgp 20 200 200 | -| maximum-paths 4 ecmp 4 | - -### Router BGP Peer Groups - -#### EVPN-OVERLAY-PEERS - -| Settings | Value | -| -------- | ----- | -| Address Family | evpn | -| Next-hop unchanged | True | -| Source | Loopback0 | -| BFD | True | -| Ebgp multihop | 3 | -| Send community | all | -| Maximum routes | 0 (no limit) | - -#### UNDERLAY-PEERS - -| Settings | Value | -| -------- | ----- | -| Address Family | ipv4 | -| Send community | all | -| Maximum routes | 12000 | - -### BGP Neighbors - -| Neighbor | Remote AS | VRF | Shutdown | Send-community | Maximum-routes | Allowas-in | BFD | RIB Pre-Policy Retain | -| -------- | --------- | --- | -------- | -------------- | -------------- | ---------- | --- | --------------------- | -| 172.31.255.3 | 65101 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | -| 172.31.255.7 | 65101 | default | - | Inherited from peer group UNDERLAY-PEERS | Inherited from peer group UNDERLAY-PEERS | - | - | - | -| 192.168.255.3 | 65101 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | -| 192.168.255.4 | 65101 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | - -### Router BGP EVPN Address Family - -#### EVPN Peer Groups - -| Peer Group | Activate | -| ---------- | -------- | -| EVPN-OVERLAY-PEERS | True | - -### Router BGP Device Configuration - -```eos -! -router bgp 65001 - router-id 192.168.255.2 - no bgp default ipv4-unicast - distance bgp 20 200 200 - maximum-paths 4 ecmp 4 - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 q+VNViP5i4rVjW1cxFv2wA== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor UNDERLAY-PEERS peer group - neighbor UNDERLAY-PEERS password 7 AQQvKeimxJu+uGQ/yYvv9w== - neighbor UNDERLAY-PEERS send-community - neighbor UNDERLAY-PEERS maximum-routes 12000 - neighbor 172.31.255.3 peer group UNDERLAY-PEERS - neighbor 172.31.255.3 remote-as 65101 - neighbor 172.31.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 - neighbor 172.31.255.7 peer group UNDERLAY-PEERS - neighbor 172.31.255.7 remote-as 65101 - neighbor 172.31.255.7 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 - neighbor 192.168.255.3 peer group EVPN-OVERLAY-PEERS - neighbor 192.168.255.3 remote-as 65101 - neighbor 192.168.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A - neighbor 192.168.255.4 peer group EVPN-OVERLAY-PEERS - neighbor 192.168.255.4 remote-as 65101 - neighbor 192.168.255.4 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor UNDERLAY-PEERS activate -``` - -# BFD - -## Router BFD - -### Router BFD Multihop Summary - -| Interval | Minimum RX | Multiplier | -| -------- | ---------- | ---------- | -| 1200 | 1200 | 3 | - -### Router BFD Device Configuration - -```eos -! -router bfd - multihop interval 1200 min-rx 1200 multiplier 3 -``` - -# Multicast - -## PIM Sparse Mode - -### PIM Sparse Mode enabled interfaces - -| Interface Name | VRF Name | IP Version | DR Priority | Local Interface | -| -------------- | -------- | ---------- | ----------- | --------------- | -| Ethernet1 | - | IPv4 | - | - | -| Ethernet2 | - | IPv4 | - | - | - -# Filters - -## Prefix-lists - -### Prefix-lists Summary - -#### PL-LOOPBACKS-EVPN-OVERLAY - -| Sequence | Action | -| -------- | ------ | -| 10 | permit 192.168.255.0/24 eq 32 | - -### Prefix-lists Device Configuration - -```eos -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 192.168.255.0/24 eq 32 -``` - -## Route-maps - -### Route-maps Summary - -#### RM-CONN-2-BGP - -| Sequence | Type | Match and/or Set | -| -------- | ---- | ---------------- | -| 10 | permit | match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | - -### Route-maps Device Configuration - -```eos -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -``` - -# ACL - -# VRF Instances - -## VRF Instances Summary - -| VRF Name | IP Routing | -| -------- | ---------- | -| MGMT | disabled | - -## VRF Instances Device Configuration - -```eos -! -vrf instance MGMT -``` - -# Quality Of Service diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-documentation.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-documentation.md index 60b1551121a..eee1d15106b 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-documentation.md +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-documentation.md @@ -61,7 +61,6 @@ | EOS_DESIGNS_UNIT_TESTS | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | 192.168.200.105/24 | vEOS-LAB | Provisioned | | EOS_DESIGNS_UNIT_TESTS | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | 192.168.200.107/24 | vEOS-LAB | Provisioned | | EOS_DESIGNS_UNIT_TESTS | spine | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | 192.168.200.101/24 | vEOS-LAB | Provisioned | -| EOS_DESIGNS_UNIT_TESTS | spine | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | 192.168.200.102/24 | vEOS-LAB | Provisioned | > Provision status is based on Ansible inventory declaration and do not represent real status from CloudVision. @@ -167,11 +166,9 @@ | l2leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B | Ethernet1 | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet6 | | l2leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B | Ethernet2 | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet6 | | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet1 | spine | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | Ethernet1 | -| l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet2 | spine | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | Ethernet1 | | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet3 | mlag_peer | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet3 | | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet4 | mlag_peer | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet4 | | l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet1 | spine | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | Ethernet2 | -| l3leaf | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet2 | spine | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | Ethernet2 | # Fabric IP Allocation @@ -180,7 +177,7 @@ | Uplink IPv4 Pool | Available Addresses | Assigned addresses | Assigned Address % | | ---------------- | ------------------- | ------------------ | ------------------ | | 10.10.101.0/24 | 256 | 8 | 3.13 % | -| 172.31.255.0/24 | 256 | 112 | 43.75 % | +| 172.31.255.0/24 | 256 | 108 | 42.19 % | ## Point-To-Point Links Node Allocation @@ -243,16 +240,14 @@ | DC1-SPINE4 | Ethernet16 | 172.31.255.198/31 | DC1_UNDEPLOYED_LEAF1A | Ethernet4 | 172.31.255.199/31 | | DC1-SPINE4 | Ethernet17 | 172.31.255.214/31 | DC1_UNDEPLOYED_LEAF1B | Ethernet4 | 172.31.255.215/31 | | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet1 | 172.31.255.1/31 | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | Ethernet1 | 172.31.255.0/31 | -| UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | Ethernet2 | 172.31.255.3/31 | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | Ethernet1 | 172.31.255.2/31 | -| UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet1 | 172.31.255.5/31 | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | Ethernet2 | 172.31.255.4/31 | -| UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet2 | 172.31.255.7/31 | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | Ethernet2 | 172.31.255.6/31 | +| UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | Ethernet1 | 172.31.255.3/31 | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | Ethernet2 | 172.31.255.2/31 | ## Loopback Interfaces (BGP EVPN Peering) | Loopback Pool | Available Addresses | Assigned addresses | Assigned Address % | | ------------- | ------------------- | ------------------ | ------------------ | | 1.2.3.4/24 | 256 | 2 | 0.79 % | -| 192.168.255.0/24 | 256 | 28 | 10.94 % | +| 192.168.255.0/24 | 256 | 27 | 10.55 % | ## Loopback0 Interfaces Node Allocation @@ -287,7 +282,6 @@ | EOS_DESIGNS_UNIT_TESTS | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A | 192.168.255.3/32 | | EOS_DESIGNS_UNIT_TESTS | UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B | 192.168.255.4/32 | | EOS_DESIGNS_UNIT_TESTS | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 | 192.168.255.1/32 | -| EOS_DESIGNS_UNIT_TESTS | UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 | 192.168.255.2/32 | ## VTEP Loopback VXLAN Tunnel Source Interfaces (VTEPs Only) diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-p2p-links.csv b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-p2p-links.csv index 1d2d3640547..dbf72ffbe76 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-p2p-links.csv +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-p2p-links.csv @@ -56,6 +56,4 @@ spine,DC1-SPINE4,Ethernet5,172.31.255.70/31,l3leaf,DC1-SVC3B,Ethernet4,172.31.25 spine,DC1-SPINE4,Ethernet16,172.31.255.198/31,l3leaf,DC1_UNDEPLOYED_LEAF1A,Ethernet4,172.31.255.199/31 spine,DC1-SPINE4,Ethernet17,172.31.255.214/31,l3leaf,DC1_UNDEPLOYED_LEAF1B,Ethernet4,172.31.255.215/31 l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet1,172.31.255.1/31,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet1,172.31.255.0/31 -l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet2,172.31.255.3/31,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2,Ethernet1,172.31.255.2/31 -l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet1,172.31.255.5/31,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet2,172.31.255.4/31 -l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet2,172.31.255.7/31,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2,Ethernet2,172.31.255.6/31 +l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet1,172.31.255.3/31,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet2,172.31.255.2/31 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-topology.csv b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-topology.csv index 1685313c2e0..34ab6b6de06 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-topology.csv +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/fabric/EOS_DESIGNS_UNIT_TESTS-topology.csv @@ -257,18 +257,14 @@ l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet2,l3leaf,UPLINK-MLAG-STRUC l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet3,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A,Ethernet3,True l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet4,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A,Ethernet4,True l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet1,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet1,True -l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet2,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2,Ethernet1,True l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet3,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet3,True l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet4,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet4,True l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet5,l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A,Ethernet1,True l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet6,l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet1,True l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet1,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet2,True -l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet2,spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2,Ethernet2,True l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet3,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet3,True l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet4,mlag_peer,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet4,True l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet5,l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A,Ethernet2,True l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet6,l2leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1B,Ethernet2,True spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet1,l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet1,True spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1,Ethernet2,l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet1,True -spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2,Ethernet1,l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A,Ethernet2,True -spine,UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2,Ethernet2,l3leaf,UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B,Ethernet2,True diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.cfg index cb219eb9963..8ebe3454e77 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.cfg +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.cfg @@ -71,14 +71,6 @@ interface Ethernet1 ip address 172.31.255.1/31 pim ipv4 sparse-mode ! -interface Ethernet2 - description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 172.31.255.3/31 - pim ipv4 sparse-mode -! interface Ethernet3 description MLAG_PEER_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet3 no shutdown @@ -193,15 +185,9 @@ router bgp 65101 neighbor 172.31.255.0 peer group UNDERLAY-PEERS neighbor 172.31.255.0 remote-as 65001 neighbor 172.31.255.0 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet1 - neighbor 172.31.255.2 peer group UNDERLAY-PEERS - neighbor 172.31.255.2 remote-as 65001 - neighbor 172.31.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 neighbor 192.168.255.1 peer group EVPN-OVERLAY-PEERS neighbor 192.168.255.1 remote-as 65001 neighbor 192.168.255.1 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 - neighbor 192.168.255.2 peer group EVPN-OVERLAY-PEERS - neighbor 192.168.255.2 remote-as 65001 - neighbor 192.168.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 redistribute connected route-map RM-CONN-2-BGP ! address-family evpn diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.cfg index 7928fc8f398..8b97fd25263 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.cfg +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.cfg @@ -68,15 +68,7 @@ interface Ethernet1 no shutdown mtu 1500 no switchport - ip address 172.31.255.5/31 - pim ipv4 sparse-mode -! -interface Ethernet2 - description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 172.31.255.7/31 + ip address 172.31.255.3/31 pim ipv4 sparse-mode ! interface Ethernet3 @@ -190,18 +182,12 @@ router bgp 65101 neighbor UNDERLAY-PEERS maximum-routes 12000 neighbor 10.255.251.0 peer group MLAG-PEERS neighbor 10.255.251.0 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A - neighbor 172.31.255.4 peer group UNDERLAY-PEERS - neighbor 172.31.255.4 remote-as 65001 - neighbor 172.31.255.4 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 - neighbor 172.31.255.6 peer group UNDERLAY-PEERS - neighbor 172.31.255.6 remote-as 65001 - neighbor 172.31.255.6 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 + neighbor 172.31.255.2 peer group UNDERLAY-PEERS + neighbor 172.31.255.2 remote-as 65001 + neighbor 172.31.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 neighbor 192.168.255.1 peer group EVPN-OVERLAY-PEERS neighbor 192.168.255.1 remote-as 65001 neighbor 192.168.255.1 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 - neighbor 192.168.255.2 peer group EVPN-OVERLAY-PEERS - neighbor 192.168.255.2 remote-as 65001 - neighbor 192.168.255.2 description UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 redistribute connected route-map RM-CONN-2-BGP ! address-family evpn diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.cfg index 92545dfb821..c32bd501ec5 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.cfg +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.cfg @@ -46,7 +46,7 @@ interface Ethernet2 no shutdown mtu 1500 no switchport - ip address 172.31.255.4/31 + ip address 172.31.255.2/31 pim ipv4 sparse-mode ! interface Loopback0 @@ -94,9 +94,9 @@ router bgp 65001 neighbor 172.31.255.1 peer group UNDERLAY-PEERS neighbor 172.31.255.1 remote-as 65101 neighbor 172.31.255.1 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet1 - neighbor 172.31.255.5 peer group UNDERLAY-PEERS - neighbor 172.31.255.5 remote-as 65101 - neighbor 172.31.255.5 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 + neighbor 172.31.255.3 peer group UNDERLAY-PEERS + neighbor 172.31.255.3 remote-as 65101 + neighbor 172.31.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 neighbor 192.168.255.3 peer group EVPN-OVERLAY-PEERS neighbor 192.168.255.3 remote-as 65101 neighbor 192.168.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.cfg deleted file mode 100644 index 1257e4faf92..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.cfg +++ /dev/null @@ -1,123 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -boot secret sha512 a153de6290ff1409257ade45f -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.200.11:9910 -cvauth=key,telarista -cvvrf=MGMT -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 -ip name-server vrf MGMT 8.8.8.8 -ip name-server vrf MGMT 192.168.200.5 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 192.168.200.5 prefer -! -snmp-server contact example@example.com -snmp-server location EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 -! -spanning-tree mode none -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username cvpadmin privilege 15 role network-admin secret sha512 $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. -username cvpadmin ssh-key ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= cvpadmin@hostmachine.local -! -vrf instance MGMT -! -interface Ethernet1 - description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 172.31.255.2/31 - pim ipv4 sparse-mode -! -interface Ethernet2 - description P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 172.31.255.6/31 - pim ipv4 sparse-mode -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 192.168.255.2/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 192.168.200.102/24 -! -ip routing -no ip routing vrf MGMT -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 192.168.255.0/24 eq 32 -! -ip route vrf MGMT 0.0.0.0/0 192.168.200.5 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -router bfd - multihop interval 1200 min-rx 1200 multiplier 3 -! -router bgp 65001 - router-id 192.168.255.2 - no bgp default ipv4-unicast - distance bgp 20 200 200 - maximum-paths 4 ecmp 4 - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 q+VNViP5i4rVjW1cxFv2wA== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor UNDERLAY-PEERS peer group - neighbor UNDERLAY-PEERS password 7 AQQvKeimxJu+uGQ/yYvv9w== - neighbor UNDERLAY-PEERS send-community - neighbor UNDERLAY-PEERS maximum-routes 12000 - neighbor 172.31.255.3 peer group UNDERLAY-PEERS - neighbor 172.31.255.3 remote-as 65101 - neighbor 172.31.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 - neighbor 172.31.255.7 peer group UNDERLAY-PEERS - neighbor 172.31.255.7 remote-as 65101 - neighbor 172.31.255.7 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 - neighbor 192.168.255.3 peer group EVPN-OVERLAY-PEERS - neighbor 192.168.255.3 remote-as 65101 - neighbor 192.168.255.3 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A - neighbor 192.168.255.4 peer group EVPN-OVERLAY-PEERS - neighbor 192.168.255.4 remote-as 65101 - neighbor 192.168.255.4 description UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor UNDERLAY-PEERS activate -! -management api http-commands - protocol https - no default-services - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.yml index 418c3713b51..695a7daba1d 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A.yml @@ -44,18 +44,10 @@ router_bgp: peer_group: UNDERLAY-PEERS remote_as: '65001' description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet1 - 172.31.255.2: - peer_group: UNDERLAY-PEERS - remote_as: '65001' - description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 192.168.255.1: peer_group: EVPN-OVERLAY-PEERS description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 remote_as: '65001' - 192.168.255.2: - peer_group: EVPN-OVERLAY-PEERS - description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 - remote_as: '65001' redistribute_routes: connected: route_map: RM-CONN-2-BGP @@ -230,22 +222,6 @@ ethernet_interfaces: pim: ipv4: sparse_mode: true - Ethernet2: - peer: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 - peer_interface: Ethernet1 - peer_type: spine - description: P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet1 - mtu: 1500 - type: routed - shutdown: false - ip_address: 172.31.255.3/31 - struct_cfg: - pim: - ipv4: - sparse_mode: true - pim: - ipv4: - sparse_mode: true Ethernet5: peer: UPLINK-MLAG-STRUCTURED-CONFIG-L2LEAF1A peer_interface: Ethernet1 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.yml index c428db998cb..6b123544dfc 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B.yml @@ -40,22 +40,14 @@ router_bgp: 10.255.251.0: peer_group: MLAG-PEERS description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A - 172.31.255.4: + 172.31.255.2: peer_group: UNDERLAY-PEERS remote_as: '65001' description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1_Ethernet2 - 172.31.255.6: - peer_group: UNDERLAY-PEERS - remote_as: '65001' - description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 192.168.255.1: peer_group: EVPN-OVERLAY-PEERS description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1 remote_as: '65001' - 192.168.255.2: - peer_group: EVPN-OVERLAY-PEERS - description: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 - remote_as: '65001' redistribute_routes: connected: route_map: RM-CONN-2-BGP @@ -222,23 +214,7 @@ ethernet_interfaces: mtu: 1500 type: routed shutdown: false - ip_address: 172.31.255.5/31 - struct_cfg: - pim: - ipv4: - sparse_mode: true - pim: - ipv4: - sparse_mode: true - Ethernet2: - peer: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 - peer_interface: Ethernet2 - peer_type: spine - description: P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2_Ethernet2 - mtu: 1500 - type: routed - shutdown: false - ip_address: 172.31.255.7/31 + ip_address: 172.31.255.3/31 struct_cfg: pim: ipv4: diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.yml index 568731d1356..0065fa2d442 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1.yml @@ -34,7 +34,7 @@ router_bgp: peer_group: UNDERLAY-PEERS remote_as: '65101' description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet1 - 172.31.255.5: + 172.31.255.3: peer_group: UNDERLAY-PEERS remote_as: '65101' description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet1 @@ -134,7 +134,7 @@ ethernet_interfaces: mtu: 1500 type: routed shutdown: false - ip_address: 172.31.255.4/31 + ip_address: 172.31.255.2/31 struct_cfg: pim: ipv4: diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.yml deleted file mode 100644 index d0764225bcb..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2.yml +++ /dev/null @@ -1,166 +0,0 @@ -router_bgp: - as: '65001' - router_id: 192.168.255.2 - bgp_defaults: - - no bgp default ipv4-unicast - - distance bgp 20 200 200 - - maximum-paths 4 ecmp 4 - peer_groups: - UNDERLAY-PEERS: - type: ipv4 - password: AQQvKeimxJu+uGQ/yYvv9w== - maximum_routes: 12000 - send_community: all - EVPN-OVERLAY-PEERS: - type: evpn - update_source: Loopback0 - bfd: true - ebgp_multihop: '3' - password: q+VNViP5i4rVjW1cxFv2wA== - send_community: all - maximum_routes: 0 - next_hop_unchanged: true - address_family_ipv4: - peer_groups: - UNDERLAY-PEERS: - activate: true - EVPN-OVERLAY-PEERS: - activate: false - redistribute_routes: - connected: - route_map: RM-CONN-2-BGP - neighbors: - 172.31.255.3: - peer_group: UNDERLAY-PEERS - remote_as: '65101' - description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 - 172.31.255.7: - peer_group: UNDERLAY-PEERS - remote_as: '65101' - description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 - 192.168.255.3: - peer_group: EVPN-OVERLAY-PEERS - description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A - remote_as: '65101' - 192.168.255.4: - peer_group: EVPN-OVERLAY-PEERS - description: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B - remote_as: '65101' - address_family_evpn: - peer_groups: - EVPN-OVERLAY-PEERS: - activate: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 192.168.200.5 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.200.11:9910 - cvauth: - method: key - key: telarista - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: false -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -name_server: - source: - vrf: MGMT - nodes: - - 192.168.200.5 - - 8.8.8.8 -snmp_server: - contact: example@example.com - location: EOS_DESIGNS_UNIT_TESTS UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2 -spanning_tree: - mode: none -local_users: - admin: - privilege: 15 - role: network-admin - no_password: true - cvpadmin: - privilege: 15 - role: network-admin - sha512_password: $6$rZKcbIZ7iWGAWTUM$TCgDn1KcavS0s.OV8lacMTUkxTByfzcGlFlYUWroxYuU7M/9bIodhRO7nXGzMweUxvbk8mJmQl8Bh44cRktUj. - ssh_key: ssh-rsa AAAAB3NzaC1yc2EAA82spi2mkxp4FgaLi4CjWkpnL1A/MD7WhrSNgqXToF7QCb9Lidagy9IHafQxfu7LwkFdyQIMu8XNwDZIycuf29wHbDdz1N+YNVK8zwyNAbMOeKMqblsEm2YIorgjzQX1m9+/rJeFBKz77PSgeMp/Rc3txFVuSmFmeTy3aMkU= - cvpadmin@hostmachine.local -vrfs: - MGMT: - ip_routing: false -management_interfaces: - Management1: - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 192.168.200.102/24 - gateway: 192.168.200.5 - type: oob -management_api_http: - enable_vrfs: - MGMT: {} - enable_https: true - default_services: false -ethernet_interfaces: - Ethernet1: - peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A_Ethernet2 - mtu: 1500 - type: routed - shutdown: false - ip_address: 172.31.255.2/31 - struct_cfg: - pim: - ipv4: - sparse_mode: true - pim: - ipv4: - sparse_mode: true - Ethernet2: - peer: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B_Ethernet2 - mtu: 1500 - type: routed - shutdown: false - ip_address: 172.31.255.6/31 - struct_cfg: - pim: - ipv4: - sparse_mode: true - pim: - ipv4: - sparse_mode: true -loopback_interfaces: - Loopback0: - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 192.168.255.2/32 -prefix_lists: - PL-LOOPBACKS-EVPN-OVERLAY: - sequence_numbers: - 10: - action: permit 192.168.255.0/24 eq 32 -route_maps: - RM-CONN-2-BGP: - sequence_numbers: - 10: - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -router_bfd: - multihop: - interval: 1200 - min_rx: 1200 - multiplier: 3 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L3LEAFS.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L3LEAFS.yml index 90139e56d24..eed77a8b959 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L3LEAFS.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L3LEAFS.yml @@ -6,8 +6,8 @@ l3leaf: loopback_ipv4_pool: 192.168.255.0/24 loopback_ipv4_offset: 2 vtep_loopback_ipv4_pool: 192.168.254.0/24 - uplink_interfaces: ['Ethernet1', 'Ethernet2'] - uplink_switches: ['UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1', 'UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2'] + uplink_interfaces: ['Ethernet1'] + uplink_switches: ['UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1'] uplink_ipv4_pool: 172.31.255.0/24 uplink_structured_config: pim: @@ -33,8 +33,8 @@ l3leaf: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A: id: 1 mgmt_ip: 192.168.200.105/24 - uplink_switch_interfaces: [ Ethernet1, Ethernet1] + uplink_switch_interfaces: [ Ethernet1 ] UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1B: id: 2 mgmt_ip: 192.168.200.107/24 - uplink_switch_interfaces: [ Ethernet2, Ethernet2] + uplink_switch_interfaces: [ Ethernet2 ] diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_SPINES.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_SPINES.yml index c6e24fd3d74..43d841f642f 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_SPINES.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_SPINES.yml @@ -11,6 +11,3 @@ spine: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1: id: 1 mgmt_ip: 192.168.200.101/24 - UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2: - id: 2 - mgmt_ip: 192.168.200.102/24 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml index 4a39ee5979e..c52f60bfd6d 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml @@ -131,7 +131,6 @@ all: UPLINK_MLAG_STRUCTURED_CONFIG_SPINES: hosts: UPLINK-MLAG-STRUCTURED-CONFIG-SPINE1: - UPLINK-MLAG-STRUCTURED-CONFIG-SPINE2: UPLINK_MLAG_STRUCTURED_CONFIG_L3LEAFS: hosts: UPLINK-MLAG-STRUCTURED-CONFIG-L3LEAF1A: From 5004cb2680d5ad2729511ea809f23ed9d910f8c7 Mon Sep 17 00:00:00 2001 From: Claus Holbech Date: Sun, 26 Jun 2022 20:58:23 +0200 Subject: [PATCH 10/10] Update UPLINK_MLAG_STRUCTURED_CONFIG_L2LEAFS.yml --- .../group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L2LEAFS.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L2LEAFS.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L2LEAFS.yml index e308db15cc2..ebfdd3c9f8e 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L2LEAFS.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/UPLINK_MLAG_STRUCTURED_CONFIG_L2LEAFS.yml @@ -1,6 +1,5 @@ type: l2leaf - l2leaf: defaults: platform: vEOS-LAB