Change tx delay to 2 on the rest of junos_lldp tests (#27753)
This commit is contained in:
parent
8e9b2e5762
commit
623235857f
1 changed files with 7 additions and 7 deletions
|
@ -46,7 +46,7 @@
|
|||
junos_lldp:
|
||||
interval: 10
|
||||
hold_multiplier: 5
|
||||
transmit_delay: 30
|
||||
transmit_delay: 2
|
||||
state: present
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
@ -59,7 +59,7 @@
|
|||
junos_lldp:
|
||||
interval: 10
|
||||
hold_multiplier: 5
|
||||
transmit_delay: 30
|
||||
transmit_delay: 2
|
||||
state: disabled
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
@ -69,14 +69,14 @@
|
|||
- "result.changed == true"
|
||||
- result.diff.prepared | search("\+ *disable")
|
||||
- "'advertisement-interval 10;' not in result.diff.prepared"
|
||||
- "'transmit-delay 30;' not in result.diff.prepared"
|
||||
- "'transmit-delay 2;' not in result.diff.prepared"
|
||||
- "'hold-multiplier 5;' not in result.diff.prepared"
|
||||
|
||||
- name: configure lldp parameters and enable lldp
|
||||
junos_lldp:
|
||||
interval: 10
|
||||
hold_multiplier: 5
|
||||
transmit_delay: 30
|
||||
transmit_delay: 2
|
||||
state: enabled
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
@ -86,14 +86,14 @@
|
|||
- "result.changed == true"
|
||||
- result.diff.prepared | search("\- *disable")
|
||||
- "'advertisement-interval 10;' not in result.diff.prepared"
|
||||
- "'transmit-delay 30;' not in result.diff.prepared"
|
||||
- "'transmit-delay 2;' not in result.diff.prepared"
|
||||
- "'hold-multiplier 5;' not in result.diff.prepared"
|
||||
|
||||
- name: Remove lldp configuration and diable lldp
|
||||
junos_lldp:
|
||||
interval: 10
|
||||
hold_multiplier: 5
|
||||
transmit_delay: 30
|
||||
transmit_delay: 2
|
||||
state: absent
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
@ -103,7 +103,7 @@
|
|||
- "result.changed == true"
|
||||
- result.diff.prepared | search("\+ *disable")
|
||||
- result.diff.prepared | search("\- *advertisement-interval 10")
|
||||
- result.diff.prepared | search("\- *transmit-delay 30")
|
||||
- result.diff.prepared | search("\- *transmit-delay 2")
|
||||
- result.diff.prepared | search("\- *hold-multiplier 5")
|
||||
|
||||
- name: Remove lldp (idempotent)
|
||||
|
|
Loading…
Reference in a new issue