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:
Ganesh Nalawade 2017-06-16 22:12:50 +05:30 committed by GitHub
commit 2ff464c949
24 changed files with 751 additions and 16 deletions

View file

@ -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>"
"""