summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_linkagg.py
diff options
context:
space:
mode:
authorRohit <rohitthakur2590@outlook.com>2020-06-01 13:05:52 +0530
committerGitHub <noreply@github.com>2020-06-01 07:35:52 +0000
commit06235439435396c852535c2569542939bf65ef43 (patch)
treeff9facb3636f13b205bea0d14c7b0c9b12e3f18a /plugins/modules/vyos_linkagg.py
parent24a6864db07e5f61cdd952a528d4fd6c147d8db4 (diff)
downloadvyos-ansible-old-06235439435396c852535c2569542939bf65ef43.tar.gz
vyos-ansible-old-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_linkagg.py')
-rw-r--r--plugins/modules/vyos_linkagg.py35
1 files changed, 16 insertions, 19 deletions
diff --git a/plugins/modules/vyos_linkagg.py b/plugins/modules/vyos_linkagg.py
index 6810a54..0d939b2 100644
--- a/plugins/modules/vyos_linkagg.py
+++ b/plugins/modules/vyos_linkagg.py
@@ -19,19 +19,15 @@
# 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_linkagg
+DOCUMENTATION = """
+module: vyos_linkagg
author: Ricardo Carrillo Cruz (@rcarrillocruz)
-short_description: Manage link aggregation groups on VyOS network devices
+short_description: (deprecated) Manage link aggregation groups on VyOS network devices
description:
- This module provides declarative management of link aggregation groups on VyOS network
devices.
+version_added: 1.0.0
deprecated:
removed_in: '2.13'
alternative: vyos_lag_interfaces
@@ -55,7 +51,7 @@ options:
- transmit-load-balance
- adaptive-load-balance
- xor-hash
- - 'on'
+ - on
type: str
members:
description:
@@ -76,32 +72,33 @@ options:
type: str
extends_documentation_fragment:
- vyos.vyos.vyos
+
"""
EXAMPLES = """
- name: configure link aggregation group
- vyos_linkagg:
+ vyos.vyos.vyos_linkagg:
name: bond0
members:
- - eth0
- - eth1
+ - eth0
+ - eth1
- name: remove configuration
- vyos_linkagg:
+ vyos.vyos.vyos_linkagg:
name: bond0
state: absent
- name: Create aggregate of linkagg definitions
- vyos_linkagg:
+ vyos.vyos.vyos_linkagg:
aggregate:
- - { name: bond0, members: [eth1] }
- - { name: bond1, members: [eth2] }
+ - {name: bond0, members: [eth1]}
+ - {name: bond1, members: [eth2]}
- name: Remove aggregate of linkagg definitions
- vyos_linkagg:
+ vyos.vyos.vyos_linkagg:
aggregate:
- - name: bond0
- - name: bond1
+ - name: bond0
+ - name: bond1
state: absent
"""