mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
Add net_interface declarative module (#25766)
* Add net_interface declartive module * Add net_interface module * Add junos_interface implementation module * Other minor changes * Add integration test * Integration test for net_interface * Integration test for junos_interface * Fix CI failures * Documentation changes
This commit is contained in:
parent
e7deb07a87
commit
2ff464c949
24 changed files with 751 additions and 16 deletions
|
@ -44,7 +44,7 @@ options:
|
|||
description:
|
||||
- List of interfaces the VLAN should be configured on.
|
||||
collection:
|
||||
description: List of VLANs definitions
|
||||
description: List of VLANs definitions.
|
||||
purge:
|
||||
description:
|
||||
- Purge VLANs not defined in the collections parameter.
|
||||
|
@ -81,4 +81,10 @@ commands:
|
|||
sample:
|
||||
- vlan 20
|
||||
- name test-vlan
|
||||
rpc:
|
||||
description: load-configuration RPC send to the device
|
||||
returned: C(rpc) is returned only for junos device
|
||||
when configuration is changed on device
|
||||
type: string
|
||||
sample: "<vlans><vlan><name>test-vlan-4</name></vlan></vlans>"
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue