From 0407c514477742e04fd6f777655cbe4f6ca1a3b7 Mon Sep 17 00:00:00 2001 From: Mike Wiebe Date: Mon, 14 May 2018 03:05:37 -0400 Subject: [PATCH] Fix vxlan_vtep_vni tests (#39968) --- .../tests/common/sanity.yaml | 32 ++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/test/integration/targets/nxos_vxlan_vtep_vni/tests/common/sanity.yaml b/test/integration/targets/nxos_vxlan_vtep_vni/tests/common/sanity.yaml index 05e0126b8d79f4..b5c8b31932c3c3 100644 --- a/test/integration/targets/nxos_vxlan_vtep_vni/tests/common/sanity.yaml +++ b/test/integration/targets/nxos_vxlan_vtep_vni/tests/common/sanity.yaml @@ -123,12 +123,30 @@ - assert: *true - - name: "Conf 6 Idempotence" + - name: check configure vxlan_vtep_vni ingress static idempotence check nxos_vxlan_vtep_vni: *conf6 register: result - assert: *false + - name: Remove and reconfigure vxlan_vtep + nxos_vxlan_vtep: &remove_vtep + interface: nve1 + state: absent + provider: "{{ connection }}" + + - name: Configure vxlan_vtep with host reachability bgp + nxos_vxlan_vtep: + interface: nve1 + host_reachability: True + provider: "{{ connection }}" + + - name: configure vxlan_vtep_vni + nxos_vxlan_vtep_vni: &config_vni + interface: nve1 + vni: 8000 + provider: "{{ connection }}" + - name: configure vxlan_vtep_vni ingress bgp nxos_vxlan_vtep_vni: &conf7 interface: nve1 @@ -161,6 +179,18 @@ - assert: *false + - name: Remove and reconfigure vxlan_vtep + nxos_vxlan_vtep: *remove_vtep + + - name: Configure vxlan_vtep with host reachability static + nxos_vxlan_vtep: + interface: nve1 + host_reachability: False + provider: "{{ connection }}" + + - name: configure vxlan_vtep_vni + nxos_vxlan_vtep_vni: *config_vni + - name: configure vxlan_vtep_vni peer-list nxos_vxlan_vtep_vni: &conf9 interface: nve1