Fix vxlan_vtep_vni tests (#39968)

This commit is contained in:
Mike Wiebe 2018-05-14 03:05:37 -04:00 committed by Trishna Guha
parent 6fac574f17
commit 0407c51447

View file

@ -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