diff options
author | Rohit <rohitthakur2590@outlook.com> | 2020-06-01 13:05:52 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 07:35:52 +0000 |
commit | 06235439435396c852535c2569542939bf65ef43 (patch) | |
tree | ff9facb3636f13b205bea0d14c7b0c9b12e3f18a /plugins/modules/vyos_l3_interface.py | |
parent | 24a6864db07e5f61cdd952a528d4fd6c147d8db4 (diff) | |
download | vyos.vyos-06235439435396c852535c2569542939bf65ef43.tar.gz vyos.vyos-06235439435396c852535c2569542939bf65ef43.zip |
[VyOS: ]all modules updated with FQCN and new doc changes (#33)
[VyOS: ]all modules updated with FQCN and new doc changes
Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'plugins/modules/vyos_l3_interface.py')
-rw-r--r-- | plugins/modules/vyos_l3_interface.py | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/plugins/modules/vyos_l3_interface.py b/plugins/modules/vyos_l3_interface.py index faa9629..3e43f7c 100644 --- a/plugins/modules/vyos_l3_interface.py +++ b/plugins/modules/vyos_l3_interface.py @@ -19,18 +19,14 @@ # along with Ansible. If not, see <http://www.gnu.org/licenses/>. # -ANSIBLE_METADATA = { - "metadata_version": "1.1", - "status": ["deprecated"], - "supported_by": "network", -} - -DOCUMENTATION = """module: vyos_l3_interface +DOCUMENTATION = """ +module: vyos_l3_interface author: Ricardo Carrillo Cruz (@rcarrillocruz) -short_description: Manage L3 interfaces on VyOS network devices +short_description: (deprecated) Manage L3 interfaces on VyOS network devices description: - This module provides declarative management of L3 interfaces on VyOS network devices. +version_added: 1.0.0 deprecated: removed_in: '2.13' alternative: vyos_l3_interfaces @@ -58,30 +54,31 @@ options: - absent extends_documentation_fragment: - vyos.vyos.vyos + """ EXAMPLES = """ - name: Set eth0 IPv4 address - vyos_l3_interface: + vyos.vyos.vyos_l3_interface: name: eth0 ipv4: 192.168.0.1/24 - name: Remove eth0 IPv4 address - vyos_l3_interface: + vyos.vyos.vyos_l3_interface: name: eth0 state: absent - name: Set IP addresses on aggregate - vyos_l3_interface: + vyos.vyos.vyos_l3_interface: aggregate: - - { name: eth1, ipv4: 192.168.2.10/24 } - - { name: eth2, ipv4: 192.168.3.10/24, ipv6: "fd5d:12c9:2201:1::1/64" } + - {name: eth1, ipv4: 192.168.2.10/24} + - {name: eth2, ipv4: 192.168.3.10/24, ipv6: fd5d:12c9:2201:1::1/64} - name: Remove IP addresses on aggregate - vyos_l3_interface: + vyos.vyos.vyos_l3_interface: aggregate: - - { name: eth1, ipv4: 192.168.2.10/24 } - - { name: eth2, ipv4: 192.168.3.10/24, ipv6: "fd5d:12c9:2201:1::1/64" } + - {name: eth1, ipv4: 192.168.2.10/24} + - {name: eth2, ipv4: 192.168.3.10/24, ipv6: fd5d:12c9:2201:1::1/64} state: absent """ |