nxos_pim_rp_address: N7K sanity test fix when removing rp w/pfx-list (#53556)
The N7K is another platform that raises an error when trying to remove an RP w/prefix-list specified. These tests are now skipped for N7K.
This commit is contained in:
parent
c1e9f594d2
commit
c5de2233d0
1 changed files with 6 additions and 3 deletions
|
@ -4,13 +4,16 @@
|
||||||
when: ansible_connection == "local"
|
when: ansible_connection == "local"
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
# N3L does not support bidir
|
# platforms do not support bidir
|
||||||
- set_fact: bidir_true="true"
|
- set_fact: bidir_true="true"
|
||||||
- set_fact: bidir_false="false"
|
- set_fact: bidir_false="false"
|
||||||
# N3L can only remove rpa, cannot remove rpa+prefixlist or rpa+routemap
|
when: platform is not search('N3L')
|
||||||
|
|
||||||
|
- block:
|
||||||
|
# platforms can only remove rpa, cannot remove rpa+prefixlist or rpa+routemap
|
||||||
- set_fact: pim_prefix_list="pim_prefix_list"
|
- set_fact: pim_prefix_list="pim_prefix_list"
|
||||||
- set_fact: pim_route_map="pim_route_map"
|
- set_fact: pim_route_map="pim_route_map"
|
||||||
when: platform is not match("N3L")
|
when: platform is not search('N3L|N7K')
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: "Disable feature PIM"
|
- name: "Disable feature PIM"
|
||||||
|
|
Loading…
Reference in a new issue