Skip to content

Commit

Permalink
Fix vxlan_vtep_vni tests (#39968)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewiebe authored and trishnaguha committed May 14, 2018
1 parent 6fac574 commit 0407c51
Showing 1 changed file with 31 additions and 1 deletion.
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0407c51

Please sign in to comment.