diff options
author | Chris Van Heuveln <cvanheuv@cisco.com> | 2019-06-19 17:52:32 +0200 |
---|---|---|
committer | Trishna Guha <trishnaguha17@gmail.com> | 2019-06-19 17:52:32 +0200 |
commit | 727a6b405a90742bd06b5290c00d920993f05ec2 (patch) | |
tree | a30760b564f352d298f5c4e82c5480c000694d71 /test/integration/targets/nxos_ospf_vrf | |
parent | nxos_pim: Add bfd support (#56908) (diff) | |
download | ansible-727a6b405a90742bd06b5290c00d920993f05ec2.tar.xz ansible-727a6b405a90742bd06b5290c00d920993f05ec2.zip |
nxos_ospf_vrf: Add 'bfd' support (#57425)
* nxos_ospf_vrf: Add 'bfd' support
* Add default to bfd doc hdr
* bfd T/F now bfd enable/disable
Diffstat (limited to 'test/integration/targets/nxos_ospf_vrf')
-rw-r--r-- | test/integration/targets/nxos_ospf_vrf/tests/common/sanity.yaml | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/test/integration/targets/nxos_ospf_vrf/tests/common/sanity.yaml b/test/integration/targets/nxos_ospf_vrf/tests/common/sanity.yaml index 423de8b89f..5cf9ca6d56 100644 --- a/test/integration/targets/nxos_ospf_vrf/tests/common/sanity.yaml +++ b/test/integration/targets/nxos_ospf_vrf/tests/common/sanity.yaml @@ -7,19 +7,20 @@ # CSCvi74876 Cannot remove default-metric when: imagetag is not search("I7") -- name: "Setup: disable feature OSPF for initial cleanup" +- name: "Setup: disable features for initial cleanup" nxos_feature: - feature: ospf + feature: "{{ item }}" provider: "{{ connection }}" state: disabled + loop: ['ospf', 'bfd'] ignore_errors: yes -- name: "Enable feature OSPF" +- name: "Enable features" nxos_feature: - feature: ospf + feature: "{{ item }}" provider: "{{ connection }}" state: enabled - ignore_errors: yes + loop: ['ospf', 'bfd'] - block: - name: Configure ospf vrf @@ -33,6 +34,7 @@ timer_throttle_lsa_hold: 1100 timer_throttle_lsa_max: 3000 vrf: test + bfd: enable passive_interface: true provider: "{{ connection }}" state: present @@ -60,6 +62,7 @@ default_metric: 1000 log_adjacency: log vrf: default + bfd: disable passive_interface: true provider: "{{ connection }}" state: present @@ -129,11 +132,12 @@ when: def_met_default is defined always: - - name: "Disable feature OSPF" + - name: "Disable features" nxos_feature: - feature: ospf + feature: "{{ item }}" provider: "{{ connection }}" state: disabled + loop: ['ospf', 'bfd'] ignore_errors: yes - debug: msg="END connection={{ ansible_connection }} nxos_ospf_vrf sanity test" |