Change tx delay to 2 on the rest of junos_lldp tests (#27753)

pull/27756/head
Ricardo Carrillo Cruz 7 years ago committed by GitHub
parent 8e9b2e5762
commit 623235857f

@ -46,7 +46,7 @@
junos_lldp: junos_lldp:
interval: 10 interval: 10
hold_multiplier: 5 hold_multiplier: 5
transmit_delay: 30 transmit_delay: 2
state: present state: present
provider: "{{ netconf }}" provider: "{{ netconf }}"
register: result register: result
@ -59,7 +59,7 @@
junos_lldp: junos_lldp:
interval: 10 interval: 10
hold_multiplier: 5 hold_multiplier: 5
transmit_delay: 30 transmit_delay: 2
state: disabled state: disabled
provider: "{{ netconf }}" provider: "{{ netconf }}"
register: result register: result
@ -69,14 +69,14 @@
- "result.changed == true" - "result.changed == true"
- result.diff.prepared | search("\+ *disable") - result.diff.prepared | search("\+ *disable")
- "'advertisement-interval 10;' not in result.diff.prepared" - "'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" - "'hold-multiplier 5;' not in result.diff.prepared"
- name: configure lldp parameters and enable lldp - name: configure lldp parameters and enable lldp
junos_lldp: junos_lldp:
interval: 10 interval: 10
hold_multiplier: 5 hold_multiplier: 5
transmit_delay: 30 transmit_delay: 2
state: enabled state: enabled
provider: "{{ netconf }}" provider: "{{ netconf }}"
register: result register: result
@ -86,14 +86,14 @@
- "result.changed == true" - "result.changed == true"
- result.diff.prepared | search("\- *disable") - result.diff.prepared | search("\- *disable")
- "'advertisement-interval 10;' not in result.diff.prepared" - "'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" - "'hold-multiplier 5;' not in result.diff.prepared"
- name: Remove lldp configuration and diable lldp - name: Remove lldp configuration and diable lldp
junos_lldp: junos_lldp:
interval: 10 interval: 10
hold_multiplier: 5 hold_multiplier: 5
transmit_delay: 30 transmit_delay: 2
state: absent state: absent
provider: "{{ netconf }}" provider: "{{ netconf }}"
register: result register: result
@ -103,7 +103,7 @@
- "result.changed == true" - "result.changed == true"
- result.diff.prepared | search("\+ *disable") - result.diff.prepared | search("\+ *disable")
- result.diff.prepared | search("\- *advertisement-interval 10") - 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") - result.diff.prepared | search("\- *hold-multiplier 5")
- name: Remove lldp (idempotent) - name: Remove lldp (idempotent)

Loading…
Cancel
Save