mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Fix vxlan_vtep_vni tests (#39968)
This commit is contained in:
parent
6fac574f17
commit
0407c51447
1 changed files with 31 additions and 1 deletions
|
@ -123,12 +123,30 @@
|
||||||
|
|
||||||
- assert: *true
|
- assert: *true
|
||||||
|
|
||||||
- name: "Conf 6 Idempotence"
|
- name: check configure vxlan_vtep_vni ingress static idempotence check
|
||||||
nxos_vxlan_vtep_vni: *conf6
|
nxos_vxlan_vtep_vni: *conf6
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- assert: *false
|
- 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
|
- name: configure vxlan_vtep_vni ingress bgp
|
||||||
nxos_vxlan_vtep_vni: &conf7
|
nxos_vxlan_vtep_vni: &conf7
|
||||||
interface: nve1
|
interface: nve1
|
||||||
|
@ -161,6 +179,18 @@
|
||||||
|
|
||||||
- assert: *false
|
- 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
|
- name: configure vxlan_vtep_vni peer-list
|
||||||
nxos_vxlan_vtep_vni: &conf9
|
nxos_vxlan_vtep_vni: &conf9
|
||||||
interface: nve1
|
interface: nve1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue