mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 20:13:59 -07:00
net_lldp_interface module implementation for junos (#26915)
* junos_lldp_interface module implementation * junos_lldp_interface integration test * net_lldp_interface module intgration test for junos * Add lldp configuration parameter in junos_lldp * Modify junos_lldp testcase as per above change * Add net_lldp_interface module documentation
This commit is contained in:
parent
3f67d167fe
commit
b8cd646afd
12 changed files with 628 additions and 15 deletions
|
@ -16,7 +16,7 @@
|
|||
- assert:
|
||||
that:
|
||||
- "result.changed == true"
|
||||
- "'[edit]\n- protocols {\n- lldp {\n- disable;\n- }\n- }' in result.diff.prepared"
|
||||
- "'- disable;' in result.diff.prepared"
|
||||
|
||||
- name: configure lldp (idempotent)
|
||||
net_lldp:
|
||||
|
@ -37,7 +37,7 @@
|
|||
- assert:
|
||||
that:
|
||||
- "result.changed == true"
|
||||
- "'[edit]\n+ protocols {\n+ lldp {\n+ disable;\n+ }\n+ }' in result.diff.prepared"
|
||||
- "'+ disable;' in result.diff.prepared"
|
||||
|
||||
- name: Disable lldp (idempotent)
|
||||
net_lldp:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue