From 5bea855871ac4d1ba861e4de2d643acd9ad70d7e Mon Sep 17 00:00:00 2001 From: Shivani-gslab Date: Fri, 18 Oct 2024 12:32:42 +0530 Subject: [PATCH] Add tests --- .../documentation/devices/router-bgp-evpn-mpls.md | 1 + .../documentation/devices/router-bgp-evpn-vpn-import-pruning.md | 1 + .../intended/configs/router-bgp-evpn-mpls.cfg | 1 + .../intended/configs/router-bgp-evpn-vpn-import-pruning.cfg | 1 + .../inventory/host_vars/router-bgp-evpn-mpls.yml | 2 ++ .../inventory/host_vars/router-bgp-evpn-vpn-import-pruning.yml | 2 ++ 6 files changed, 8 insertions(+) diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-evpn-mpls.md b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-evpn-mpls.md index a4b663331bd..dd711b31f56 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-evpn-mpls.md +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-evpn-mpls.md @@ -122,6 +122,7 @@ router bgp 65101 graceful-restart restart-time 300 graceful-restart maximum-paths 2 ecmp 2 + neighbor default send-community standard large extended neighbor EVPN-OVERLAY-PEERS peer group neighbor EVPN-OVERLAY-PEERS remote-as 65001 neighbor EVPN-OVERLAY-PEERS update-source Loopback0 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-evpn-vpn-import-pruning.md b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-evpn-vpn-import-pruning.md index 8eb002b70bd..da1a0348f54 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-evpn-vpn-import-pruning.md +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-evpn-vpn-import-pruning.md @@ -131,6 +131,7 @@ router bgp 65101 graceful-restart restart-time 300 graceful-restart maximum-paths 2 ecmp 2 + neighbor default send-community neighbor EVPN-OVERLAY-PEERS peer group neighbor EVPN-OVERLAY-PEERS remote-as 65001 neighbor EVPN-OVERLAY-PEERS update-source Loopback0 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-evpn-mpls.cfg b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-evpn-mpls.cfg index 8dc866980e4..ed5b770c846 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-evpn-mpls.cfg +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-evpn-mpls.cfg @@ -11,6 +11,7 @@ router bgp 65101 graceful-restart restart-time 300 graceful-restart maximum-paths 2 ecmp 2 + neighbor default send-community standard large extended neighbor EVPN-OVERLAY-PEERS peer group neighbor EVPN-OVERLAY-PEERS remote-as 65001 neighbor EVPN-OVERLAY-PEERS update-source Loopback0 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-evpn-vpn-import-pruning.cfg b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-evpn-vpn-import-pruning.cfg index ee9486b4557..efd41808739 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-evpn-vpn-import-pruning.cfg +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-evpn-vpn-import-pruning.cfg @@ -11,6 +11,7 @@ router bgp 65101 graceful-restart restart-time 300 graceful-restart maximum-paths 2 ecmp 2 + neighbor default send-community neighbor EVPN-OVERLAY-PEERS peer group neighbor EVPN-OVERLAY-PEERS remote-as 65001 neighbor EVPN-OVERLAY-PEERS update-source Loopback0 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-evpn-mpls.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-evpn-mpls.yml index 739bf7afadb..e068c8e9678 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-evpn-mpls.yml +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-evpn-mpls.yml @@ -1,6 +1,8 @@ router_bgp: as: 65101 router_id: 192.168.255.3 + # test for send_community + send_community: standard large extended bgp_defaults: - no bgp default ipv4-unicast - distance bgp 20 200 200 diff --git a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-evpn-vpn-import-pruning.yml b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-evpn-vpn-import-pruning.yml index 70d53775350..b0c9451220c 100644 --- a/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-evpn-vpn-import-pruning.yml +++ b/ansible_collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-evpn-vpn-import-pruning.yml @@ -1,6 +1,8 @@ router_bgp: as: 65101 router_id: 192.168.255.3 + # test for send_community + send_community: all bgp_defaults: - no bgp default ipv4-unicast - distance bgp 20 200 200