1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

nxos_ospf_vrf: sanity.yaml test: fix timer_throttle_lsa_hold (#53561)

* The test was setting `lsa max` value to 2222 but the default `lsa hold` value is 5000.

* `hold` must be less than `max` or else the device raises a clierror, so I just added a lower non-default `hold` value to satisfy the cli.
This commit is contained in:
Chris Van Heuveln 2019-03-11 08:35:03 -04:00 committed by Trishna Guha
parent cd5c64c818
commit c1e9f594d2

View file

@ -3,6 +3,13 @@
- debug: msg="Using provider={{ connection.transport }}"
when: ansible_connection == "local"
- name: "Setup: disable feature OSPF for initial cleanup"
nxos_feature:
feature: ospf
provider: "{{ connection }}"
state: disabled
ignore_errors: yes
- name: "Enable feature OSPF"
nxos_feature:
feature: ospf
@ -44,6 +51,7 @@
ospf: 2
auto_cost: 5000
timer_throttle_spf_hold: 1100
timer_throttle_lsa_hold: 2220
timer_throttle_lsa_max: 2222
default_metric: 1000
log_adjacency: log