mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00: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:
@@ -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>"
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user