From c5de2233d0a663002850f062c09f956b5a248776 Mon Sep 17 00:00:00 2001 From: Chris Van Heuveln Date: Mon, 11 Mar 2019 08:35:59 -0400 Subject: [PATCH] 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. --- .../nxos_pim_rp_address/tests/common/configure.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/integration/targets/nxos_pim_rp_address/tests/common/configure.yaml b/test/integration/targets/nxos_pim_rp_address/tests/common/configure.yaml index 665aba592aa..fb1fd00ca4c 100644 --- a/test/integration/targets/nxos_pim_rp_address/tests/common/configure.yaml +++ b/test/integration/targets/nxos_pim_rp_address/tests/common/configure.yaml @@ -4,13 +4,16 @@ when: ansible_connection == "local" - block: - # N3L does not support bidir + # platforms do not support bidir - set_fact: bidir_true="true" - 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_route_map="pim_route_map" - when: platform is not match("N3L") + when: platform is not search('N3L|N7K') - block: - name: "Disable feature PIM"