Skip to content

Commit

Permalink
nxos_ospf_vrf: sanity.yaml test: fix timer_throttle_lsa_hold (ansible…
Browse files Browse the repository at this point in the history
…#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.

(cherry picked from commit c1e9f59)
  • Loading branch information
chrisvanheuveln authored and trishnaguha committed Apr 1, 2019
1 parent 28c58c4 commit c1113e3
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c1113e3

Please sign in to comment.