Pluribus Networks old modules to be deprecated (#51686)
* Pluribus Networks old modules to be deprecated * Dox fixes
This commit is contained in:
parent
48edffac60
commit
a003de239d
11 changed files with 83 additions and 18 deletions
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||||
'status': ['preview'],
|
'status': ['deprecated'],
|
||||||
'supported_by': 'community'}
|
'supported_by': 'community'}
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ module: pn_cluster
|
||||||
author: "Pluribus Networks (@amitsi)"
|
author: "Pluribus Networks (@amitsi)"
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
short_description: CLI command to create/delete a cluster.
|
short_description: CLI command to create/delete a cluster.
|
||||||
|
deprecated:
|
||||||
|
removed_in: '2.12'
|
||||||
|
why: Doesn't support latest Pluribus Networks netvisor
|
||||||
|
alternative: Latest modules will be pushed in Ansible future versions.
|
||||||
description:
|
description:
|
||||||
- Execute cluster-create or cluster-delete command.
|
- Execute cluster-create or cluster-delete command.
|
||||||
- A cluster allows two switches to cooperate in high-availability (HA)
|
- A cluster allows two switches to cooperate in high-availability (HA)
|
||||||
|
@ -50,6 +54,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Target switch to run the cli on.
|
- Target switch to run the cli on.
|
||||||
required: False
|
required: False
|
||||||
|
default: 'local'
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Specify action to perform. Use 'present' to create cluster and 'absent'
|
- Specify action to perform. Use 'present' to create cluster and 'absent'
|
||||||
|
@ -81,7 +86,7 @@ EXAMPLES = """
|
||||||
pn_name: 'spine-cluster'
|
pn_name: 'spine-cluster'
|
||||||
pn_cluster_node1: 'spine01'
|
pn_cluster_node1: 'spine01'
|
||||||
pn_cluster_node2: 'spine02'
|
pn_cluster_node2: 'spine02'
|
||||||
pn_validate: validate
|
pn_validate: True
|
||||||
pn_quiet: True
|
pn_quiet: True
|
||||||
|
|
||||||
- name: delete spine cluster
|
- name: delete spine cluster
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||||
'status': ['preview'],
|
'status': ['deprecated'],
|
||||||
'supported_by': 'community'}
|
'supported_by': 'community'}
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ module: pn_ospf
|
||||||
author: "Pluribus Networks (@amitsi)"
|
author: "Pluribus Networks (@amitsi)"
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
short_description: CLI command to add/remove ospf protocol to a vRouter.
|
short_description: CLI command to add/remove ospf protocol to a vRouter.
|
||||||
|
deprecated:
|
||||||
|
removed_in: '2.12'
|
||||||
|
why: Doesn't support latest Pluribus Networks netvisor
|
||||||
|
alternative: Latest modules will be pushed in Ansible future versions.
|
||||||
description:
|
description:
|
||||||
- Execute vrouter-ospf-add, vrouter-ospf-remove command.
|
- Execute vrouter-ospf-add, vrouter-ospf-remove command.
|
||||||
- This command adds/removes Open Shortest Path First(OSPF) routing
|
- This command adds/removes Open Shortest Path First(OSPF) routing
|
||||||
|
@ -46,6 +50,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Target switch to run the CLI on.
|
- Target switch to run the CLI on.
|
||||||
required: False
|
required: False
|
||||||
|
default: 'local'
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Assert the state of the ospf. Use 'present' to add ospf
|
- Assert the state of the ospf. Use 'present' to add ospf
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||||
'status': ['preview'],
|
'status': ['deprecated'],
|
||||||
'supported_by': 'community'}
|
'supported_by': 'community'}
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ module: pn_ospfarea
|
||||||
author: "Pluribus Networks (@amitsi)"
|
author: "Pluribus Networks (@amitsi)"
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
short_description: CLI command to add/remove ospf area to/from a vrouter.
|
short_description: CLI command to add/remove ospf area to/from a vrouter.
|
||||||
|
deprecated:
|
||||||
|
removed_in: '2.12'
|
||||||
|
why: Doesn't support latest Pluribus Networks netvisor
|
||||||
|
alternative: Latest modules will be pushed in Ansible future versions.
|
||||||
description:
|
description:
|
||||||
- Execute vrouter-ospf-add, vrouter-ospf-remove command.
|
- Execute vrouter-ospf-add, vrouter-ospf-remove command.
|
||||||
- This command adds/removes Open Shortest Path First(OSPF) area to/from
|
- This command adds/removes Open Shortest Path First(OSPF) area to/from
|
||||||
|
@ -74,8 +78,8 @@ options:
|
||||||
description:
|
description:
|
||||||
- Enable/disable system information.
|
- Enable/disable system information.
|
||||||
required: false
|
required: false
|
||||||
default: true
|
|
||||||
type: bool
|
type: bool
|
||||||
|
default: true
|
||||||
"""
|
"""
|
||||||
|
|
||||||
EXAMPLES = """
|
EXAMPLES = """
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||||
'status': ['preview'],
|
'status': ['deprecated'],
|
||||||
'supported_by': 'community'}
|
'supported_by': 'community'}
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ module: pn_show
|
||||||
author: "Pluribus Networks (@amitsi)"
|
author: "Pluribus Networks (@amitsi)"
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
short_description: Run show commands on nvOS device.
|
short_description: Run show commands on nvOS device.
|
||||||
|
deprecated:
|
||||||
|
removed_in: '2.12'
|
||||||
|
why: Doesn't support latest Pluribus Networks netvisor
|
||||||
|
alternative: Latest modules will be pushed in Ansible future versions.
|
||||||
description:
|
description:
|
||||||
- Execute show command in the nodes and returns the results
|
- Execute show command in the nodes and returns the results
|
||||||
read from the device.
|
read from the device.
|
||||||
|
@ -51,8 +55,9 @@ options:
|
||||||
required: true
|
required: true
|
||||||
pn_parameters:
|
pn_parameters:
|
||||||
description:
|
description:
|
||||||
- Display output using a specific parameter. Use 'all' to display possible
|
- Display output using a specific parameter. Use 'all' to display
|
||||||
output. List of comma separated parameters.
|
possible output. List of comma separated parameters.
|
||||||
|
default: 'all'
|
||||||
pn_options:
|
pn_options:
|
||||||
description:
|
description:
|
||||||
- Specify formatting options.
|
- Specify formatting options.
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||||
'status': ['preview'],
|
'status': ['deprecated'],
|
||||||
'supported_by': 'community'}
|
'supported_by': 'community'}
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ module: pn_trunk
|
||||||
author: "Pluribus Networks (@amitsi)"
|
author: "Pluribus Networks (@amitsi)"
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
short_description: CLI command to create/delete/modify a trunk.
|
short_description: CLI command to create/delete/modify a trunk.
|
||||||
|
deprecated:
|
||||||
|
removed_in: '2.12'
|
||||||
|
why: Doesn't support latest Pluribus Networks netvisor
|
||||||
|
alternative: Latest modules will be pushed in Ansible future versions.
|
||||||
description:
|
description:
|
||||||
- Execute trunk-create or trunk-delete command.
|
- Execute trunk-create or trunk-delete command.
|
||||||
- Trunks can be used to aggregate network links at Layer 2 on the local
|
- Trunks can be used to aggregate network links at Layer 2 on the local
|
||||||
|
@ -46,6 +50,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Target switch(es) to run the cli on.
|
- Target switch(es) to run the cli on.
|
||||||
required: False
|
required: False
|
||||||
|
default: 'local'
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- State the action to perform. Use 'present' to create trunk,
|
- State the action to perform. Use 'present' to create trunk,
|
||||||
|
@ -70,6 +75,7 @@ options:
|
||||||
pn_jumbo:
|
pn_jumbo:
|
||||||
description:
|
description:
|
||||||
- Specify if the port can receive jumbo frames.
|
- Specify if the port can receive jumbo frames.
|
||||||
|
type: bool
|
||||||
pn_lacp_mode:
|
pn_lacp_mode:
|
||||||
description:
|
description:
|
||||||
- Specify the LACP mode for the configuration.
|
- Specify the LACP mode for the configuration.
|
||||||
|
@ -94,18 +100,22 @@ options:
|
||||||
pn_edge_switch:
|
pn_edge_switch:
|
||||||
description:
|
description:
|
||||||
- Specify if the switch is an edge switch.
|
- Specify if the switch is an edge switch.
|
||||||
|
type: bool
|
||||||
pn_pause:
|
pn_pause:
|
||||||
description:
|
description:
|
||||||
- Specify if pause frames are sent.
|
- Specify if pause frames are sent.
|
||||||
|
type: bool
|
||||||
pn_description:
|
pn_description:
|
||||||
description:
|
description:
|
||||||
- Specify a description for the trunk configuration.
|
- Specify a description for the trunk configuration.
|
||||||
pn_loopback:
|
pn_loopback:
|
||||||
description:
|
description:
|
||||||
- Specify loopback if you want to use loopback.
|
- Specify loopback if you want to use loopback.
|
||||||
|
type: bool
|
||||||
pn_mirror_receive:
|
pn_mirror_receive:
|
||||||
description:
|
description:
|
||||||
- Specify if the configuration receives mirrored traffic.
|
- Specify if the configuration receives mirrored traffic.
|
||||||
|
type: bool
|
||||||
pn_unknown_ucast_level:
|
pn_unknown_ucast_level:
|
||||||
description:
|
description:
|
||||||
- Specify an unknown unicast level in percent. The default value is 100%.
|
- Specify an unknown unicast level in percent. The default value is 100%.
|
||||||
|
@ -124,9 +134,11 @@ options:
|
||||||
pn_routing:
|
pn_routing:
|
||||||
description:
|
description:
|
||||||
- Specify if the port participates in routing on the network.
|
- Specify if the port participates in routing on the network.
|
||||||
|
type: bool
|
||||||
pn_host:
|
pn_host:
|
||||||
description:
|
description:
|
||||||
- Host facing port control setting.
|
- Host facing port control setting.
|
||||||
|
type: bool
|
||||||
"""
|
"""
|
||||||
|
|
||||||
EXAMPLES = """
|
EXAMPLES = """
|
||||||
|
@ -294,7 +306,7 @@ def main():
|
||||||
pn_lacp_mode=dict(type='str', choices=[
|
pn_lacp_mode=dict(type='str', choices=[
|
||||||
'off', 'passive', 'active']),
|
'off', 'passive', 'active']),
|
||||||
pn_lacp_priority=dict(type='int'),
|
pn_lacp_priority=dict(type='int'),
|
||||||
pn_lacp_timeout=dict(type='str'),
|
pn_lacp_timeout=dict(type='str', choices=['slow', 'fast']),
|
||||||
pn_lacp_fallback=dict(type='str', choices=[
|
pn_lacp_fallback=dict(type='str', choices=[
|
||||||
'bundle', 'individual']),
|
'bundle', 'individual']),
|
||||||
pn_lacp_fallback_timeout=dict(type='str'),
|
pn_lacp_fallback_timeout=dict(type='str'),
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||||
'status': ['preview'],
|
'status': ['deprecated'],
|
||||||
'supported_by': 'community'}
|
'supported_by': 'community'}
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ module: pn_vlag
|
||||||
author: "Pluribus Networks (@amitsi)"
|
author: "Pluribus Networks (@amitsi)"
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
short_description: CLI command to create/delete/modify vlag.
|
short_description: CLI command to create/delete/modify vlag.
|
||||||
|
deprecated:
|
||||||
|
removed_in: '2.12'
|
||||||
|
why: Doesn't support latest Pluribus Networks netvisor
|
||||||
|
alternative: Latest modules will be pushed in Ansible future versions.
|
||||||
description:
|
description:
|
||||||
- Execute vlag-create/vlag-delete/vlag-modify command.
|
- Execute vlag-create/vlag-delete/vlag-modify command.
|
||||||
- A virtual link aggregation group (VLAG) allows links that are physically
|
- A virtual link aggregation group (VLAG) allows links that are physically
|
||||||
|
@ -49,6 +53,7 @@ options:
|
||||||
pn_cliswitch:
|
pn_cliswitch:
|
||||||
description:
|
description:
|
||||||
- Target switch(es) to run this command on.
|
- Target switch(es) to run this command on.
|
||||||
|
default: 'local'
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- State the action to perform. Use 'present' to create vlag,
|
- State the action to perform. Use 'present' to create vlag,
|
||||||
|
@ -267,7 +272,7 @@ def main():
|
||||||
'off', 'passive', 'active']),
|
'off', 'passive', 'active']),
|
||||||
pn_lacp_timeout=dict(type='str', choices=['slow', 'fast']),
|
pn_lacp_timeout=dict(type='str', choices=['slow', 'fast']),
|
||||||
pn_lacp_fallback=dict(type='str', choices=[
|
pn_lacp_fallback=dict(type='str', choices=[
|
||||||
'individual', 'bundled']),
|
'bundle', 'individual']),
|
||||||
pn_lacp_fallback_timeout=dict(type='str')
|
pn_lacp_fallback_timeout=dict(type='str')
|
||||||
),
|
),
|
||||||
required_if=(
|
required_if=(
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||||
'status': ['preview'],
|
'status': ['deprecated'],
|
||||||
'supported_by': 'community'}
|
'supported_by': 'community'}
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ module: pn_vlan
|
||||||
author: "Pluribus Networks (@amitsi)"
|
author: "Pluribus Networks (@amitsi)"
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
short_description: CLI command to create/delete a VLAN.
|
short_description: CLI command to create/delete a VLAN.
|
||||||
|
deprecated:
|
||||||
|
removed_in: '2.12'
|
||||||
|
why: Doesn't support latest Pluribus Networks netvisor
|
||||||
|
alternative: Latest modules will be pushed in Ansible future versions.
|
||||||
description:
|
description:
|
||||||
- Execute vlan-create or vlan-delete command.
|
- Execute vlan-create or vlan-delete command.
|
||||||
- VLANs are used to isolate network traffic at Layer 2.The VLAN identifiers
|
- VLANs are used to isolate network traffic at Layer 2.The VLAN identifiers
|
||||||
|
@ -47,6 +51,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Target switch(es) to run the cli on.
|
- Target switch(es) to run the cli on.
|
||||||
required: False
|
required: False
|
||||||
|
default: 'local'
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- State the action to perform. Use 'present' to create vlan and
|
- State the action to perform. Use 'present' to create vlan and
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||||
'status': ['preview'],
|
'status': ['deprecated'],
|
||||||
'supported_by': 'community'}
|
'supported_by': 'community'}
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ module: pn_vrouter
|
||||||
author: "Pluribus Networks (@amitsi)"
|
author: "Pluribus Networks (@amitsi)"
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
short_description: CLI command to create/delete/modify a vrouter.
|
short_description: CLI command to create/delete/modify a vrouter.
|
||||||
|
deprecated:
|
||||||
|
removed_in: '2.12'
|
||||||
|
why: Doesn't support latest Pluribus Networks netvisor
|
||||||
|
alternative: Latest modules will be pushed in Ansible future versions.
|
||||||
description:
|
description:
|
||||||
- Execute vrouter-create, vrouter-delete, vrouter-modify command.
|
- Execute vrouter-create, vrouter-delete, vrouter-modify command.
|
||||||
- Each fabric, cluster, standalone switch, or virtual network (VNET) can
|
- Each fabric, cluster, standalone switch, or virtual network (VNET) can
|
||||||
|
@ -50,6 +54,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Target switch(es) to run the CLI on.
|
- Target switch(es) to run the CLI on.
|
||||||
required: False
|
required: False
|
||||||
|
default: 'local'
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- State the action to perform. Use 'present' to create vrouter,
|
- State the action to perform. Use 'present' to create vrouter,
|
||||||
|
@ -112,6 +117,9 @@ options:
|
||||||
description:
|
description:
|
||||||
- Specify other OSPF options as a whitespaces separated string within
|
- Specify other OSPF options as a whitespaces separated string within
|
||||||
single quotes ''.
|
single quotes ''.
|
||||||
|
pn_vrrp_track_port:
|
||||||
|
description:
|
||||||
|
- Specify list of ports and port ranges.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
EXAMPLES = """
|
EXAMPLES = """
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||||
'status': ['preview'],
|
'status': ['deprecated'],
|
||||||
'supported_by': 'community'}
|
'supported_by': 'community'}
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ module: pn_vrouterbgp
|
||||||
author: "Pluribus Networks (@amitsi)"
|
author: "Pluribus Networks (@amitsi)"
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
short_description: CLI command to add/remove/modify vrouter-bgp.
|
short_description: CLI command to add/remove/modify vrouter-bgp.
|
||||||
|
deprecated:
|
||||||
|
removed_in: '2.12'
|
||||||
|
why: Doesn't support latest Pluribus Networks netvisor
|
||||||
|
alternative: Latest modules will be pushed in Ansible future versions.
|
||||||
description:
|
description:
|
||||||
- Execute vrouter-bgp-add, vrouter-bgp-remove, vrouter-bgp-modify command.
|
- Execute vrouter-bgp-add, vrouter-bgp-remove, vrouter-bgp-modify command.
|
||||||
- Each fabric, cluster, standalone switch, or virtual network (VNET) can
|
- Each fabric, cluster, standalone switch, or virtual network (VNET) can
|
||||||
|
@ -47,6 +51,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Target switch(es) to run the cli on.
|
- Target switch(es) to run the cli on.
|
||||||
required: False
|
required: False
|
||||||
|
default: 'local'
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- State the action to perform. Use 'present' to add bgp,
|
- State the action to perform. Use 'present' to add bgp,
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||||
'status': ['preview'],
|
'status': ['deprecated'],
|
||||||
'supported_by': 'community'}
|
'supported_by': 'community'}
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ module: pn_vrouterif
|
||||||
author: "Pluribus Networks (@amitsi)"
|
author: "Pluribus Networks (@amitsi)"
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
short_description: CLI command to add/remove/modify vrouter-interface.
|
short_description: CLI command to add/remove/modify vrouter-interface.
|
||||||
|
deprecated:
|
||||||
|
removed_in: '2.12'
|
||||||
|
why: Doesn't support latest Pluribus Networks netvisor
|
||||||
|
alternative: Latest modules will be pushed in Ansible future versions.
|
||||||
description:
|
description:
|
||||||
- Execute vrouter-interface-add, vrouter-interface-remove,
|
- Execute vrouter-interface-add, vrouter-interface-remove,
|
||||||
vrouter-interface-modify command.
|
vrouter-interface-modify command.
|
||||||
|
@ -47,6 +51,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Target switch to run the cli on.
|
- Target switch to run the cli on.
|
||||||
required: False
|
required: False
|
||||||
|
default: 'local'
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- State the action to perform. Use 'present' to add vrouter interface,
|
- State the action to perform. Use 'present' to add vrouter interface,
|
||||||
|
@ -85,6 +90,7 @@ options:
|
||||||
specified when you configure the interface as span interface and allows
|
specified when you configure the interface as span interface and allows
|
||||||
higher throughput through the interface.
|
higher throughput through the interface.
|
||||||
type: bool
|
type: bool
|
||||||
|
required: False
|
||||||
pn_nic_enable:
|
pn_nic_enable:
|
||||||
description:
|
description:
|
||||||
- Specify if the NIC is enabled or not
|
- Specify if the NIC is enabled or not
|
||||||
|
@ -353,7 +359,7 @@ def main():
|
||||||
pn_clipassword=dict(required=False, type='str', no_log=True),
|
pn_clipassword=dict(required=False, type='str', no_log=True),
|
||||||
pn_cliswitch=dict(required=False, type='str', default='local'),
|
pn_cliswitch=dict(required=False, type='str', default='local'),
|
||||||
state=dict(required=True, type='str',
|
state=dict(required=True, type='str',
|
||||||
choices=['present', 'absent']),
|
choices=['present', 'absent', 'update']),
|
||||||
pn_vrouter_name=dict(required=True, type='str'),
|
pn_vrouter_name=dict(required=True, type='str'),
|
||||||
pn_vlan=dict(type='int'),
|
pn_vlan=dict(type='int'),
|
||||||
pn_interface_ip=dict(required=True, type='str'),
|
pn_interface_ip=dict(required=True, type='str'),
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||||
'status': ['preview'],
|
'status': ['deprecated'],
|
||||||
'supported_by': 'community'}
|
'supported_by': 'community'}
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ module: pn_vrouterlbif
|
||||||
author: "Pluribus Networks (@amitsi)"
|
author: "Pluribus Networks (@amitsi)"
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
short_description: CLI command to add/remove vrouter-loopback-interface.
|
short_description: CLI command to add/remove vrouter-loopback-interface.
|
||||||
|
deprecated:
|
||||||
|
removed_in: '2.12'
|
||||||
|
why: Doesn't support latest Pluribus Networks netvisor
|
||||||
|
alternative: Latest modules will be pushed in Ansible future versions.
|
||||||
description:
|
description:
|
||||||
- Execute vrouter-loopback-interface-add, vrouter-loopback-interface-remove
|
- Execute vrouter-loopback-interface-add, vrouter-loopback-interface-remove
|
||||||
commands.
|
commands.
|
||||||
|
@ -48,6 +52,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Target switch(es) to run the cli on.
|
- Target switch(es) to run the cli on.
|
||||||
required: False
|
required: False
|
||||||
|
default: 'local'
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- State the action to perform. Use 'present' to add vrouter loopback
|
- State the action to perform. Use 'present' to add vrouter loopback
|
Loading…
Reference in a new issue