Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vxlan_vtep_vni tests #39968

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
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