|
|
|
@ -57,20 +57,27 @@
|
|
|
|
|
that:
|
|
|
|
|
- "result.changed == false"
|
|
|
|
|
|
|
|
|
|
# The vpc peer-link command seems to be invalid for the NXOSv we have in Zuul CI
|
|
|
|
|
# Hence, we're temporarily skipping the tests that have `peer_link` key
|
|
|
|
|
|
|
|
|
|
- name: Configure vpc port channel
|
|
|
|
|
nxos_vpc_interface: &conf1
|
|
|
|
|
portchannel: 11
|
|
|
|
|
peer_link: True
|
|
|
|
|
provider: "{{ connection }}"
|
|
|
|
|
register: result
|
|
|
|
|
when: image_version != "7.0(3)I5(1)"
|
|
|
|
|
|
|
|
|
|
- assert: *true
|
|
|
|
|
when: image_version != "7.0(3)I5(1)"
|
|
|
|
|
|
|
|
|
|
- name: "Conf Idempotence"
|
|
|
|
|
nxos_vpc_interface: *conf1
|
|
|
|
|
register: result
|
|
|
|
|
when: image_version != "7.0(3)I5(1)"
|
|
|
|
|
|
|
|
|
|
- assert: *false
|
|
|
|
|
when: image_version != "7.0(3)I5(1)"
|
|
|
|
|
|
|
|
|
|
- name: Configure vpc port channel
|
|
|
|
|
nxos_vpc_interface: &conf2
|
|
|
|
@ -78,14 +85,18 @@
|
|
|
|
|
peer_link: False
|
|
|
|
|
provider: "{{ connection }}"
|
|
|
|
|
register: result
|
|
|
|
|
when: image_version != "7.0(3)I5(1)"
|
|
|
|
|
|
|
|
|
|
- assert: *true
|
|
|
|
|
when: image_version != "7.0(3)I5(1)"
|
|
|
|
|
|
|
|
|
|
- name: "Conf Idempotence"
|
|
|
|
|
nxos_vpc_interface: *conf2
|
|
|
|
|
register: result
|
|
|
|
|
when: image_version != "7.0(3)I5(1)"
|
|
|
|
|
|
|
|
|
|
- assert: *false
|
|
|
|
|
when: image_version != "7.0(3)I5(1)"
|
|
|
|
|
|
|
|
|
|
- name: remove vpc port channel
|
|
|
|
|
nxos_vpc_interface: &remove
|
|
|
|
|