mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Clean up module documentation (#36909)
* Clean up module documentation This PR includes: - Removal of `default: None` (and variations) - Removal of `required: false` - Fixing booleans and `type: bool` where required * Fix remaining (new) validation issues
This commit is contained in:
parent
58eb2e849d
commit
cdd21e2170
624 changed files with 1458 additions and 9114 deletions
|
@ -33,69 +33,48 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
authen_scheme_name:
|
||||
description:
|
||||
- Name of an authentication scheme.
|
||||
The value is a string of 1 to 32 characters.
|
||||
required: false
|
||||
default: null
|
||||
first_authen_mode:
|
||||
description:
|
||||
- Preferred authentication mode.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['invalid', 'local', 'hwtacacs', 'radius', 'none']
|
||||
author_scheme_name:
|
||||
description:
|
||||
- Name of an authorization scheme.
|
||||
The value is a string of 1 to 32 characters.
|
||||
required: false
|
||||
default: null
|
||||
first_author_mode:
|
||||
description:
|
||||
- Preferred authorization mode.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['invalid', 'local', 'hwtacacs', 'if-authenticated', 'none']
|
||||
acct_scheme_name:
|
||||
description:
|
||||
- Accounting scheme name.
|
||||
The value is a string of 1 to 32 characters.
|
||||
required: false
|
||||
default: null
|
||||
accounting_mode:
|
||||
description:
|
||||
- Accounting Mode.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['invalid', 'hwtacacs', 'radius', 'none']
|
||||
domain_name:
|
||||
description:
|
||||
- Name of a domain.
|
||||
The value is a string of 1 to 64 characters.
|
||||
required: false
|
||||
default: null
|
||||
radius_server_group:
|
||||
description:
|
||||
- RADIUS server group's name.
|
||||
The value is a string of 1 to 32 case-insensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
hwtacas_template:
|
||||
description:
|
||||
- Name of a HWTACACS template.
|
||||
The value is a string of 1 to 32 case-insensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
local_user_group:
|
||||
description:
|
||||
- Name of the user group where the user belongs. The user inherits all the rights of the user group.
|
||||
The value is a string of 1 to 32 characters.
|
||||
required: false
|
||||
default: null
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -33,138 +33,95 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
local_user_name:
|
||||
description:
|
||||
- Name of a local user.
|
||||
The value is a string of 1 to 253 characters.
|
||||
required: false
|
||||
default: null
|
||||
local_password:
|
||||
description:
|
||||
- Login password of a user. The password can contain letters, numbers, and special characters.
|
||||
The value is a string of 1 to 255 characters.
|
||||
required: false
|
||||
default: null
|
||||
local_service_type:
|
||||
description:
|
||||
- The type of local user login through, such as ftp ssh snmp telnet.
|
||||
required: false
|
||||
default: null
|
||||
local_ftp_dir:
|
||||
description:
|
||||
- FTP user directory.
|
||||
The value is a string of 1 to 255 characters.
|
||||
required: false
|
||||
default: null
|
||||
local_user_level:
|
||||
description:
|
||||
- Login level of a local user.
|
||||
The value is an integer ranging from 0 to 15.
|
||||
required: false
|
||||
default: null
|
||||
local_user_group:
|
||||
description:
|
||||
- Name of the user group where the user belongs. The user inherits all the rights of the user group.
|
||||
The value is a string of 1 to 32 characters.
|
||||
required: false
|
||||
default: null
|
||||
radius_group_name:
|
||||
description:
|
||||
- RADIUS server group's name.
|
||||
The value is a string of 1 to 32 case-insensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
radius_server_type:
|
||||
description:
|
||||
- Type of Radius Server.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['Authentication', 'Accounting']
|
||||
radius_server_ip:
|
||||
description:
|
||||
- IPv4 address of configured server.
|
||||
The value is a string of 0 to 255 characters, in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
radius_server_ipv6:
|
||||
description:
|
||||
- IPv6 address of configured server.
|
||||
The total length is 128 bits.
|
||||
required: false
|
||||
default: null
|
||||
radius_server_port:
|
||||
description:
|
||||
- Configured server port for a particular server.
|
||||
The value is an integer ranging from 1 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
radius_server_mode:
|
||||
description:
|
||||
- Configured primary or secondary server for a particular server.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['Secondary-server', 'Primary-server']
|
||||
radius_vpn_name:
|
||||
description:
|
||||
- Set VPN instance.
|
||||
The value is a string of 1 to 31 case-sensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
radius_server_name:
|
||||
description:
|
||||
- Hostname of configured server.
|
||||
The value is a string of 0 to 255 case-sensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
hwtacacs_template:
|
||||
description:
|
||||
- Name of a HWTACACS template.
|
||||
The value is a string of 1 to 32 case-insensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
hwtacacs_server_ip:
|
||||
description:
|
||||
- Server IPv4 address. Must be a valid unicast IP address.
|
||||
The value is a string of 0 to 255 characters, in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
hwtacacs_server_ipv6:
|
||||
description:
|
||||
- Server IPv6 address. Must be a valid unicast IP address.
|
||||
The total length is 128 bits.
|
||||
required: false
|
||||
default: null
|
||||
hwtacacs_server_type:
|
||||
description:
|
||||
- Hwtacacs server type.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['Authentication', 'Authorization', 'Accounting', 'Common']
|
||||
hwtacacs_is_secondary_server:
|
||||
description:
|
||||
- Whether the server is secondary.
|
||||
required: false
|
||||
default: false
|
||||
choices: ['true', 'false']
|
||||
type: bool
|
||||
default: 'no'
|
||||
hwtacacs_vpn_name:
|
||||
description:
|
||||
- VPN instance name.
|
||||
required: false
|
||||
default: null
|
||||
hwtacacs_is_public_net:
|
||||
description:
|
||||
- Set the public-net.
|
||||
required: false
|
||||
default: false
|
||||
choices: ['true', 'false']
|
||||
type: bool
|
||||
default: 'no'
|
||||
hwtacacs_server_host_name:
|
||||
description:
|
||||
- Hwtacacs server host name.
|
||||
required: false
|
||||
default: null
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -33,7 +33,6 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent','delete_acl']
|
||||
acl_name:
|
||||
|
@ -47,84 +46,59 @@ options:
|
|||
description:
|
||||
- ACL number.
|
||||
The value is an integer ranging from 2000 to 2999.
|
||||
required: false
|
||||
default: null
|
||||
acl_step:
|
||||
description:
|
||||
- ACL step.
|
||||
The value is an integer ranging from 1 to 20. The default value is 5.
|
||||
required: false
|
||||
default: null
|
||||
acl_description:
|
||||
description:
|
||||
- ACL description.
|
||||
The value is a string of 1 to 127 characters.
|
||||
required: false
|
||||
default: null
|
||||
rule_name:
|
||||
description:
|
||||
- Name of a basic ACL rule.
|
||||
The value is a string of 1 to 32 characters.
|
||||
The value is case-insensitive, and cannot contain spaces or begin with an underscore (_).
|
||||
required: false
|
||||
default: null
|
||||
rule_id:
|
||||
description:
|
||||
- ID of a basic ACL rule in configuration mode.
|
||||
The value is an integer ranging from 0 to 4294967294.
|
||||
required: false
|
||||
default: null
|
||||
rule_action:
|
||||
description:
|
||||
- Matching mode of basic ACL rules.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['permit','deny']
|
||||
source_ip:
|
||||
description:
|
||||
- Source IP address.
|
||||
The value is a string of 0 to 255 characters.The default value is 0.0.0.0.
|
||||
The value is in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
src_mask:
|
||||
description:
|
||||
- Mask of a source IP address.
|
||||
The value is an integer ranging from 1 to 32.
|
||||
required: false
|
||||
default: null
|
||||
frag_type:
|
||||
description:
|
||||
- Type of packet fragmentation.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['fragment', 'clear_fragment']
|
||||
vrf_name:
|
||||
description:
|
||||
- VPN instance name.
|
||||
The value is a string of 1 to 31 characters.The default value is _public_.
|
||||
required: false
|
||||
default: null
|
||||
time_range:
|
||||
description:
|
||||
- Name of a time range in which an ACL rule takes effect.
|
||||
The value is a string of 1 to 32 characters.
|
||||
The value is case-insensitive, and cannot contain spaces. The name must start with an uppercase
|
||||
or lowercase letter. In addition, the word "all" cannot be specified as a time range name.
|
||||
required: false
|
||||
default: null
|
||||
rule_description:
|
||||
description:
|
||||
- Description about an ACL rule.
|
||||
The value is a string of 1 to 127 characters.
|
||||
required: false
|
||||
default: null
|
||||
log_flag:
|
||||
description:
|
||||
- Flag of logging matched data packets.
|
||||
required: false
|
||||
default: false
|
||||
choices: ['true', 'false']
|
||||
type: bool
|
||||
default: 'no'
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -47,159 +47,107 @@ options:
|
|||
description:
|
||||
- ACL number.
|
||||
The value is an integer ranging from 3000 to 3999.
|
||||
required: false
|
||||
default: null
|
||||
acl_step:
|
||||
description:
|
||||
- ACL step.
|
||||
The value is an integer ranging from 1 to 20. The default value is 5.
|
||||
required: false
|
||||
default: null
|
||||
acl_description:
|
||||
description:
|
||||
- ACL description.
|
||||
The value is a string of 1 to 127 characters.
|
||||
required: false
|
||||
default: null
|
||||
rule_name:
|
||||
description:
|
||||
- Name of a basic ACL rule.
|
||||
The value is a string of 1 to 32 characters.
|
||||
required: false
|
||||
default: null
|
||||
rule_id:
|
||||
description:
|
||||
- ID of a basic ACL rule in configuration mode.
|
||||
The value is an integer ranging from 0 to 4294967294.
|
||||
required: false
|
||||
default: null
|
||||
rule_action:
|
||||
description:
|
||||
- Matching mode of basic ACL rules.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['permit','deny']
|
||||
protocol:
|
||||
description:
|
||||
- Protocol type.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['ip', 'icmp', 'igmp', 'ipinip', 'tcp', 'udp', 'gre', 'ospf']
|
||||
source_ip:
|
||||
description:
|
||||
- Source IP address.
|
||||
The value is a string of 0 to 255 characters.The default value is 0.0.0.0.
|
||||
The value is in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
src_mask:
|
||||
description:
|
||||
- Source IP address mask.
|
||||
The value is an integer ranging from 1 to 32.
|
||||
required: false
|
||||
default: null
|
||||
src_pool_name:
|
||||
description:
|
||||
- Name of a source pool.
|
||||
The value is a string of 1 to 32 characters.
|
||||
required: false
|
||||
default: null
|
||||
dest_ip:
|
||||
description:
|
||||
- Destination IP address.
|
||||
The value is a string of 0 to 255 characters.The default value is 0.0.0.0.
|
||||
The value is in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
dest_mask:
|
||||
description:
|
||||
- Destination IP address mask.
|
||||
The value is an integer ranging from 1 to 32.
|
||||
required: false
|
||||
default: null
|
||||
dest_pool_name:
|
||||
description:
|
||||
- Name of a destination pool.
|
||||
The value is a string of 1 to 32 characters.
|
||||
required: false
|
||||
default: null
|
||||
src_port_op:
|
||||
description:
|
||||
- Range type of the source port.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['lt','eq', 'gt', 'range']
|
||||
src_port_begin:
|
||||
description:
|
||||
- Start port number of the source port.
|
||||
The value is an integer ranging from 0 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
src_port_end:
|
||||
description:
|
||||
- End port number of the source port.
|
||||
The value is an integer ranging from 0 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
src_port_pool_name:
|
||||
description:
|
||||
- Name of a source port pool.
|
||||
The value is a string of 1 to 32 characters.
|
||||
required: false
|
||||
default: null
|
||||
dest_port_op:
|
||||
description:
|
||||
- Range type of the destination port.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['lt','eq', 'gt', 'range']
|
||||
dest_port_begin:
|
||||
description:
|
||||
- Start port number of the destination port.
|
||||
The value is an integer ranging from 0 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
dest_port_end:
|
||||
description:
|
||||
- End port number of the destination port.
|
||||
The value is an integer ranging from 0 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
dest_port_pool_name:
|
||||
description:
|
||||
- Name of a destination port pool.
|
||||
The value is a string of 1 to 32 characters.
|
||||
required: false
|
||||
default: null
|
||||
frag_type:
|
||||
description:
|
||||
- Type of packet fragmentation.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['fragment', 'clear_fragment']
|
||||
precedence:
|
||||
description:
|
||||
- Data packets can be filtered based on the priority field.
|
||||
The value is an integer ranging from 0 to 7.
|
||||
required: false
|
||||
default: null
|
||||
tos:
|
||||
description:
|
||||
- ToS value on which data packet filtering is based.
|
||||
The value is an integer ranging from 0 to 15.
|
||||
required: false
|
||||
default: null
|
||||
dscp:
|
||||
description:
|
||||
- Differentiated Services Code Point.
|
||||
The value is an integer ranging from 0 to 63.
|
||||
required: false
|
||||
default: null
|
||||
icmp_name:
|
||||
description:
|
||||
- ICMP name.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['unconfiged', 'echo', 'echo-reply', 'fragmentneed-DFset', 'host-redirect',
|
||||
'host-tos-redirect', 'host-unreachable', 'information-reply', 'information-request',
|
||||
'net-redirect', 'net-tos-redirect', 'net-unreachable', 'parameter-problem',
|
||||
|
@ -210,67 +158,48 @@ options:
|
|||
description:
|
||||
- ICMP type. This parameter is available only when the packet protocol is ICMP.
|
||||
The value is an integer ranging from 0 to 255.
|
||||
required: false
|
||||
default: null
|
||||
icmp_code:
|
||||
description:
|
||||
- ICMP message code. Data packets can be filtered based on the ICMP message code.
|
||||
The value is an integer ranging from 0 to 255.
|
||||
required: false
|
||||
default: null
|
||||
ttl_expired:
|
||||
description:
|
||||
- Whether TTL Expired is matched, with the TTL value of 1.
|
||||
required: false
|
||||
default: false
|
||||
choices: ['true', 'false']
|
||||
type: bool
|
||||
default: 'no'
|
||||
vrf_name:
|
||||
description:
|
||||
- VPN instance name.
|
||||
The value is a string of 1 to 31 characters.The default value is _public_.
|
||||
required: false
|
||||
default: null
|
||||
syn_flag:
|
||||
description:
|
||||
- TCP flag value.
|
||||
The value is an integer ranging from 0 to 63.
|
||||
required: false
|
||||
default: null
|
||||
tcp_flag_mask:
|
||||
description:
|
||||
- TCP flag mask value.
|
||||
The value is an integer ranging from 0 to 63.
|
||||
required: false
|
||||
default: null
|
||||
established:
|
||||
description:
|
||||
- Match established connections.
|
||||
required: false
|
||||
default: false
|
||||
choices: ['true', 'false']
|
||||
type: bool
|
||||
default: 'no'
|
||||
time_range:
|
||||
description:
|
||||
- Name of a time range in which an ACL rule takes effect.
|
||||
required: false
|
||||
default: null
|
||||
rule_description:
|
||||
description:
|
||||
- Description about an ACL rule.
|
||||
required: false
|
||||
default: null
|
||||
igmp_type:
|
||||
description:
|
||||
- Internet Group Management Protocol.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['host-query', 'mrouter-adver', 'mrouter-solic', 'mrouter-termi', 'mtrace-resp', 'mtrace-route',
|
||||
'v1host-report', 'v2host-report', 'v2leave-group', 'v3host-report']
|
||||
log_flag:
|
||||
description:
|
||||
- Flag of logging matched data packets.
|
||||
required: false
|
||||
default: false
|
||||
choices: ['true', 'false']
|
||||
type: bool
|
||||
default: 'no'
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -32,61 +32,44 @@ options:
|
|||
bfd_enable:
|
||||
description:
|
||||
- Enables the global Bidirectional Forwarding Detection (BFD) function.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
default_ip:
|
||||
description:
|
||||
- Specifies the default multicast IP address.
|
||||
The value ranges from 224.0.0.107 to 224.0.0.250.
|
||||
required: false
|
||||
default: null
|
||||
tos_exp_dynamic:
|
||||
description:
|
||||
- Indicates the priority of BFD control packets for dynamic BFD sessions.
|
||||
The value is an integer ranging from 0 to 7.
|
||||
The default priority is 7, which is the highest priority of BFD control packets.
|
||||
required: false
|
||||
default: null
|
||||
tos_exp_static:
|
||||
description:
|
||||
- Indicates the priority of BFD control packets for static BFD sessions.
|
||||
The value is an integer ranging from 0 to 7.
|
||||
The default priority is 7, which is the highest priority of BFD control packets.
|
||||
required: false
|
||||
default: null
|
||||
damp_init_wait_time:
|
||||
description:
|
||||
- Specifies an initial flapping suppression time for a BFD session.
|
||||
The value is an integer ranging from 1 to 3600000, in milliseconds.
|
||||
The default value is 2000.
|
||||
required: false
|
||||
default: null
|
||||
damp_max_wait_time:
|
||||
description:
|
||||
- Specifies a maximum flapping suppression time for a BFD session.
|
||||
The value is an integer ranging from 1 to 3600000, in milliseconds.
|
||||
The default value is 15000.
|
||||
required: false
|
||||
default: null
|
||||
damp_second_wait_time:
|
||||
description:
|
||||
- Specifies a secondary flapping suppression time for a BFD session.
|
||||
The value is an integer ranging from 1 to 3600000, in milliseconds.
|
||||
The default value is 5000.
|
||||
required: false
|
||||
default: null
|
||||
delay_up_time:
|
||||
description:
|
||||
- Specifies the delay before a BFD session becomes Up.
|
||||
The value is an integer ranging from 1 to 600, in seconds.
|
||||
The default value is 0, indicating that a BFD session immediately becomes Up.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Determines whether the config should be present or not on the device.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
"""
|
||||
|
|
|
@ -35,55 +35,41 @@ options:
|
|||
- Specifies the name of a BFD session.
|
||||
The value is a string of 1 to 15 case-sensitive characters without spaces.
|
||||
required: true
|
||||
default: null
|
||||
create_type:
|
||||
description:
|
||||
- BFD session creation mode, the currently created BFD session
|
||||
only supports static or static auto-negotiation mode.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['static', 'auto']
|
||||
addr_type:
|
||||
description:
|
||||
- Specifies the peer IP address type.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['ipv4']
|
||||
out_if_name:
|
||||
description:
|
||||
- Specifies the type and number of the interface bound to the BFD session.
|
||||
required: false
|
||||
default: null
|
||||
dest_addr:
|
||||
description:
|
||||
- Specifies the peer IP address bound to the BFD session.
|
||||
required: false
|
||||
default: null
|
||||
src_addr:
|
||||
description:
|
||||
- Indicates the source IP address carried in BFD packets.
|
||||
required: false
|
||||
default: null
|
||||
vrf_name:
|
||||
description:
|
||||
- Specifies the name of a Virtual Private Network (VPN) instance that is bound to a BFD session.
|
||||
The value is a string of 1 to 31 case-sensitive characters, spaces not supported.
|
||||
When double quotation marks are used around the string, spaces are allowed in the string.
|
||||
The value _public_ is reserved and cannot be used as the VPN instance name.
|
||||
required: false
|
||||
default: null
|
||||
use_default_ip:
|
||||
description:
|
||||
- Indicates the default multicast IP address that is bound to a BFD session.
|
||||
By default, BFD uses the multicast IP address 224.0.0.184.
|
||||
You can set the multicast IP address by running the default-ip-address command.
|
||||
The value is a bool type.
|
||||
required: false
|
||||
default: false
|
||||
type: bool
|
||||
default: 'no'
|
||||
state:
|
||||
description:
|
||||
- Determines whether the config should be present or not on the device.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
"""
|
||||
|
|
|
@ -34,70 +34,53 @@ options:
|
|||
- Specifies the name of a BFD session.
|
||||
The value is a string of 1 to 15 case-sensitive characters without spaces.
|
||||
required: true
|
||||
default: null
|
||||
local_discr:
|
||||
description:
|
||||
- Specifies the local discriminator of a BFD session.
|
||||
The value is an integer that ranges from 1 to 16384.
|
||||
required: false
|
||||
default: null
|
||||
remote_discr:
|
||||
description:
|
||||
- Specifies the remote discriminator of a BFD session.
|
||||
The value is an integer that ranges from 1 to 4294967295.
|
||||
required: false
|
||||
default: null
|
||||
min_tx_interval:
|
||||
description:
|
||||
- Specifies the minimum interval for receiving BFD packets.
|
||||
The value is an integer that ranges from 50 to 1000, in milliseconds.
|
||||
required: false
|
||||
default: null
|
||||
min_rx_interval:
|
||||
description:
|
||||
- Specifies the minimum interval for sending BFD packets.
|
||||
The value is an integer that ranges from 50 to 1000, in milliseconds.
|
||||
required: false
|
||||
default: null
|
||||
detect_multi:
|
||||
description:
|
||||
- Specifies the local detection multiplier of a BFD session.
|
||||
The value is an integer that ranges from 3 to 50.
|
||||
required: false
|
||||
default: null
|
||||
wtr_interval:
|
||||
description:
|
||||
- Specifies the WTR time of a BFD session.
|
||||
The value is an integer that ranges from 1 to 60, in minutes.
|
||||
The default value is 0.
|
||||
required: false
|
||||
default: null
|
||||
tos_exp:
|
||||
description:
|
||||
- Specifies a priority for BFD control packets.
|
||||
The value is an integer ranging from 0 to 7.
|
||||
The default value is 7, which is the highest priority.
|
||||
required: false
|
||||
default: null
|
||||
admin_down:
|
||||
description:
|
||||
- Enables the BFD session to enter the AdminDown state.
|
||||
By default, a BFD session is enabled.
|
||||
The default value is bool type.
|
||||
required: false
|
||||
default: false
|
||||
type: bool
|
||||
default: 'no'
|
||||
description:
|
||||
description:
|
||||
- Specifies the description of a BFD session.
|
||||
The value is a string of 1 to 51 case-sensitive characters with spaces.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Determines whether the config should be present or not on the device.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
extends_documentation_fragment: ce
|
||||
"""
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -33,54 +33,41 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
as_number:
|
||||
description:
|
||||
- Local AS number.
|
||||
The value is a string of 1 to 11 characters.
|
||||
required: false
|
||||
default: null
|
||||
graceful_restart:
|
||||
description:
|
||||
- Enable GR of the BGP speaker in the specified address family, peer address, or peer group.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
time_wait_for_rib:
|
||||
description:
|
||||
- Period of waiting for the End-Of-RIB flag.
|
||||
The value is an integer ranging from 3 to 3000. The default value is 600.
|
||||
required: false
|
||||
default: null
|
||||
as_path_limit:
|
||||
description:
|
||||
- Maximum number of AS numbers in the AS_Path attribute. The default value is 255.
|
||||
required: false
|
||||
default: null
|
||||
check_first_as:
|
||||
description:
|
||||
- Check the first AS in the AS_Path of the update messages from EBGP peers.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
confed_id_number:
|
||||
description:
|
||||
- Confederation ID.
|
||||
The value is a string of 1 to 11 characters.
|
||||
required: false
|
||||
default: null
|
||||
confed_nonstanded:
|
||||
description:
|
||||
- Configure the device to be compatible with devices in a nonstandard confederation.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
bgp_rid_auto_sel:
|
||||
description:
|
||||
- The function to automatically select router IDs for all VPN BGP instances is enabled.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
keep_all_routes:
|
||||
|
@ -89,101 +76,73 @@ options:
|
|||
BGP connection setup.
|
||||
If the value is false, the system stores only BGP update messages that are received from peers and pass
|
||||
the configured import policy.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
memory_limit:
|
||||
description:
|
||||
- Support BGP RIB memory protection.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
gr_peer_reset:
|
||||
description:
|
||||
- Peer disconnection through GR.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
is_shutdown:
|
||||
description:
|
||||
- Interrupt BGP all neighbor.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
suppress_interval:
|
||||
description:
|
||||
- Suppress interval.
|
||||
required: false
|
||||
default: null
|
||||
hold_interval:
|
||||
description:
|
||||
- Hold interval.
|
||||
required: false
|
||||
default: null
|
||||
clear_interval:
|
||||
description:
|
||||
- Clear interval.
|
||||
required: false
|
||||
default: null
|
||||
confed_peer_as_num:
|
||||
description:
|
||||
- Confederation AS number, in two-byte or four-byte format.
|
||||
The value is a string of 1 to 11 characters.
|
||||
required: false
|
||||
default: null
|
||||
vrf_name:
|
||||
description:
|
||||
- Name of a BGP instance. The name is a case-sensitive string of characters.
|
||||
required: false
|
||||
default: null
|
||||
vrf_rid_auto_sel:
|
||||
description:
|
||||
- If the value is true, VPN BGP instances are enabled to automatically select router IDs.
|
||||
If the value is false, VPN BGP instances are disabled from automatically selecting router IDs.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
router_id:
|
||||
description:
|
||||
- ID of a router that is in IPv4 address format.
|
||||
required: false
|
||||
default: null
|
||||
keepalive_time:
|
||||
description:
|
||||
- If the value of a timer changes, the BGP peer relationship between the routers is disconnected.
|
||||
The value is an integer ranging from 0 to 21845. The default value is 60.
|
||||
required: false
|
||||
default: null
|
||||
hold_time:
|
||||
description:
|
||||
- Hold time, in seconds. The value of the hold time can be 0 or range from 3 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
min_hold_time:
|
||||
description:
|
||||
- Min hold time, in seconds. The value of the hold time can be 0 or range from 20 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
conn_retry_time:
|
||||
description:
|
||||
- ConnectRetry interval. The value is an integer, in seconds. The default value is 32s.
|
||||
required: false
|
||||
default: null
|
||||
ebgp_if_sensitive:
|
||||
description:
|
||||
- If the value is true, After the fast EBGP interface awareness function is enabled, EBGP sessions on
|
||||
an interface are deleted immediately when the interface goes Down.
|
||||
If the value is false, After the fast EBGP interface awareness function is enabled, EBGP sessions
|
||||
on an interface are not deleted immediately when the interface goes Down.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
default_af_type:
|
||||
description:
|
||||
- Type of a created address family, which can be IPv4 unicast or IPv6 unicast.
|
||||
The default type is IPv4 unicast.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['ipv4uni','ipv6uni']
|
||||
'''
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
vrf_name:
|
||||
|
@ -51,64 +50,50 @@ options:
|
|||
description:
|
||||
- Specify the maximum number of equal-cost IBGP routes.
|
||||
The value is an integer ranging from 1 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
ibgp_ecmp_nexthop_changed:
|
||||
description:
|
||||
- If the value is true, the next hop of an advertised route is changed to the advertiser itself in IBGP
|
||||
load-balancing scenarios.
|
||||
If the value is false, the next hop of an advertised route is not changed to the advertiser itself in
|
||||
IBGP load-balancing scenarios.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
max_load_ebgp_num:
|
||||
description:
|
||||
- Specify the maximum number of equal-cost EBGP routes.
|
||||
The value is an integer ranging from 1 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
ebgp_ecmp_nexthop_changed:
|
||||
description:
|
||||
- If the value is true, the next hop of an advertised route is changed to the advertiser itself in EBGP
|
||||
load-balancing scenarios.
|
||||
If the value is false, the next hop of an advertised route is not changed to the advertiser itself in
|
||||
EBGP load-balancing scenarios.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
maximum_load_balance:
|
||||
description:
|
||||
- Specify the maximum number of equal-cost routes in the BGP routing table.
|
||||
The value is an integer ranging from 1 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
ecmp_nexthop_changed:
|
||||
description:
|
||||
- If the value is true, the next hop of an advertised route is changed to the advertiser itself in BGP
|
||||
load-balancing scenarios.
|
||||
If the value is false, the next hop of an advertised route is not changed to the advertiser itself
|
||||
in BGP load-balancing scenarios.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
default_local_pref:
|
||||
description:
|
||||
- Set the Local-Preference attribute. The value is an integer.
|
||||
The value is an integer ranging from 0 to 4294967295.
|
||||
required: false
|
||||
default: null
|
||||
default_med:
|
||||
description:
|
||||
- Specify the Multi-Exit-Discriminator (MED) of BGP routes.
|
||||
The value is an integer ranging from 0 to 4294967295.
|
||||
required: false
|
||||
default: null
|
||||
default_rt_import_enable:
|
||||
description:
|
||||
- If the value is true, importing default routes to the BGP routing table is allowed.
|
||||
If the value is false, importing default routes to the BGP routing table is not allowed.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
router_id:
|
||||
|
@ -116,60 +101,49 @@ options:
|
|||
- ID of a router that is in IPv4 address format.
|
||||
The value is a string of 0 to 255 characters.
|
||||
The value is in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
vrf_rid_auto_sel:
|
||||
description:
|
||||
- If the value is true, VPN BGP instances are enabled to automatically select router IDs.
|
||||
If the value is false, VPN BGP instances are disabled from automatically selecting router IDs.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
nexthop_third_party:
|
||||
description:
|
||||
- If the value is true, the third-party next hop function is enabled.
|
||||
If the value is false, the third-party next hop function is disabled.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
summary_automatic:
|
||||
description:
|
||||
- If the value is true, automatic aggregation is enabled for locally imported routes.
|
||||
If the value is false, automatic aggregation is disabled for locally imported routes.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
auto_frr_enable:
|
||||
description:
|
||||
- If the value is true, BGP auto FRR is enabled.
|
||||
If the value is false, BGP auto FRR is disabled.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
load_balancing_as_path_ignore:
|
||||
description:
|
||||
- Load balancing as path ignore.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
rib_only_enable:
|
||||
description:
|
||||
- If the value is true, BGP routes cannot be advertised to the IP routing table.
|
||||
If the value is false, Routes preferred by BGP are advertised to the IP routing table.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
rib_only_policy_name:
|
||||
description:
|
||||
- Specify the name of a routing policy.
|
||||
The value is a string of 1 to 40 characters.
|
||||
required: false
|
||||
default: null
|
||||
active_route_advertise:
|
||||
description:
|
||||
- If the value is true, BGP is enabled to advertise only optimal routes in the RM to peers.
|
||||
If the value is false, BGP is not enabled to advertise only optimal routes in the RM to peers.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
as_path_neglect:
|
||||
|
@ -177,7 +151,6 @@ options:
|
|||
- If the value is true, the AS path attribute is ignored when BGP selects an optimal route.
|
||||
If the value is false, the AS path attribute is not ignored when BGP selects an optimal route.
|
||||
An AS path with a smaller length has a higher priority.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
med_none_as_maximum:
|
||||
|
@ -186,14 +159,12 @@ options:
|
|||
MED value of a route if the route's attribute does not carry a MED value.
|
||||
If the value is false, the system uses 0 as the MED value of a route if the route's attribute
|
||||
does not carry a MED value.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
router_id_neglect:
|
||||
description:
|
||||
- If the value is true, the router ID attribute is ignored when BGP selects the optimal route.
|
||||
If the value is false, the router ID attribute is not ignored when BGP selects the optimal route.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
igp_metric_ignore:
|
||||
|
@ -203,7 +174,6 @@ options:
|
|||
If the value is false, the metrics of next-hop IGP routes are not compared when BGP selects
|
||||
an optimal route.
|
||||
A route with a smaller metric has a higher priority.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
always_compare_med:
|
||||
|
@ -212,91 +182,69 @@ options:
|
|||
are compared when BGP selects an optimal route.
|
||||
If the value is false, the MEDs of routes learned from peers in different autonomous systems
|
||||
are not compared when BGP selects an optimal route.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
determin_med:
|
||||
description:
|
||||
- If the value is true, BGP deterministic-MED is enabled.
|
||||
If the value is false, BGP deterministic-MED is disabled.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
preference_external:
|
||||
description:
|
||||
- Set the protocol priority of EBGP routes.
|
||||
The value is an integer ranging from 1 to 255.
|
||||
required: false
|
||||
default: null
|
||||
preference_internal:
|
||||
description:
|
||||
- Set the protocol priority of IBGP routes.
|
||||
The value is an integer ranging from 1 to 255.
|
||||
required: false
|
||||
default: null
|
||||
preference_local:
|
||||
description:
|
||||
- Set the protocol priority of a local BGP route.
|
||||
The value is an integer ranging from 1 to 255.
|
||||
required: false
|
||||
default: null
|
||||
prefrence_policy_name:
|
||||
description:
|
||||
- Set a routing policy to filter routes so that a configured priority is applied to
|
||||
the routes that match the specified policy.
|
||||
The value is a string of 1 to 40 characters.
|
||||
required: false
|
||||
default: null
|
||||
reflect_between_client:
|
||||
description:
|
||||
- If the value is true, route reflection is enabled between clients.
|
||||
If the value is false, route reflection is disabled between clients.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
reflector_cluster_id:
|
||||
description:
|
||||
- Set a cluster ID. Configuring multiple RRs in a cluster can enhance the stability of the network.
|
||||
The value is an integer ranging from 1 to 4294967295.
|
||||
required: false
|
||||
default: null
|
||||
reflector_cluster_ipv4:
|
||||
description:
|
||||
- Set a cluster ipv4 address. The value is expressed in the format of an IPv4 address.
|
||||
required: false
|
||||
default: null
|
||||
rr_filter_number:
|
||||
description:
|
||||
- Set the number of the extended community filter supported by an RR group.
|
||||
The value is a string of 1 to 51 characters.
|
||||
required: false
|
||||
default: null
|
||||
policy_vpn_target:
|
||||
description:
|
||||
- If the value is true, VPN-Target filtering function is performed for received VPN routes.
|
||||
If the value is false, VPN-Target filtering function is not performed for received VPN routes.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
next_hop_sel_depend_type:
|
||||
description:
|
||||
- Next hop select depend type.
|
||||
required: false
|
||||
choices: ['default','dependTunnel', 'dependIp']
|
||||
default: default
|
||||
nhp_relay_route_policy_name:
|
||||
description:
|
||||
- Specify the name of a route-policy for route iteration.
|
||||
The value is a string of 1 to 40 characters.
|
||||
required: false
|
||||
default: null
|
||||
ebgp_if_sensitive:
|
||||
description:
|
||||
- If the value is true, after the fast EBGP interface awareness function is enabled,
|
||||
EBGP sessions on an interface are deleted immediately when the interface goes Down.
|
||||
If the value is false, after the fast EBGP interface awareness function is enabled,
|
||||
EBGP sessions on an interface are not deleted immediately when the interface goes Down.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
reflect_chg_path:
|
||||
|
@ -305,99 +253,77 @@ options:
|
|||
based on an export policy.
|
||||
If the value is false, the route reflector is disabled from modifying route path attributes
|
||||
based on an export policy.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
add_path_sel_num:
|
||||
description:
|
||||
- Number of Add-Path routes.
|
||||
The value is an integer ranging from 2 to 64.
|
||||
required: false
|
||||
default: null
|
||||
route_sel_delay:
|
||||
description:
|
||||
- Route selection delay.
|
||||
The value is an integer ranging from 0 to 3600.
|
||||
required: false
|
||||
default: null
|
||||
allow_invalid_as:
|
||||
description:
|
||||
- Allow routes with BGP origin AS validation result Invalid to be selected.
|
||||
If the value is true, invalid routes can participate in route selection.
|
||||
If the value is false, invalid routes cannot participate in route selection.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
policy_ext_comm_enable:
|
||||
description:
|
||||
- If the value is true, modifying extended community attributes is allowed.
|
||||
If the value is false, modifying extended community attributes is not allowed.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
supernet_uni_adv:
|
||||
description:
|
||||
- If the value is true, the function to advertise supernetwork unicast routes is enabled.
|
||||
If the value is false, the function to advertise supernetwork unicast routes is disabled.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
supernet_label_adv:
|
||||
description:
|
||||
- If the value is true, the function to advertise supernetwork label is enabled.
|
||||
If the value is false, the function to advertise supernetwork label is disabled.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
ingress_lsp_policy_name:
|
||||
description:
|
||||
- Ingress lsp policy name.
|
||||
required: false
|
||||
default: null
|
||||
originator_prior:
|
||||
description:
|
||||
- Originator prior.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
lowest_priority:
|
||||
description:
|
||||
- If the value is true, enable reduce priority to advertise route.
|
||||
If the value is false, disable reduce priority to advertise route.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
relay_delay_enable:
|
||||
description:
|
||||
- If the value is true, relay delay enable.
|
||||
If the value is false, relay delay disable.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
import_protocol:
|
||||
description:
|
||||
- Routing protocol from which routes can be imported.
|
||||
required: false
|
||||
choices: ['direct', 'ospf', 'isis', 'static', 'rip', 'ospfv3', 'ripng']
|
||||
default: null
|
||||
import_process_id:
|
||||
description:
|
||||
- Process ID of an imported routing protocol.
|
||||
The value is an integer ranging from 0 to 4294967295.
|
||||
required: false
|
||||
default: null
|
||||
network_address:
|
||||
description:
|
||||
- Specify the IP address advertised by BGP.
|
||||
The value is a string of 0 to 255 characters.
|
||||
required: false
|
||||
default: null
|
||||
mask_len:
|
||||
description:
|
||||
- Specify the mask length of an IP address.
|
||||
The value is an integer ranging from 0 to 128.
|
||||
required: false
|
||||
default: null
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -33,7 +33,6 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
vrf_name:
|
||||
|
@ -54,33 +53,26 @@ options:
|
|||
description:
|
||||
- Description of a peer, which can be letters or digits.
|
||||
The value is a string of 1 to 80 characters.
|
||||
required: false
|
||||
default: null
|
||||
fake_as:
|
||||
description:
|
||||
- Fake AS number that is specified for a local peer.
|
||||
The value is a string of 1 to 11 characters.
|
||||
required: false
|
||||
default: null
|
||||
dual_as:
|
||||
description:
|
||||
- If the value is true, the EBGP peer can use either a fake AS number or the actual AS number.
|
||||
If the value is false, the EBGP peer can only use a fake AS number.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
conventional:
|
||||
description:
|
||||
- If the value is true, the router has all extended capabilities.
|
||||
If the value is false, the router does not have all extended capabilities.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
route_refresh:
|
||||
description:
|
||||
- If the value is true, BGP is enabled to advertise REFRESH packets.
|
||||
If the value is false, the route refresh function is enabled.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
is_ignore:
|
||||
|
@ -88,146 +80,108 @@ options:
|
|||
- If the value is true, the session with a specified peer is torn down and all related
|
||||
routing entries are cleared.
|
||||
If the value is false, the session with a specified peer is retained.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
local_if_name:
|
||||
description:
|
||||
- Name of a source interface that sends BGP packets.
|
||||
The value is a string of 1 to 63 characters.
|
||||
required: false
|
||||
default: null
|
||||
ebgp_max_hop:
|
||||
description:
|
||||
- Maximum number of hops in an indirect EBGP connection.
|
||||
The value is an ranging from 1 to 255.
|
||||
required: false
|
||||
default: null
|
||||
valid_ttl_hops:
|
||||
description:
|
||||
- Enable GTSM on a peer or peer group.
|
||||
The valid-TTL-Value parameter is used to specify the number of TTL hops to be detected.
|
||||
The value is an integer ranging from 1 to 255.
|
||||
required: false
|
||||
default: null
|
||||
connect_mode:
|
||||
description:
|
||||
- The value can be Connect-only, Listen-only, or Both.
|
||||
required: false
|
||||
default: null
|
||||
is_log_change:
|
||||
description:
|
||||
- If the value is true, BGP is enabled to record peer session status and event information.
|
||||
If the value is false, BGP is disabled from recording peer session status and event information.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
pswd_type:
|
||||
description:
|
||||
- Enable BGP peers to establish a TCP connection and perform the Message Digest 5 (MD5)
|
||||
authentication for BGP messages.
|
||||
required: false
|
||||
choices: ['null','cipher','simple']
|
||||
default: null
|
||||
pswd_cipher_text:
|
||||
description:
|
||||
- The character string in a password identifies the contents of the password, spaces not supported.
|
||||
The value is a string of 1 to 255 characters.
|
||||
required: false
|
||||
default: null
|
||||
keep_alive_time:
|
||||
description:
|
||||
- Specify the Keepalive time of a peer or peer group.
|
||||
The value is an integer ranging from 0 to 21845. The default value is 60.
|
||||
required: false
|
||||
default: null
|
||||
hold_time:
|
||||
description:
|
||||
- Specify the Hold time of a peer or peer group.
|
||||
The value is 0 or an integer ranging from 3 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
min_hold_time:
|
||||
description:
|
||||
- Specify the Min hold time of a peer or peer group.
|
||||
required: false
|
||||
default: null
|
||||
key_chain_name:
|
||||
description:
|
||||
- Specify the Keychain authentication name used when BGP peers establish a TCP connection.
|
||||
The value is a string of 1 to 47 case-insensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
conn_retry_time:
|
||||
description:
|
||||
- ConnectRetry interval.
|
||||
The value is an integer ranging from 1 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
tcp_MSS:
|
||||
description:
|
||||
- Maximum TCP MSS value used for TCP connection establishment for a peer.
|
||||
The value is an integer ranging from 176 to 4096.
|
||||
required: false
|
||||
default: null
|
||||
mpls_local_ifnet_disable:
|
||||
description:
|
||||
- If the value is true, peer create MPLS Local IFNET disable.
|
||||
If the value is false, peer create MPLS Local IFNET enable.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
prepend_global_as:
|
||||
description:
|
||||
- Add the global AS number to the Update packets to be advertised.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
prepend_fake_as:
|
||||
description:
|
||||
- Add the Fake AS number to received Update packets.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
is_bfd_block:
|
||||
description:
|
||||
- If the value is true, peers are enabled to inherit the BFD function from the peer group.
|
||||
If the value is false, peers are disabled to inherit the BFD function from the peer group.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
multiplier:
|
||||
description:
|
||||
- Specify the detection multiplier. The default value is 3.
|
||||
The value is an integer ranging from 3 to 50.
|
||||
required: false
|
||||
default: null
|
||||
is_bfd_enable:
|
||||
description:
|
||||
- If the value is true, BFD is enabled.
|
||||
If the value is false, BFD is disabled.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
rx_interval:
|
||||
description:
|
||||
- Specify the minimum interval at which BFD packets are received.
|
||||
The value is an integer ranging from 50 to 1000, in milliseconds.
|
||||
required: false
|
||||
default: null
|
||||
tx_interval:
|
||||
description:
|
||||
- Specify the minimum interval at which BFD packets are sent.
|
||||
The value is an integer ranging from 50 to 1000, in milliseconds.
|
||||
required: false
|
||||
default: null
|
||||
is_single_hop:
|
||||
description:
|
||||
- If the value is true, the system is enabled to preferentially use the single-hop mode for
|
||||
BFD session setup between IBGP peers.
|
||||
If the value is false, the system is disabled from preferentially using the single-hop
|
||||
mode for BFD session setup between IBGP peers.
|
||||
required: false
|
||||
choices: ['no_use','true','false']
|
||||
default: no_use
|
||||
'''
|
||||
|
|
|
@ -48,64 +48,54 @@ options:
|
|||
description:
|
||||
- If the value is true, advertised IRB routes are distinguished.
|
||||
If the value is false, advertised IRB routes are not distinguished.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
advertise_arp:
|
||||
description:
|
||||
- If the value is true, advertised ARP routes are distinguished.
|
||||
If the value is false, advertised ARP routes are not distinguished.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
advertise_remote_nexthop:
|
||||
description:
|
||||
- If the value is true, the remote next-hop attribute is advertised to peers.
|
||||
If the value is false, the remote next-hop attribute is not advertised to any peers.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
advertise_community:
|
||||
description:
|
||||
- If the value is true, the community attribute is advertised to peers.
|
||||
If the value is false, the community attribute is not advertised to peers.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
advertise_ext_community:
|
||||
description:
|
||||
- If the value is true, the extended community attribute is advertised to peers.
|
||||
If the value is false, the extended community attribute is not advertised to peers.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
discard_ext_community:
|
||||
description:
|
||||
- If the value is true, the extended community attribute in the peer route information is discarded.
|
||||
If the value is false, the extended community attribute in the peer route information is not discarded.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
allow_as_loop_enable:
|
||||
description:
|
||||
- If the value is true, repetitive local AS numbers are allowed.
|
||||
If the value is false, repetitive local AS numbers are not allowed.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
allow_as_loop_limit:
|
||||
description:
|
||||
- Set the maximum number of repetitive local AS number.
|
||||
The value is an integer ranging from 1 to 10.
|
||||
required: false
|
||||
default: null
|
||||
keep_all_routes:
|
||||
description:
|
||||
- If the value is true, the system stores all route update messages received from all peers (groups)
|
||||
after BGP connection setup.
|
||||
If the value is false, the system stores only BGP update messages that are received from peers
|
||||
and pass the configured import policy.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
nexthop_configure:
|
||||
|
@ -114,21 +104,16 @@ options:
|
|||
local, The next hop is changed to the local IP address.
|
||||
invariable, Prevent the device from changing the next hop of each imported IGP route
|
||||
when advertising it to its BGP peers.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['null', 'local', 'invariable']
|
||||
preferred_value:
|
||||
description:
|
||||
- Assign a preferred value for the routes learned from a specified peer.
|
||||
The value is an integer ranging from 0 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
public_as_only:
|
||||
description:
|
||||
- If the value is true, sent BGP update messages carry only the public AS number but do not carry
|
||||
private AS numbers.
|
||||
If the value is false, sent BGP update messages can carry private AS numbers.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
public_as_only_force:
|
||||
|
@ -136,39 +121,31 @@ options:
|
|||
- If the value is true, sent BGP update messages carry only the public AS number but do not carry
|
||||
private AS numbers.
|
||||
If the value is false, sent BGP update messages can carry private AS numbers.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
public_as_only_limited:
|
||||
description:
|
||||
- Limited use public as number.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
public_as_only_replace:
|
||||
description:
|
||||
- Private as replaced by public as number.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
public_as_only_skip_peer_as:
|
||||
description:
|
||||
- Public as only skip peer as.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
route_limit:
|
||||
description:
|
||||
- Configure the maximum number of routes that can be accepted from a peer.
|
||||
The value is an integer ranging from 1 to 4294967295.
|
||||
required: false
|
||||
default: null
|
||||
route_limit_percent:
|
||||
description:
|
||||
- Specify the percentage of routes when a router starts to generate an alarm.
|
||||
The value is an integer ranging from 1 to 100.
|
||||
required: false
|
||||
default: null
|
||||
route_limit_type:
|
||||
description:
|
||||
- Noparameter, After the number of received routes exceeds the threshold and the timeout
|
||||
|
@ -179,32 +156,24 @@ options:
|
|||
maximum number of routes allowed have been received.
|
||||
IdleTimeout, After the number of received routes exceeds the threshold and the timeout timer
|
||||
expires, the connection that is interrupted is automatically re-established.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['noparameter', 'alertOnly', 'idleForever', 'idleTimeout']
|
||||
route_limit_idle_timeout:
|
||||
description:
|
||||
- Specify the value of the idle-timeout timer to automatically reestablish the connections after
|
||||
they are cut off when the number of routes exceeds the set threshold.
|
||||
The value is an integer ranging from 1 to 1200.
|
||||
required: false
|
||||
default: null
|
||||
rt_updt_interval:
|
||||
description:
|
||||
- Specify the minimum interval at which Update packets are sent. The value is an integer, in seconds.
|
||||
The value is an integer ranging from 0 to 600.
|
||||
required: false
|
||||
default: null
|
||||
redirect_ip:
|
||||
description:
|
||||
- Redirect ip.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
redirect_ip_vaildation:
|
||||
description:
|
||||
- Redirect ip vaildation.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
reflect_client:
|
||||
|
@ -212,7 +181,6 @@ options:
|
|||
- If the value is true, the local device functions as the route reflector and a peer functions
|
||||
as a client of the route reflector.
|
||||
If the value is false, the route reflector and client functions are not configured.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
substitute_as_enable:
|
||||
|
@ -221,89 +189,64 @@ options:
|
|||
the local AS number is enabled.
|
||||
If the value is false, the function to replace a specified peer's AS number in the AS-Path attribute with
|
||||
the local AS number is disabled.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
import_rt_policy_name:
|
||||
description:
|
||||
- Specify the filtering policy applied to the routes learned from a peer.
|
||||
The value is a string of 1 to 40 characters.
|
||||
required: false
|
||||
default: null
|
||||
export_rt_policy_name:
|
||||
description:
|
||||
- Specify the filtering policy applied to the routes to be advertised to a peer.
|
||||
The value is a string of 1 to 40 characters.
|
||||
required: false
|
||||
default: null
|
||||
import_pref_filt_name:
|
||||
description:
|
||||
- Specify the IPv4 filtering policy applied to the routes received from a specified peer.
|
||||
The value is a string of 1 to 169 characters.
|
||||
required: false
|
||||
default: null
|
||||
export_pref_filt_name:
|
||||
description:
|
||||
- Specify the IPv4 filtering policy applied to the routes to be advertised to a specified peer.
|
||||
The value is a string of 1 to 169 characters.
|
||||
required: false
|
||||
default: null
|
||||
import_as_path_filter:
|
||||
description:
|
||||
- Apply an AS_Path-based filtering policy to the routes received from a specified peer.
|
||||
The value is an integer ranging from 1 to 256.
|
||||
required: false
|
||||
default: null
|
||||
export_as_path_filter:
|
||||
description:
|
||||
- Apply an AS_Path-based filtering policy to the routes to be advertised to a specified peer.
|
||||
The value is an integer ranging from 1 to 256.
|
||||
required: false
|
||||
default: null
|
||||
import_as_path_name_or_num:
|
||||
description:
|
||||
- A routing strategy based on the AS path list for routing received by a designated peer.
|
||||
required: false
|
||||
default: null
|
||||
export_as_path_name_or_num:
|
||||
description:
|
||||
- Application of a AS path list based filtering policy to the routing of a specified peer.
|
||||
required: false
|
||||
default: null
|
||||
import_acl_name_or_num:
|
||||
description:
|
||||
- Apply an IPv4 ACL-based filtering policy to the routes received from a specified peer.
|
||||
The value is a string of 1 to 32 characters.
|
||||
required: false
|
||||
default: null
|
||||
export_acl_name_or_num:
|
||||
description:
|
||||
- Apply an IPv4 ACL-based filtering policy to the routes to be advertised to a specified peer.
|
||||
The value is a string of 1 to 32 characters.
|
||||
required: false
|
||||
default: null
|
||||
ipprefix_orf_enable:
|
||||
description:
|
||||
- If the value is true, the address prefix-based Outbound Route Filter (ORF) capability is
|
||||
enabled for peers.
|
||||
If the value is false, the address prefix-based Outbound Route Filter (ORF) capability is
|
||||
disabled for peers.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
is_nonstd_ipprefix_mod:
|
||||
description:
|
||||
- If the value is true, Non-standard capability codes are used during capability negotiation.
|
||||
If the value is false, RFC-defined standard ORF capability codes are used during capability negotiation.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
orftype:
|
||||
description:
|
||||
- ORF Type.
|
||||
The value is an integer ranging from 0 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
orf_mode:
|
||||
description:
|
||||
- ORF mode.
|
||||
|
@ -311,35 +254,26 @@ options:
|
|||
receive, ORF for incoming packets.
|
||||
send, ORF for outgoing packets.
|
||||
both, ORF for incoming and outgoing packets.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['null', 'receive', 'send', 'both']
|
||||
soostring:
|
||||
description:
|
||||
- Configure the Site-of-Origin (SoO) extended community attribute.
|
||||
The value is a string of 3 to 21 characters.
|
||||
required: false
|
||||
default: null
|
||||
default_rt_adv_enable:
|
||||
description:
|
||||
- If the value is true, the function to advertise default routes to peers is enabled.
|
||||
If the value is false, the function to advertise default routes to peers is disabled.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true', 'false']
|
||||
default_rt_adv_policy:
|
||||
description:
|
||||
- Specify the name of a used policy. The value is a string.
|
||||
The value is a string of 1 to 40 characters.
|
||||
required: false
|
||||
default: null
|
||||
default_rt_match_mode:
|
||||
description:
|
||||
- null, Null.
|
||||
matchall, Advertise the default route if all matching conditions are met.
|
||||
matchany, Advertise the default route if any matching condition is met.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['null', 'matchall', 'matchany']
|
||||
add_path_mode:
|
||||
description:
|
||||
|
@ -347,34 +281,27 @@ options:
|
|||
receive, Support receiving Add-Path routes.
|
||||
send, Support sending Add-Path routes.
|
||||
both, Support receiving and sending Add-Path routes.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['null', 'receive', 'send', 'both']
|
||||
adv_add_path_num:
|
||||
description:
|
||||
- The number of addPath advertise route.
|
||||
The value is an integer ranging from 2 to 64.
|
||||
required: false
|
||||
default: null
|
||||
origin_as_valid:
|
||||
description:
|
||||
- If the value is true, Application results of route announcement.
|
||||
If the value is false, Routing application results are not notified.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true', 'false']
|
||||
vpls_enable:
|
||||
description:
|
||||
- If the value is true, vpls enable.
|
||||
If the value is false, vpls disable.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true', 'false']
|
||||
vpls_ad_disable:
|
||||
description:
|
||||
- If the value is true, enable vpls-ad.
|
||||
If the value is false, disable vpls-ad.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true', 'false']
|
||||
update_pkt_standard_compatible:
|
||||
|
@ -383,7 +310,6 @@ options:
|
|||
the message has no label.
|
||||
If the value is false, When the vpnv4 multicast neighbor receives and updates the message,
|
||||
the message has label.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true', 'false']
|
||||
'''
|
||||
|
|
|
@ -50,8 +50,6 @@ options:
|
|||
the task to wait for a particular conditional to be true
|
||||
before moving forward. If the conditional is not true
|
||||
by the configured retries, the task fails. See examples.
|
||||
required: false
|
||||
default: null
|
||||
match:
|
||||
description:
|
||||
- The I(match) argument is used in conjunction with the
|
||||
|
@ -60,7 +58,6 @@ options:
|
|||
then all conditionals in the I(wait_for) must be satisfied. If
|
||||
the value is set to C(any) then only one of the values must be
|
||||
satisfied.
|
||||
required: false
|
||||
default: all
|
||||
retries:
|
||||
description:
|
||||
|
@ -68,7 +65,6 @@ options:
|
|||
before it is considered failed. The command is run on the
|
||||
target device every retry and evaluated against the I(wait_for)
|
||||
conditionals.
|
||||
required: false
|
||||
default: 10
|
||||
interval:
|
||||
description:
|
||||
|
@ -76,7 +72,6 @@ options:
|
|||
of the command. If the command does not pass the specified
|
||||
conditional, the interval indicates how to long to wait before
|
||||
trying the command again.
|
||||
required: false
|
||||
default: 1
|
||||
"""
|
||||
|
||||
|
|
|
@ -39,16 +39,12 @@ options:
|
|||
in the device current-configuration. Be sure to note the configuration
|
||||
command syntax as some commands are automatically modified by the
|
||||
device config parser.
|
||||
required: false
|
||||
default: null
|
||||
parents:
|
||||
description:
|
||||
- The ordered set of parents that uniquely identify the section or hierarchy
|
||||
the commands should be checked against. If the parents argument
|
||||
is omitted, the commands are checked against the set of top
|
||||
level or global commands.
|
||||
required: false
|
||||
default: null
|
||||
src:
|
||||
description:
|
||||
- The I(src) argument provides a path to the configuration file
|
||||
|
@ -57,8 +53,6 @@ options:
|
|||
or relative to the root of the implemented role or playbook.
|
||||
This argument is mutually exclusive with the I(lines) and
|
||||
I(parents) arguments.
|
||||
required: false
|
||||
default: null
|
||||
before:
|
||||
description:
|
||||
- The ordered set of commands to push on to the command stack if
|
||||
|
@ -66,16 +60,12 @@ options:
|
|||
the opportunity to perform configuration commands prior to pushing
|
||||
any changes without affecting how the set of commands are matched
|
||||
against the system.
|
||||
required: false
|
||||
default: null
|
||||
after:
|
||||
description:
|
||||
- The ordered set of commands to append to the end of the command
|
||||
stack if a change needs to be made. Just like with I(before) this
|
||||
allows the playbook designer to append a set of commands to be
|
||||
executed after the command set.
|
||||
required: false
|
||||
default: null
|
||||
match:
|
||||
description:
|
||||
- Instructs the module on the way to perform the matching of
|
||||
|
@ -86,7 +76,6 @@ options:
|
|||
must be an equal match. Finally, if match is set to I(none), the
|
||||
module will not attempt to compare the source configuration with
|
||||
the current-configuration on the remote device.
|
||||
required: false
|
||||
default: line
|
||||
choices: ['line', 'strict', 'exact', 'none']
|
||||
replace:
|
||||
|
@ -97,7 +86,6 @@ options:
|
|||
mode. If the replace argument is set to I(block) then the entire
|
||||
command block is pushed to the device in configuration mode if any
|
||||
line is not correct.
|
||||
required: false
|
||||
default: line
|
||||
choices: ['line', 'block']
|
||||
backup:
|
||||
|
@ -107,9 +95,8 @@ options:
|
|||
changes are made. The backup file is written to the C(backup)
|
||||
folder in the playbook root directory. If the directory does not
|
||||
exist, it is created.
|
||||
required: false
|
||||
type: bool
|
||||
default: false
|
||||
default: 'no'
|
||||
config:
|
||||
description:
|
||||
- The module, by default, will connect to the remote device and
|
||||
|
@ -119,8 +106,6 @@ options:
|
|||
every task in a playbook. The I(config) argument allows the
|
||||
implementer to pass in the configuration to use as the base
|
||||
config for comparison.
|
||||
required: false
|
||||
default: null
|
||||
defaults:
|
||||
description:
|
||||
- The I(defaults) argument will influence how the current-configuration
|
||||
|
@ -128,9 +113,8 @@ options:
|
|||
the command used to collect the current-configuration is append with
|
||||
the all keyword. When the value is set to false, the command
|
||||
is issued without the all keyword.
|
||||
required: false
|
||||
type: bool
|
||||
default: false
|
||||
default: 'no'
|
||||
save:
|
||||
description:
|
||||
- The C(save) argument instructs the module to save the
|
||||
|
@ -139,9 +123,8 @@ options:
|
|||
no changes are made, the configuration is still saved to the
|
||||
startup config. This option will always cause the module to
|
||||
return changed.
|
||||
required: false
|
||||
type: bool
|
||||
default: false
|
||||
default: 'no'
|
||||
"""
|
||||
|
||||
EXAMPLES = """
|
||||
|
|
|
@ -42,40 +42,28 @@ options:
|
|||
enable:
|
||||
description:
|
||||
- Set global DLDP enable state.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
work_mode:
|
||||
description:
|
||||
- Set global DLDP work-mode.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enhance', 'normal']
|
||||
time_internal:
|
||||
description:
|
||||
- Specifies the interval for sending Advertisement packets.
|
||||
The value is an integer ranging from 1 to 100, in seconds.
|
||||
The default interval for sending Advertisement packets is 5 seconds.
|
||||
required: false
|
||||
default: null
|
||||
auth_mode:
|
||||
description:
|
||||
- Specifies authentication algorithm of DLDP.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['md5', 'simple', 'sha', 'hmac-sha256', 'none']
|
||||
auth_pwd:
|
||||
description:
|
||||
- Specifies authentication password.
|
||||
The value is a string of 1 to 16 case-sensitive plaintexts or 24/32/48/108/128 case-sensitive encrypted
|
||||
characters. The string excludes a question mark (?).
|
||||
required: false
|
||||
default: null
|
||||
reset:
|
||||
description:
|
||||
- Specify whether reset DLDP state of disabled interfaces.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
'''
|
||||
|
||||
|
|
|
@ -42,31 +42,22 @@ options:
|
|||
enable:
|
||||
description:
|
||||
- Set interface DLDP enable state.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
mode_enable:
|
||||
description:
|
||||
- Set DLDP compatible-mode enable state.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
local_mac:
|
||||
description:
|
||||
- Set the source MAC address for DLDP packets sent in the DLDP-compatible mode.
|
||||
The value of MAC address is in H-H-H format. H contains 1 to 4 hexadecimal digits.
|
||||
required: false
|
||||
default: null
|
||||
reset:
|
||||
description:
|
||||
- Specify whether reseting interface DLDP state.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -47,39 +47,30 @@ options:
|
|||
mode:
|
||||
description:
|
||||
- Specifies the working mode of an Eth-Trunk interface.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['manual','lacp-dynamic','lacp-static']
|
||||
min_links:
|
||||
description:
|
||||
- Specifies the minimum number of Eth-Trunk member links in the Up state.
|
||||
The value is an integer ranging from 1 to the maximum number of interfaces
|
||||
that can be added to a Eth-Trunk interface.
|
||||
required: false
|
||||
default: null
|
||||
hash_type:
|
||||
description:
|
||||
- Hash algorithm used for load balancing among Eth-Trunk member interfaces.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['src-dst-ip', 'src-dst-mac', 'enhanced', 'dst-ip', 'dst-mac', 'src-ip', 'src-mac']
|
||||
members:
|
||||
description:
|
||||
- List of interfaces that will be managed in a given Eth-Trunk.
|
||||
The interface name must be full name.
|
||||
required: false
|
||||
default: null
|
||||
force:
|
||||
description:
|
||||
- When true it forces Eth-Trunk members to match what is
|
||||
declared in the members param. This can be used to remove
|
||||
members.
|
||||
required: false
|
||||
default: false
|
||||
type: bool
|
||||
default: 'no'
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -50,7 +50,6 @@ options:
|
|||
evpn:
|
||||
description:
|
||||
- Create or delete an EVPN instance for a VXLAN in BD view.
|
||||
required: false
|
||||
choices: ['enable','disable']
|
||||
default: 'enable'
|
||||
route_distinguisher:
|
||||
|
@ -69,14 +68,10 @@ options:
|
|||
- 5) 32-bit IP address:2-byte user-defined number. For example, 192.168.122.15:1. An IP address ranges from
|
||||
0.0.0.0 to 255.255.255.255, and a user-defined number is an integer ranging from 0 to 65535.
|
||||
- 6) 'auto' specifies the RD that is automatically generated.
|
||||
required: false
|
||||
default: null
|
||||
vpn_target_both:
|
||||
description:
|
||||
- Add VPN targets to both the import and export VPN target lists of a BD EVPN instance.
|
||||
The format is the same as route_distinguisher.
|
||||
required: false
|
||||
default: null
|
||||
vpn_target_import:
|
||||
description:
|
||||
- Add VPN targets to the import VPN target list of a BD EVPN instance.
|
||||
|
@ -86,12 +81,9 @@ options:
|
|||
description:
|
||||
- Add VPN targets to the export VPN target list of a BD EVPN instance.
|
||||
The format is the same as route_distinguisher.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
choices: ['present','absent']
|
||||
default: 'present'
|
||||
'''
|
||||
|
|
|
@ -36,48 +36,33 @@ options:
|
|||
as_number:
|
||||
description:
|
||||
- Specifies integral AS number. The value is an integer ranging from 1 to 4294967295.
|
||||
required: False
|
||||
default: null
|
||||
peer_address:
|
||||
description:
|
||||
- Specifies the IPv4 address of a BGP EVPN peer. The value is in dotted decimal notation.
|
||||
required: False
|
||||
default: null
|
||||
peer_group_name:
|
||||
description:
|
||||
- Specify the name of a peer group that BGP peers need to join.
|
||||
The value is a string of 1 to 47 case-sensitive characters, spaces not supported.
|
||||
required: False
|
||||
default: null
|
||||
peer_enable:
|
||||
description:
|
||||
- Enable or disable a BGP device to exchange routes with a specified peer or peer group in the address
|
||||
family view.
|
||||
required: False
|
||||
default: null
|
||||
choices: ['true','false']
|
||||
advertise_router_type:
|
||||
description:
|
||||
- Configures a device to advertise routes to its BGP EVPN peers.
|
||||
required: False
|
||||
default: null
|
||||
choices: ['arp','irb']
|
||||
vpn_name:
|
||||
description:
|
||||
- Associates a specified VPN instance with the IPv4 address family.
|
||||
The value is a string of 1 to 31 case-sensitive characters, spaces not supported.
|
||||
required: False
|
||||
default: null
|
||||
advertise_l2vpn_evpn:
|
||||
description:
|
||||
- Enable or disable a device to advertise IP routes imported to a VPN instance to its EVPN instance.
|
||||
required: False
|
||||
default: null
|
||||
choices: ['enable','disable']
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: False
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -37,42 +37,30 @@ options:
|
|||
- Specifies the number of the AS, in integer format.
|
||||
The value is an integer that ranges from 1 to 4294967295.
|
||||
required: true
|
||||
default: null
|
||||
bgp_instance:
|
||||
description:
|
||||
- Specifies the name of a BGP instance.
|
||||
The value of instance-name can be an integer 1 or a string of 1 to 31.
|
||||
required: false
|
||||
default: null
|
||||
bgp_evpn_enable:
|
||||
description:
|
||||
- Enable or disable the BGP-EVPN address family.
|
||||
required: false
|
||||
choices: ['enable','disable']
|
||||
default: 'enable'
|
||||
peer_type:
|
||||
description:
|
||||
- Specify the peer type.
|
||||
required: false
|
||||
choices: ['group_name','ipv4_address']
|
||||
default: null
|
||||
peer:
|
||||
description:
|
||||
- Specifies the IPv4 address or the group name of a peer.
|
||||
required: false
|
||||
default: null
|
||||
reflect_client:
|
||||
description:
|
||||
- Configure the local device as the route reflector and the peer or peer group as the client of the route reflector.
|
||||
required: false
|
||||
choices: ['enable','disable']
|
||||
default: null
|
||||
policy_vpn_target:
|
||||
description:
|
||||
- Enable or disable the VPN-Target filtering.
|
||||
required: false
|
||||
choices: ['enable','disable']
|
||||
default: null
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -45,8 +45,6 @@ options:
|
|||
- Remote file path of the copy. Remote directories must exist.
|
||||
If omitted, the name of the local file will be used.
|
||||
The maximum length of I(remote_file) is C(4096).
|
||||
required: false
|
||||
default: null
|
||||
file_system:
|
||||
description:
|
||||
- The remote file system of the device. If omitted,
|
||||
|
@ -59,7 +57,6 @@ options:
|
|||
3) C(chassis ID/slot number#flash) is root directory of the flash memory on
|
||||
a device in a stack. For example, C(1/5#flash) indicates the flash memory
|
||||
whose chassis ID is 1 and slot number is 5.
|
||||
required: false
|
||||
default: 'flash:'
|
||||
'''
|
||||
|
||||
|
|
|
@ -33,14 +33,11 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
debug_time_stamp:
|
||||
description:
|
||||
- Timestamp type of debugging information.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['date_boot', 'date_second', 'date_tenthsecond', 'date_millisecond', 'shortdate_second',
|
||||
'shortdate_tenthsecond', 'shortdate_millisecond', 'formatdate_second', 'formatdate_tenthsecond',
|
||||
'formatdate_millisecond']
|
||||
|
@ -49,25 +46,18 @@ options:
|
|||
- Module name of the rule.
|
||||
The value is a string of 1 to 31 case-insensitive characters. The default value is default.
|
||||
Please use lower-case letter, such as [aaa, acl, arp, bfd].
|
||||
required: false
|
||||
default: null
|
||||
channel_id:
|
||||
description:
|
||||
- Number of a channel.
|
||||
The value is an integer ranging from 0 to 9. The default value is 0.
|
||||
required: false
|
||||
default: null
|
||||
debug_enable:
|
||||
description:
|
||||
- Whether a device is enabled to output debugging information.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
debug_level:
|
||||
description:
|
||||
- Debug level permitted to output.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['emergencies', 'alert', 'critical', 'error', 'warning', 'notification',
|
||||
'informational', 'debugging']
|
||||
'''
|
||||
|
|
|
@ -33,138 +33,95 @@ options:
|
|||
info_center_enable:
|
||||
description:
|
||||
- Whether the info-center function is enabled. The value is of the Boolean type.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['true','false']
|
||||
packet_priority:
|
||||
description:
|
||||
- Set the priority of the syslog packet.The value is an integer ranging from 0 to 7. The default value is 0.
|
||||
required: false
|
||||
default: null
|
||||
suppress_enable:
|
||||
description:
|
||||
- Whether a device is enabled to suppress duplicate statistics. The value is of the Boolean type.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['true','false']
|
||||
choices: [ 'false', 'true' ]
|
||||
logfile_max_num:
|
||||
description:
|
||||
- Maximum number of log files of the same type. The default value is 200.
|
||||
- The value range for log files is[3, 500], for security files is [1, 3],and for operation files is [1, 7].
|
||||
required: false
|
||||
default: null
|
||||
logfile_max_size:
|
||||
description:
|
||||
- Maximum size (in MB) of a log file. The default value is 32.
|
||||
- The value range for log files is [4, 8, 16, 32], for security files is [1, 4],
|
||||
- and for operation files is [1, 4].
|
||||
required: false
|
||||
default: 32
|
||||
choices: ['4', '8', '16', '32']
|
||||
channel_id:
|
||||
description:
|
||||
- Number for channel. The value is an integer ranging from 0 to 9. The default value is 0.
|
||||
required: false
|
||||
default: null
|
||||
channel_cfg_name:
|
||||
description:
|
||||
- Channel name.The value is a string of 1 to 30 case-sensitive characters. The default value is console.
|
||||
required: false
|
||||
default: console
|
||||
channel_out_direct:
|
||||
description:
|
||||
- Direction of information output.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['console','monitor','trapbuffer','logbuffer','snmp','logfile']
|
||||
filter_feature_name:
|
||||
description:
|
||||
- Feature name of the filtered log. The value is a string of 1 to 31 case-insensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
filter_log_name:
|
||||
description:
|
||||
- Name of the filtered log. The value is a string of 1 to 63 case-sensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
ip_type:
|
||||
description:
|
||||
- Log server address type, IPv4 or IPv6.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['ipv4','ipv6']
|
||||
server_ip:
|
||||
description:
|
||||
- Log server address, IPv4 or IPv6 type. The value is a string of 0 to 255 characters.
|
||||
The value can be an valid IPv4 or IPv6 address.
|
||||
required: false
|
||||
default: null
|
||||
server_domain:
|
||||
description:
|
||||
- Server name. The value is a string of 1 to 255 case-sensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
is_default_vpn:
|
||||
description:
|
||||
- Use the default VPN or not.
|
||||
required: false
|
||||
default: False
|
||||
type: bool
|
||||
default: 'no'
|
||||
vrf_name:
|
||||
description:
|
||||
- VPN name on a log server. The value is a string of 1 to 31 case-sensitive characters.
|
||||
The default value is _public_.
|
||||
required: false
|
||||
default: null
|
||||
level:
|
||||
description:
|
||||
- Level of logs saved on a log server.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['emergencies','alert','critical','error','warning','notification','informational','debugging']
|
||||
server_port:
|
||||
description:
|
||||
- Number of a port sending logs.The value is an integer ranging from 1 to 65535.
|
||||
For UDP, the default value is 514. For TCP, the default value is 601. For TSL, the default value is 6514.
|
||||
required: false
|
||||
default: null
|
||||
facility:
|
||||
description:
|
||||
- Log record tool.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['local0','local1','local2','local3','local4','local5','local6','local7']
|
||||
channel_name:
|
||||
description:
|
||||
- Channel name. The value is a string of 1 to 30 case-sensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
timestamp:
|
||||
description:
|
||||
- Log server timestamp. The value is of the enumerated type and case-sensitive.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['UTC', 'localtime']
|
||||
transport_mode:
|
||||
description:
|
||||
- Transport mode. The value is of the enumerated type and case-sensitive.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['tcp','udp']
|
||||
ssl_policy_name:
|
||||
description:
|
||||
- SSL policy name. The value is a string of 1 to 23 case-sensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
source_ip:
|
||||
description:
|
||||
- Log source ip address, IPv4 or IPv6 type. The value is a string of 0 to 255.
|
||||
The value can be an valid IPv4 or IPv6 address.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -33,53 +33,40 @@ options:
|
|||
log_time_stamp:
|
||||
description:
|
||||
- Sets the timestamp format of logs.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['date_boot', 'date_second', 'date_tenthsecond', 'date_millisecond',
|
||||
'shortdate_second', 'shortdate_tenthsecond', 'shortdate_millisecond',
|
||||
'formatdate_second', 'formatdate_tenthsecond', 'formatdate_millisecond']
|
||||
log_buff_enable:
|
||||
description:
|
||||
- Enables the Switch to send logs to the log buffer.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true', 'false']
|
||||
log_buff_size:
|
||||
description:
|
||||
- Specifies the maximum number of logs in the log buffer.
|
||||
The value is an integer that ranges from 0 to 10240. If logbuffer-size is 0, logs are not displayed.
|
||||
required: false
|
||||
default: null
|
||||
module_name:
|
||||
description:
|
||||
- Specifies the name of a module.
|
||||
The value is a module name in registration logs.
|
||||
required: false
|
||||
default: null
|
||||
channel_id:
|
||||
description:
|
||||
- Specifies a channel ID.
|
||||
The value is an integer ranging from 0 to 9.
|
||||
required: false
|
||||
default: null
|
||||
log_enable:
|
||||
description:
|
||||
- Indicates whether log filtering is enabled.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true', 'false']
|
||||
log_level:
|
||||
description:
|
||||
- Specifies a log severity.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['emergencies', 'alert', 'critical', 'error',
|
||||
'warning', 'notification', 'informational', 'debugging']
|
||||
state:
|
||||
description:
|
||||
- Determines whether the config should be present or not
|
||||
on the device.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
"""
|
||||
|
|
|
@ -33,53 +33,40 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
trap_time_stamp:
|
||||
description:
|
||||
- Timestamp format of alarm information.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['date_boot', 'date_second', 'date_tenthsecond', 'date_millisecond', 'shortdate_second',
|
||||
'shortdate_tenthsecond', 'shortdate_millisecond', 'formatdate_second', 'formatdate_tenthsecond',
|
||||
'formatdate_millisecond']
|
||||
trap_buff_enable:
|
||||
description:
|
||||
- Whether a trap buffer is enabled to output information.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
trap_buff_size:
|
||||
description:
|
||||
- Size of a trap buffer.
|
||||
The value is an integer ranging from 0 to 1024. The default value is 256.
|
||||
required: false
|
||||
default: null
|
||||
module_name:
|
||||
description:
|
||||
- Module name of the rule.
|
||||
The value is a string of 1 to 31 case-insensitive characters. The default value is default.
|
||||
Please use lower-case letter, such as [aaa, acl, arp, bfd].
|
||||
required: false
|
||||
default: null
|
||||
channel_id:
|
||||
description:
|
||||
- Number of a channel.
|
||||
The value is an integer ranging from 0 to 9. The default value is 0.
|
||||
required: false
|
||||
default: null
|
||||
trap_enable:
|
||||
description:
|
||||
- Whether a device is enabled to output alarms.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
trap_level:
|
||||
description:
|
||||
- Trap level permitted to output.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['emergencies', 'alert', 'critical', 'error', 'warning', 'notification',
|
||||
'informational', 'debugging']
|
||||
'''
|
||||
|
|
|
@ -35,13 +35,9 @@ options:
|
|||
interface:
|
||||
description:
|
||||
- Full name of interface, i.e. 40GE1/0/10, Tunnel1.
|
||||
required: false
|
||||
default: null
|
||||
interface_type:
|
||||
description:
|
||||
- Interface type to be configured from the device.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['ge', '10ge', '25ge', '4x10ge', '40ge', '100ge', 'vlanif', 'loopback', 'meth',
|
||||
'eth-trunk', 'nve', 'tunnel', 'ethernet', 'fcoe-port', 'fabric-port', 'stack-port', 'null']
|
||||
admin_state:
|
||||
|
@ -50,31 +46,24 @@ options:
|
|||
The value is an enumerated type.
|
||||
up, An interface is in the administrative Up state.
|
||||
down, An interface is in the administrative Down state.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['up', 'down']
|
||||
description:
|
||||
description:
|
||||
- Specifies an interface description.
|
||||
The value is a string of 1 to 242 case-sensitive characters,
|
||||
spaces supported but question marks (?) not supported.
|
||||
required: false
|
||||
default: null
|
||||
mode:
|
||||
description:
|
||||
- Manage Layer 2 or Layer 3 state of the interface.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['layer2', 'layer3']
|
||||
l2sub:
|
||||
description:
|
||||
- Specifies whether the interface is a Layer 2 sub-interface.
|
||||
required: false
|
||||
default: false
|
||||
type: bool
|
||||
default: 'no'
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: true
|
||||
default: present
|
||||
choices: ['present', 'absent', 'default']
|
||||
'''
|
||||
|
|
|
@ -48,56 +48,41 @@ options:
|
|||
description:
|
||||
- The cost associated with this interface.
|
||||
Valid values are an integer in the range from 1 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
hello_interval:
|
||||
description:
|
||||
- Time between sending successive hello packets.
|
||||
Valid values are an integer in the range from 1 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
dead_interval:
|
||||
description:
|
||||
- Time interval an ospf neighbor waits for a hello
|
||||
packet before tearing down adjacencies. Valid values are an
|
||||
integer in the range from 1 to 235926000.
|
||||
required: false
|
||||
default: null
|
||||
silent_interface:
|
||||
description:
|
||||
- Setting to true will prevent this interface from receiving
|
||||
HELLO packets. Valid values are 'true' and 'false'.
|
||||
required: false
|
||||
default: false
|
||||
type: bool
|
||||
default: 'no'
|
||||
auth_mode:
|
||||
description:
|
||||
- Specifies the authentication type.
|
||||
required: false
|
||||
choices: ['none', 'null', 'hmac-sha256', 'md5', 'hmac-md5', 'simple']
|
||||
default: null
|
||||
auth_text_simple:
|
||||
description:
|
||||
- Specifies a password for simple authentication.
|
||||
The value is a string of 1 to 8 characters.
|
||||
required: false
|
||||
default: null
|
||||
auth_key_id:
|
||||
description:
|
||||
- Authentication key id when C(auth_mode) is 'hmac-sha256', 'md5' or 'hmac-md5.
|
||||
Valid value is an integer is in the range from 1 to 255.
|
||||
required: false
|
||||
default: null
|
||||
auth_text_md5:
|
||||
description:
|
||||
- Specifies a password for MD5, HMAC-MD5, or HMAC-SHA256 authentication.
|
||||
The value is a string of 1 to 255 case-sensitive characters, spaces not supported.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Determines whether the config should be present or not
|
||||
on the device.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
"""
|
||||
|
|
|
@ -42,17 +42,12 @@ options:
|
|||
addr:
|
||||
description:
|
||||
- IPv4 or IPv6 Address.
|
||||
required: false
|
||||
default: null
|
||||
mask:
|
||||
description:
|
||||
- Subnet mask for IPv4 or IPv6 Address in decimal format.
|
||||
required: false
|
||||
default: null
|
||||
version:
|
||||
description:
|
||||
- IP address version.
|
||||
required: false
|
||||
default: v4
|
||||
choices: ['v4','v6']
|
||||
ipv4_type:
|
||||
|
@ -61,13 +56,11 @@ options:
|
|||
The value is an enumerated type.
|
||||
main, primary IP address.
|
||||
sub, secondary IP address.
|
||||
required: false
|
||||
default: main
|
||||
choices: ['main','sub']
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -33,55 +33,37 @@ options:
|
|||
dfs_group_id:
|
||||
description:
|
||||
- ID of a DFS group. The value is 1.
|
||||
required: false
|
||||
default: present
|
||||
nickname:
|
||||
description:
|
||||
- The nickname bound to a DFS group. The value is an integer that ranges from 1 to 65471.
|
||||
required: false
|
||||
default: null
|
||||
pseudo_nickname:
|
||||
description:
|
||||
- A pseudo nickname of a DFS group. The value is an integer that ranges from 1 to 65471.
|
||||
required: false
|
||||
default: null
|
||||
pseudo_priority:
|
||||
description:
|
||||
- The priority of a pseudo nickname. The value is an integer that ranges from 128 to 255.
|
||||
The default value is 192. A larger value indicates a higher priority.
|
||||
required: false
|
||||
default: null
|
||||
ip_address:
|
||||
description:
|
||||
- IP address bound to the DFS group. The value is in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
vpn_instance_name:
|
||||
description:
|
||||
- Name of the VPN instance bound to the DFS group. The value is a string of 1 to 31 case-sensitive
|
||||
characters without spaces. If the character string is quoted by double quotation marks, the character
|
||||
string can contain spaces. The value _public_ is reserved and cannot be used as the VPN instance name.
|
||||
required: false
|
||||
default: null
|
||||
priority_id:
|
||||
description:
|
||||
- Priority of a DFS group. The value is an integer that ranges from 1 to 254. The default value is 100.
|
||||
required: false
|
||||
default: null
|
||||
eth_trunk_id:
|
||||
description:
|
||||
- Name of the peer-link interface. The value is in the range from 0 to 511.
|
||||
required: false
|
||||
default: null
|
||||
peer_link_id:
|
||||
description:
|
||||
- Number of the peer-link interface. The value is 1.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -33,46 +33,32 @@ options:
|
|||
eth_trunk_id:
|
||||
description:
|
||||
- Name of the local M-LAG interface. The value is ranging from 0 to 511.
|
||||
required: false
|
||||
default: null
|
||||
dfs_group_id:
|
||||
description:
|
||||
- ID of a DFS group.The value is 1.
|
||||
required: false
|
||||
default: present
|
||||
mlag_id:
|
||||
description:
|
||||
- ID of the M-LAG. The value is an integer that ranges from 1 to 2048.
|
||||
required: false
|
||||
default: null
|
||||
mlag_system_id:
|
||||
description:
|
||||
- M-LAG global LACP system MAC address. The value is a string of 0 to 255 characters. The default value
|
||||
is the MAC address of the Ethernet port of MPU.
|
||||
required: false
|
||||
default: null
|
||||
mlag_priority_id:
|
||||
description:
|
||||
- M-LAG global LACP system priority. The value is an integer ranging from 0 to 65535.
|
||||
The default value is 32768.
|
||||
required: false
|
||||
default: null
|
||||
interface:
|
||||
description:
|
||||
- Name of the interface that enters the Error-Down state when the peer-link fails.
|
||||
The value is a string of 1 to 63 characters.
|
||||
required: false
|
||||
default: null
|
||||
mlag_error_down:
|
||||
description:
|
||||
- Configure the interface on the slave device to enter the Error-Down state.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable','disable']
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
|
||||
|
|
|
@ -35,31 +35,22 @@ options:
|
|||
interface:
|
||||
description:
|
||||
- Full name of interface, i.e. 40GE1/0/22.
|
||||
required: false
|
||||
default: null
|
||||
mtu:
|
||||
description:
|
||||
- MTU for a specific interface.
|
||||
The value is an integer ranging from 46 to 9600, in bytes.
|
||||
required: false
|
||||
default: null
|
||||
jumbo_max:
|
||||
description:
|
||||
- Maximum frame size. The default value is 9216.
|
||||
The value is an integer and expressed in bytes. The value range is 1536 to 12224 for the CE12800
|
||||
and 1536 to 12288 for ToR switches.
|
||||
required: false
|
||||
default: null
|
||||
jumbo_min:
|
||||
description:
|
||||
- Non-jumbo frame size threshod. The default value is 1518.
|
||||
The value is an integer that ranges from 1518 to jumbo_max, in bytes.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -33,31 +33,23 @@ options:
|
|||
- Netstream timeout interval.
|
||||
If is active type the interval is 1-60.
|
||||
If is inactive ,the interval is 5-600.
|
||||
required: false
|
||||
default: 30
|
||||
type:
|
||||
description:
|
||||
- Specifies the packet type of netstream timeout active interval.
|
||||
required: false
|
||||
choices: ['ip', 'vxlan']
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
choices: ['present', 'absent']
|
||||
default: present
|
||||
timeout_type:
|
||||
description:
|
||||
- Netstream timeout type.
|
||||
required: false
|
||||
choices: ['active', 'inactive', 'tcp-session', 'manual']
|
||||
default: null
|
||||
manual_slot:
|
||||
description:
|
||||
- Specifies the slot number of netstream manual timeout.
|
||||
required: false
|
||||
default: null
|
||||
"""
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -35,52 +35,37 @@ options:
|
|||
- Specifies NetStream feature.
|
||||
required: true
|
||||
choices: ['ip', 'vxlan']
|
||||
default: null
|
||||
source_ip:
|
||||
description:
|
||||
- Specifies source address which can be IPv6 or IPv4 of the exported NetStream packet.
|
||||
required: false
|
||||
default: null
|
||||
host_ip:
|
||||
description:
|
||||
- Specifies destination address which can be IPv6 or IPv4 of the exported NetStream packet.
|
||||
required: false
|
||||
default: null
|
||||
host_port:
|
||||
description:
|
||||
- Specifies the destination UDP port number of the exported packets.
|
||||
The value is an integer that ranges from 1 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
host_vpn:
|
||||
description:
|
||||
- Specifies the VPN instance of the exported packets carrying flow statistics.
|
||||
Ensure the VPN instance has been created on the device.
|
||||
required: false
|
||||
default: null
|
||||
version:
|
||||
description:
|
||||
- Sets the version of exported packets.
|
||||
required: false
|
||||
choices: ['5', '9']
|
||||
default: null
|
||||
as_option:
|
||||
description:
|
||||
- Specifies the AS number recorded in the statistics as the original or the peer AS number.
|
||||
required: false
|
||||
choices: ['origin', 'peer']
|
||||
default: null
|
||||
bgp_nexthop:
|
||||
description:
|
||||
- Configures the statistics to carry BGP next hop information. Currently, only V9 supports the exported
|
||||
packets carrying BGP next hop information.
|
||||
required: false
|
||||
choices: ['enable','disable']
|
||||
default: 'disable'
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
choices: ['present','absent']
|
||||
default: present
|
||||
'''
|
||||
|
|
|
@ -31,46 +31,34 @@ options:
|
|||
type:
|
||||
description:
|
||||
- Specifies the type of netstream global.
|
||||
required: false
|
||||
choices: ['ip', 'vxlan']
|
||||
default: 'ip'
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
choices: ['present', 'absent']
|
||||
default: present
|
||||
interface:
|
||||
description:
|
||||
- Netstream global interface.
|
||||
required: true
|
||||
default: null
|
||||
sampler_interval:
|
||||
description:
|
||||
- Specifies the netstream sampler interval, length is 1 - 65535.
|
||||
required: false
|
||||
default: null
|
||||
sampler_direction:
|
||||
description:
|
||||
- Specifies the netstream sampler direction.
|
||||
required: false
|
||||
choices: ['inbound', 'outbound']
|
||||
default: null
|
||||
statistics_direction:
|
||||
description:
|
||||
- Specifies the netstream statistic direction.
|
||||
required: false
|
||||
choices: ['inbound', 'outbound']
|
||||
default: null
|
||||
statistics_record:
|
||||
description:
|
||||
- Specifies the flexible netstream statistic record, length is 1 - 32.
|
||||
required: false
|
||||
default: null
|
||||
index_switch:
|
||||
description:
|
||||
- Specifies the netstream index-switch.
|
||||
required: false
|
||||
choices: ['16', '32']
|
||||
default: '16'
|
||||
"""
|
||||
|
|
|
@ -33,7 +33,6 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
type:
|
||||
|
@ -45,32 +44,22 @@ options:
|
|||
description:
|
||||
- Configure the name of netstream record.
|
||||
The value is a string of 1 to 32 case-insensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
match:
|
||||
description:
|
||||
- Configure flexible flow statistics template keywords.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['destination-address', 'destination-port', 'tos', 'protocol', 'source-address', 'source-port']
|
||||
collect_counter:
|
||||
description:
|
||||
- Configure the number of packets and bytes that are included in the flexible flow statistics sent to NSC.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['bytes', 'packets']
|
||||
collect_interface:
|
||||
description:
|
||||
- Configure the input or output interface that are included in the flexible flow statistics sent to NSC.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['input', 'output']
|
||||
description:
|
||||
description:
|
||||
- Configure the description of netstream record.
|
||||
The value is a string of 1 to 80 case-insensitive characters.
|
||||
required: false
|
||||
default: null
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -33,29 +33,20 @@ options:
|
|||
server:
|
||||
description:
|
||||
- Network address of NTP server.
|
||||
required: false
|
||||
default: null
|
||||
peer:
|
||||
description:
|
||||
- Network address of NTP peer.
|
||||
required: false
|
||||
default: null
|
||||
key_id:
|
||||
description:
|
||||
- Authentication key identifier to use with given NTP server or peer.
|
||||
required: false
|
||||
default: null
|
||||
is_preferred:
|
||||
description:
|
||||
- Makes given NTP server or peer the preferred NTP server or peer for the device.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
vpn_name:
|
||||
description:
|
||||
- Makes the device communicate with the given
|
||||
NTP server or peer over a specific vpn.
|
||||
required: false
|
||||
default: '_public_'
|
||||
source_int:
|
||||
description:
|
||||
|
@ -63,12 +54,9 @@ options:
|
|||
Must be fully qualified interface name, i.e. C(40GE1/0/22), C(vlanif10).
|
||||
Interface types, such as C(10GE), C(40GE), C(100GE), C(Eth-Trunk), C(LoopBack),
|
||||
C(MEth), C(NULL), C(Tunnel), C(Vlanif).
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -43,39 +43,30 @@ options:
|
|||
auth_pwd:
|
||||
description:
|
||||
- Plain text with length of 1 to 255, encrypted text with length of 20 to 392.
|
||||
required: false
|
||||
default: null
|
||||
auth_mode:
|
||||
description:
|
||||
- Specify authentication algorithm.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['hmac-sha256', 'md5']
|
||||
auth_type:
|
||||
description:
|
||||
- Whether the given password is in cleartext or
|
||||
has been encrypted. If in cleartext, the device
|
||||
will encrypt it before storing it.
|
||||
required: false
|
||||
default: encrypt
|
||||
choices: ['text', 'encrypt']
|
||||
trusted_key:
|
||||
description:
|
||||
- Whether the given key is required to be supplied by a time source
|
||||
for the device to synchronize to the time source.
|
||||
required: false
|
||||
default: 'disable'
|
||||
choices: ['enable', 'disable']
|
||||
authentication:
|
||||
description:
|
||||
- Configure ntp authentication enable or unconfigure ntp authentication enable.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -39,67 +39,46 @@ options:
|
|||
- Specifies the area ID. The area with the area-id being 0 is a backbone area.
|
||||
Valid values are a string, formatted as an IP address
|
||||
(i.e. "0.0.0.0") or as an integer between 1 and 4294967295.
|
||||
required: false
|
||||
default: null
|
||||
addr:
|
||||
description:
|
||||
- Specifies the address of the network segment where the interface resides.
|
||||
The value is in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
mask:
|
||||
description:
|
||||
- IP network wildcard bits in decimal format between 0 and 32.
|
||||
required: false
|
||||
default: null
|
||||
auth_mode:
|
||||
description:
|
||||
- Specifies the authentication type.
|
||||
required: false
|
||||
choices: ['none', 'hmac-sha256', 'md5', 'hmac-md5', 'simple']
|
||||
default: null
|
||||
auth_text_simple:
|
||||
description:
|
||||
- Specifies a password for simple authentication.
|
||||
The value is a string of 1 to 8 characters.
|
||||
required: false
|
||||
default: null
|
||||
auth_key_id:
|
||||
description:
|
||||
- Authentication key id when C(auth_mode) is 'hmac-sha256', 'md5' or 'hmac-md5.
|
||||
Valid value is an integer is in the range from 1 to 255.
|
||||
required: false
|
||||
default: null
|
||||
auth_text_md5:
|
||||
description:
|
||||
- Specifies a password for MD5, HMAC-MD5, or HMAC-SHA256 authentication.
|
||||
The value is a string of 1 to 255 case-sensitive characters, spaces not supported.
|
||||
required: false
|
||||
default: null
|
||||
nexthop_addr:
|
||||
description:
|
||||
- IPv4 address for configure next-hop address's weight.
|
||||
Valid values are a string, formatted as an IP address.
|
||||
required: false
|
||||
default: null
|
||||
nexthop_weight:
|
||||
description:
|
||||
- Indicates the weight of the next hop.
|
||||
The smaller the value is, the higher the preference of the route is.
|
||||
It is an integer that ranges from 1 to 254.
|
||||
required: false
|
||||
default: null
|
||||
max_load_balance:
|
||||
description:
|
||||
- The maximum number of paths for forward packets over multiple paths.
|
||||
Valid value is an integer in the range from 1 to 64.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Determines whether the config should be present or not
|
||||
on the device.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -34,95 +34,71 @@ options:
|
|||
- The ID of the ospf process.
|
||||
Valid values are an integer, 1 - 4294967295, the default value is 1.
|
||||
required: true
|
||||
default: null
|
||||
route_id:
|
||||
description:
|
||||
- Specifies the ospf private route id,.
|
||||
Valid values are a string, formatted as an IP address
|
||||
(i.e. "10.1.1.1") the length is 0 - 20.
|
||||
required: false
|
||||
default: null
|
||||
vrf:
|
||||
description:
|
||||
- Specifies the vpn instance which use ospf,length is 1 - 31.
|
||||
Valid values are a string.
|
||||
required: false
|
||||
default: _public_
|
||||
description:
|
||||
description:
|
||||
- Specifies the description information of ospf process.
|
||||
required: false
|
||||
default: null
|
||||
bandwidth:
|
||||
description:
|
||||
- Specifies the reference bandwidth used to assign ospf cost.
|
||||
Valid values are an integer, in Mbps, 1 - 2147483648, the default value is 100.
|
||||
required: false
|
||||
default: null
|
||||
lsaalflag:
|
||||
description:
|
||||
- Specifies the mode of timer to calculate interval of arrive LSA.
|
||||
If set the parameter but not specifies value, the default will be used.
|
||||
If true use general timer.
|
||||
If false use intelligent timer.
|
||||
required: false
|
||||
default: False
|
||||
type: bool
|
||||
default: 'no'
|
||||
lsaainterval:
|
||||
description:
|
||||
- Specifies the interval of arrive LSA when use the general timer.
|
||||
Valid value is an integer, in millisecond, from 0 to 10000.
|
||||
required: false
|
||||
default: null
|
||||
lsaamaxinterval:
|
||||
description:
|
||||
- Specifies the max interval of arrive LSA when use the intelligent timer.
|
||||
Valid value is an integer, in millisecond, from 0 to 10000, the default value is 1000.
|
||||
required: false
|
||||
default: null
|
||||
lsaastartinterval:
|
||||
description:
|
||||
- Specifies the start interval of arrive LSA when use the intelligent timer.
|
||||
Valid value is an integer, in millisecond, from 0 to 10000, the default value is 500.
|
||||
required: false
|
||||
default: null
|
||||
lsaaholdinterval:
|
||||
description:
|
||||
- Specifies the hold interval of arrive LSA when use the intelligent timer.
|
||||
Valid value is an integer, in millisecond, from 0 to 10000, the default value is 500.
|
||||
required: false
|
||||
default: null
|
||||
lsaointervalflag:
|
||||
description:
|
||||
- Specifies whether cancel the interval of LSA originate or not.
|
||||
If set the parameter but noe specifies value, the default will be used.
|
||||
true:cancel the interval of LSA originate, the interval is 0.
|
||||
false:do not cancel the interval of LSA originate.
|
||||
required: false
|
||||
default: False
|
||||
type: bool
|
||||
default: 'no'
|
||||
lsaointerval:
|
||||
description:
|
||||
- Specifies the interval of originate LSA .
|
||||
Valid value is an integer, in second, from 0 to 10, the default value is 5.
|
||||
required: false
|
||||
default: null
|
||||
lsaomaxinterval:
|
||||
description:
|
||||
- Specifies the max interval of originate LSA .
|
||||
Valid value is an integer, in millisecond, from 1 to 10000, the default value is 5000.
|
||||
required: false
|
||||
default: null
|
||||
lsaostartinterval:
|
||||
description:
|
||||
- Specifies the start interval of originate LSA .
|
||||
Valid value is an integer, in millisecond, from 0 to 1000, the default value is 500.
|
||||
required: false
|
||||
default: null
|
||||
lsaoholdinterval:
|
||||
description:
|
||||
- Specifies the hold interval of originate LSA .
|
||||
Valid value is an integer, in millisecond, from 0 to 5000, the default value is 1000.
|
||||
required: false
|
||||
default: null
|
||||
spfintervaltype:
|
||||
description:
|
||||
- Specifies the mode of timer which used to calculate SPF.
|
||||
|
@ -130,43 +106,31 @@ options:
|
|||
If is intelligent-timer, then use intelligent timer.
|
||||
If is timer, then use second level timer.
|
||||
If is millisecond, then use millisecond level timer.
|
||||
required: false
|
||||
choices: ['intelligent-timer','timer','millisecond']
|
||||
default: intelligent-timer
|
||||
spfinterval:
|
||||
description:
|
||||
- Specifies the interval to calculate SPF when use second level timer.
|
||||
Valid value is an integer, in second, from 1 to 10.
|
||||
required: false
|
||||
default: null
|
||||
spfintervalmi:
|
||||
description:
|
||||
- Specifies the interval to calculate SPF when use millisecond level timer.
|
||||
Valid value is an integer, in millisecond, from 1 to 10000.
|
||||
required: false
|
||||
default: null
|
||||
spfmaxinterval:
|
||||
description:
|
||||
- Specifies the max interval to calculate SPF when use intelligent timer.
|
||||
Valid value is an integer, in millisecond, from 1 to 20000, the default value is 5000.
|
||||
required: false
|
||||
default: null
|
||||
spfstartinterval:
|
||||
description:
|
||||
- Specifies the start interval to calculate SPF when use intelligent timer.
|
||||
Valid value is an integer, in millisecond, from 1 to 1000, the default value is 50.
|
||||
required: false
|
||||
default: null
|
||||
spfholdinterval:
|
||||
description:
|
||||
- Specifies the hold interval to calculate SPF when use intelligent timer.
|
||||
Valid value is an integer, in millisecond, from 1 to 5000, the default value is 200.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
choices: ['present', 'absent']
|
||||
default: present
|
||||
'''
|
||||
|
|
|
@ -35,33 +35,24 @@ options:
|
|||
- Specifies the label of the configuration rollback point to which system configurations are
|
||||
expected to roll back.
|
||||
The value is an integer that the system generates automatically.
|
||||
required: false
|
||||
label:
|
||||
description:
|
||||
- Specifies a user label for a configuration rollback point.
|
||||
The value is a string of 1 to 256 case-sensitive ASCII characters, spaces not supported.
|
||||
The value must start with a letter and cannot be presented in a single hyphen (-).
|
||||
required: false
|
||||
default: null
|
||||
filename:
|
||||
description:
|
||||
- Specifies a configuration file for configuration rollback.
|
||||
The value is a string of 5 to 64 case-sensitive characters in the format of *.zip, *.cfg, or *.dat,
|
||||
spaces not supported.
|
||||
required: false
|
||||
default: null
|
||||
last:
|
||||
description:
|
||||
- Specifies the number of configuration rollback points.
|
||||
The value is an integer that ranges from 1 to 80.
|
||||
required: false
|
||||
default: null
|
||||
oldest:
|
||||
description:
|
||||
- Specifies the number of configuration rollback points.
|
||||
The value is an integer that ranges from 1 to 80.
|
||||
required: false
|
||||
default: null
|
||||
action:
|
||||
description:
|
||||
- The operation of configuration rollback.
|
||||
|
|
|
@ -34,45 +34,31 @@ options:
|
|||
agent_ip:
|
||||
description:
|
||||
- Specifies the IPv4/IPv6 address of an sFlow agent.
|
||||
required: false
|
||||
default: null
|
||||
source_ip:
|
||||
description:
|
||||
- Specifies the source IPv4/IPv6 address of sFlow packets.
|
||||
required: false
|
||||
default: null
|
||||
collector_id:
|
||||
description:
|
||||
- Specifies the ID of an sFlow collector. This ID is used when you specify
|
||||
the collector in subsequent sFlow configuration.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['1', '2']
|
||||
collector_ip:
|
||||
description:
|
||||
- Specifies the IPv4/IPv6 address of the sFlow collector.
|
||||
required: false
|
||||
default: null
|
||||
collector_ip_vpn:
|
||||
description:
|
||||
- Specifies the name of a VPN instance.
|
||||
The value is a string of 1 to 31 case-sensitive characters, spaces not supported.
|
||||
When double quotation marks are used around the string, spaces are allowed in the string.
|
||||
The value C(_public_) is reserved and cannot be used as the VPN instance name.
|
||||
required: false
|
||||
default: null
|
||||
collector_datagram_size:
|
||||
description:
|
||||
- Specifies the maximum length of sFlow packets sent from an sFlow agent to an sFlow collector.
|
||||
The value is an integer, in bytes. It ranges from 1024 to 8100. The default value is 1400.
|
||||
required: false
|
||||
default: null
|
||||
collector_udp_port:
|
||||
description:
|
||||
- Specifies the UDP destination port number of sFlow packets.
|
||||
The value is an integer that ranges from 1 to 65535. The default value is 6343.
|
||||
required: false
|
||||
default: null
|
||||
collector_meth:
|
||||
description:
|
||||
- Configures the device to send sFlow packets through service interfaces,
|
||||
|
@ -83,75 +69,51 @@ options:
|
|||
When the value is meth, the device forwards sFlow packets at the control plane.
|
||||
When the value is enhanced, the device forwards sFlow packets at the forwarding plane to
|
||||
enhance the sFlow packet forwarding capacity.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['meth', 'enhanced']
|
||||
collector_description:
|
||||
description:
|
||||
- Specifies the description of an sFlow collector.
|
||||
The value is a string of 1 to 255 case-sensitive characters without spaces.
|
||||
required: false
|
||||
default: null
|
||||
sflow_interface:
|
||||
description:
|
||||
- Full name of interface for Flow Sampling or Counter.
|
||||
It must be a physical interface, Eth-Trunk, or Layer 2 subinterface.
|
||||
required: false
|
||||
default: null
|
||||
sample_collector:
|
||||
description:
|
||||
- Indicates the ID list of the collector.
|
||||
required: false
|
||||
default: null
|
||||
sample_rate:
|
||||
description:
|
||||
- Specifies the flow sampling rate in the format 1/rate.
|
||||
The value is an integer and ranges from 1 to 4294967295. The default value is 8192.
|
||||
required: false
|
||||
default: null
|
||||
sample_length:
|
||||
description:
|
||||
- Specifies the maximum length of sampled packets.
|
||||
The value is an integer and ranges from 18 to 512, in bytes. The default value is 128.
|
||||
required: false
|
||||
default: null
|
||||
sample_direction:
|
||||
description:
|
||||
- Enables flow sampling in the inbound or outbound direction.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['inbound', 'outbound', 'both']
|
||||
counter_collector:
|
||||
description:
|
||||
- Indicates the ID list of the counter collector.
|
||||
required: false
|
||||
default: null
|
||||
counter_interval:
|
||||
description:
|
||||
- Indicates the counter sampling interval.
|
||||
The value is an integer that ranges from 10 to 4294967295, in seconds. The default value is 20.
|
||||
required: false
|
||||
default: null
|
||||
export_route:
|
||||
description:
|
||||
- Configures the sFlow packets sent by the switch not to carry routing information.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
rate_limit:
|
||||
description:
|
||||
- Specifies the rate of sFlow packets sent from a card to the control plane.
|
||||
The value is an integer that ranges from 100 to 1500, in pps.
|
||||
required: false
|
||||
default: null
|
||||
rate_limit_slot:
|
||||
description:
|
||||
- Specifies the slot where the rate of output sFlow packets is limited.
|
||||
If this parameter is not specified, the rate of sFlow packets sent from
|
||||
all cards to the control plane is limited.
|
||||
The value is an integer or a string of characters.
|
||||
required: false
|
||||
default: null
|
||||
forward_enp_slot:
|
||||
description:
|
||||
- Enable the Embedded Network Processor (ENP) chip function.
|
||||
|
@ -160,13 +122,10 @@ options:
|
|||
If you set the sampling interval to be larger than 65535,
|
||||
the switch automatically restores it to 65535.
|
||||
The value is an integer or 'all'.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Determines whether the config should be present or not
|
||||
on the device.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
"""
|
||||
|
|
|
@ -33,54 +33,35 @@ options:
|
|||
acl_number:
|
||||
description:
|
||||
- Access control list number.
|
||||
required: false
|
||||
default: null
|
||||
community_name:
|
||||
description:
|
||||
- Unique name to identify the community.
|
||||
required: false
|
||||
default: null
|
||||
access_right:
|
||||
description:
|
||||
- Access right read or write.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['read','write']
|
||||
community_mib_view:
|
||||
description:
|
||||
- Mib view name.
|
||||
required: false
|
||||
default: null
|
||||
group_name:
|
||||
description:
|
||||
- Unique name to identify the SNMPv3 group.
|
||||
required: false
|
||||
default: null
|
||||
security_level:
|
||||
description:
|
||||
- Security level indicating whether to use authentication and encryption.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['noAuthNoPriv', 'authentication', 'privacy']
|
||||
read_view:
|
||||
description:
|
||||
- Mib view name for read.
|
||||
required: false
|
||||
default: null
|
||||
write_view:
|
||||
description:
|
||||
- Mib view name for write.
|
||||
required: false
|
||||
default: null
|
||||
notify_view:
|
||||
description:
|
||||
- Mib view name for notification.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -34,11 +34,9 @@ options:
|
|||
description:
|
||||
- Contact information.
|
||||
required: true
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -34,11 +34,9 @@ options:
|
|||
description:
|
||||
- Location information.
|
||||
required: true
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -33,73 +33,48 @@ options:
|
|||
version:
|
||||
description:
|
||||
- Version(s) Supported by SNMP Engine.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['none', 'v1', 'v2c', 'v3', 'v1v2c', 'v1v3', 'v2cv3', 'all']
|
||||
connect_port:
|
||||
description:
|
||||
- Udp port used by SNMP agent to connect the Network management.
|
||||
required: false
|
||||
default: null
|
||||
host_name:
|
||||
description:
|
||||
- Unique name to identify target host entry.
|
||||
required: false
|
||||
default: null
|
||||
address:
|
||||
description:
|
||||
- Network Address.
|
||||
required: false
|
||||
default: null
|
||||
notify_type:
|
||||
description:
|
||||
- To configure notify type as trap or inform.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['trap','inform']
|
||||
vpn_name:
|
||||
description:
|
||||
- VPN instance Name.
|
||||
required: false
|
||||
default: null
|
||||
recv_port:
|
||||
description:
|
||||
- UDP Port number used by network management to receive alarm messages.
|
||||
required: false
|
||||
default: null
|
||||
security_model:
|
||||
description:
|
||||
- Security Model.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['v1','v2c', 'v3']
|
||||
security_name:
|
||||
description:
|
||||
- Security Name.
|
||||
required: false
|
||||
default: null
|
||||
security_name_v3:
|
||||
description:
|
||||
- Security Name V3.
|
||||
required: false
|
||||
default: null
|
||||
security_level:
|
||||
description:
|
||||
- Security level indicating whether to use authentication and encryption.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['noAuthNoPriv','authentication', 'privacy']
|
||||
is_public_net:
|
||||
description:
|
||||
- To enable or disable Public Net-manager for target Host.
|
||||
required: false
|
||||
default: no_use
|
||||
choices: ['no_use','true','false']
|
||||
interface_name:
|
||||
description:
|
||||
- Name of the interface to send the trap message.
|
||||
required: false
|
||||
default: null
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -33,8 +33,6 @@ options:
|
|||
feature_name:
|
||||
description:
|
||||
- Alarm feature name.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['aaa', 'arp', 'bfd', 'bgp', 'cfg', 'configuration', 'dad', 'devm',
|
||||
'dhcpsnp', 'dldp', 'driver', 'efm', 'erps', 'error-down', 'fcoe',
|
||||
'fei', 'fei_comm', 'fm', 'ifnet', 'info', 'ipsg', 'ipv6', 'isis',
|
||||
|
@ -47,25 +45,17 @@ options:
|
|||
trap_name:
|
||||
description:
|
||||
- Alarm trap name.
|
||||
required: false
|
||||
default: null
|
||||
interface_type:
|
||||
description:
|
||||
- Interface type.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['Ethernet', 'Eth-Trunk', 'Tunnel', 'NULL', 'LoopBack', 'Vlanif', '100GE',
|
||||
'40GE', 'MTunnel', '10GE', 'GE', 'MEth', 'Vbdif', 'Nve']
|
||||
interface_number:
|
||||
description:
|
||||
- Interface number.
|
||||
required: false
|
||||
default: null
|
||||
port_number:
|
||||
description:
|
||||
- Source port number.
|
||||
required: false
|
||||
default: null
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -33,50 +33,32 @@ options:
|
|||
acl_number:
|
||||
description:
|
||||
- Access control list number.
|
||||
required: false
|
||||
default: null
|
||||
usm_user_name:
|
||||
description:
|
||||
- Unique name to identify the USM user.
|
||||
required: false
|
||||
default: null
|
||||
aaa_local_user:
|
||||
description:
|
||||
- Unique name to identify the local user.
|
||||
required: false
|
||||
default: null
|
||||
remote_engine_id:
|
||||
description:
|
||||
- Remote engine id of the USM user.
|
||||
required: false
|
||||
default: null
|
||||
user_group:
|
||||
description:
|
||||
- Name of the group where user belongs to.
|
||||
required: false
|
||||
default: null
|
||||
auth_protocol:
|
||||
description:
|
||||
- Authentication protocol.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['noAuth', 'md5', 'sha']
|
||||
auth_key:
|
||||
description:
|
||||
- The authentication password. Password length, 8-255 characters.
|
||||
required: false
|
||||
default: null
|
||||
priv_protocol:
|
||||
description:
|
||||
- Encryption protocol.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['noPriv', 'des56', '3des168', 'aes128', 'aes192', 'aes256']
|
||||
priv_key:
|
||||
description:
|
||||
- The encryption password. Password length 8-255 characters.
|
||||
required: false
|
||||
default: null
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -34,31 +34,22 @@ options:
|
|||
description:
|
||||
- Name of the configuration file that is applied for the next startup.
|
||||
The value is a string of 5 to 255 characters.
|
||||
required: false
|
||||
default: present
|
||||
software_file:
|
||||
description:
|
||||
- File name of the system software that is applied for the next startup.
|
||||
The value is a string of 5 to 255 characters.
|
||||
required: false
|
||||
default: null
|
||||
patch_file:
|
||||
description:
|
||||
- Name of the patch file that is applied for the next startup.
|
||||
required: false
|
||||
default: null
|
||||
slot:
|
||||
description:
|
||||
- Position of the device.The value is a string of 1 to 32 characters.
|
||||
The possible value of slot is all, slave-board, or the specific slotID.
|
||||
required: false
|
||||
default: null
|
||||
action:
|
||||
description:
|
||||
- Display the startup information.
|
||||
required: false
|
||||
choices: ['display']
|
||||
default: null
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -48,42 +48,27 @@ options:
|
|||
next_hop:
|
||||
description:
|
||||
- Next hop address of static route.
|
||||
required: false
|
||||
default: null
|
||||
nhp_interface:
|
||||
description:
|
||||
- Next hop interface full name of static route.
|
||||
required: false
|
||||
default: null
|
||||
vrf:
|
||||
description:
|
||||
- VPN instance of destination ip address.
|
||||
required: false
|
||||
default: null
|
||||
destvrf:
|
||||
description:
|
||||
- VPN instance of next hop ip address.
|
||||
required: false
|
||||
default: null
|
||||
tag:
|
||||
description:
|
||||
- Route tag value (numeric).
|
||||
required: false
|
||||
default: null
|
||||
description:
|
||||
description:
|
||||
- Name of the route. Used with the name parameter on the CLI.
|
||||
required: false
|
||||
default: null
|
||||
pref:
|
||||
description:
|
||||
- Preference or administrative difference of route (range 1-255).
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
choices: ['present','absent']
|
||||
default: present
|
||||
'''
|
||||
|
|
|
@ -33,92 +33,65 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
stp_mode:
|
||||
description:
|
||||
- Set an operation mode for the current MSTP process.
|
||||
The mode can be STP, RSTP, or MSTP.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['stp', 'rstp', 'mstp']
|
||||
stp_enable:
|
||||
description:
|
||||
- Enable or disable STP on a switch.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
stp_converge:
|
||||
description:
|
||||
- STP convergence mode.
|
||||
Fast means set STP aging mode to Fast.
|
||||
Normal means set STP aging mode to Normal.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['fast', 'normal']
|
||||
bpdu_protection:
|
||||
description:
|
||||
- Configure BPDU protection on an edge port.
|
||||
This function prevents network flapping caused by attack packets.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
tc_protection:
|
||||
description:
|
||||
- Configure the TC BPDU protection function for an MSTP process.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
tc_protection_interval:
|
||||
description:
|
||||
- Set the time the MSTP device takes to handle the maximum number of TC BPDUs
|
||||
and immediately refresh forwarding entries.
|
||||
The value is an integer ranging from 1 to 600, in seconds.
|
||||
required: false
|
||||
default: null
|
||||
tc_protection_threshold:
|
||||
description:
|
||||
- Set the maximum number of TC BPDUs that the MSTP can handle.
|
||||
The value is an integer ranging from 1 to 255. The default value is 1 on the switch.
|
||||
required: false
|
||||
default: null
|
||||
interface:
|
||||
description:
|
||||
- Interface name.
|
||||
If the value is C(all), will apply configuration to all interfaces.
|
||||
if the value is a special name, only support input the full name.
|
||||
required: false
|
||||
default: null
|
||||
edged_port:
|
||||
description:
|
||||
- Set the current port as an edge port.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
bpdu_filter:
|
||||
description:
|
||||
- Specify a port as a BPDU filter port.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
cost:
|
||||
description:
|
||||
- Set the path cost of the current port.
|
||||
The default instance is 0.
|
||||
required: false
|
||||
default: null
|
||||
root_protection:
|
||||
description:
|
||||
- Enable root protection on the current port.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
loop_protection:
|
||||
description:
|
||||
- Enable loop protection on the current port.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['enable', 'disable']
|
||||
'''
|
||||
|
||||
|
|
|
@ -42,33 +42,23 @@ options:
|
|||
description:
|
||||
- Full name of the interface, i.e. 40GE1/0/22.
|
||||
required: true
|
||||
default: null
|
||||
mode:
|
||||
description:
|
||||
- The link type of an interface.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['access','trunk']
|
||||
access_vlan:
|
||||
description:
|
||||
- If C(mode=access), used as the access VLAN ID, in the range from 1 to 4094.
|
||||
required: false
|
||||
default: null
|
||||
native_vlan:
|
||||
description:
|
||||
- If C(mode=trunk), used as the trunk native VLAN ID, in the range from 1 to 4094.
|
||||
required: false
|
||||
default: null
|
||||
trunk_vlans:
|
||||
description:
|
||||
- If C(mode=trunk), used as the VLAN range to ADD or REMOVE
|
||||
from the trunk, such as 2-10 or 2,5,10-15, etc.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent', 'unconfigured']
|
||||
'''
|
||||
|
|
|
@ -32,27 +32,18 @@ options:
|
|||
vlan_id:
|
||||
description:
|
||||
- Single VLAN ID, in the range from 1 to 4094.
|
||||
required: false
|
||||
default: null
|
||||
vlan_range:
|
||||
description:
|
||||
- Range of VLANs such as C(2-10) or C(2,5,10-15), etc.
|
||||
required: false
|
||||
default: null
|
||||
name:
|
||||
description:
|
||||
- Name of VLAN, in the range from 1 to 31.
|
||||
required: false
|
||||
default: null
|
||||
description:
|
||||
description:
|
||||
- Specify VLAN description, in the range from 1 to 80.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -39,12 +39,9 @@ options:
|
|||
description:
|
||||
description:
|
||||
- Description of the vrf, the string length is 1 - 242 .
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
choices: ['present','absent']
|
||||
default: present
|
||||
'''
|
||||
|
|
|
@ -34,45 +34,36 @@ options:
|
|||
description:
|
||||
- VPN instance.
|
||||
required: true
|
||||
default: null
|
||||
vrf_aftype:
|
||||
description:
|
||||
- VPN instance address family.
|
||||
required: false
|
||||
choices: ['v4','v6']
|
||||
default: v4
|
||||
route_distinguisher:
|
||||
description:
|
||||
- VPN instance route distinguisher,the RD used to distinguish same route prefix from different vpn.
|
||||
The RD must be setted before setting vpn_target_value.
|
||||
required: false
|
||||
vpn_target_state:
|
||||
description:
|
||||
- Manage the state of the vpn target.
|
||||
required: false
|
||||
choices: ['present','absent']
|
||||
vpn_target_type:
|
||||
description:
|
||||
- VPN instance vpn target type.
|
||||
required: false
|
||||
choices: ['export_extcommunity', 'import_extcommunity']
|
||||
default: null
|
||||
vpn_target_value:
|
||||
description:
|
||||
- VPN instance target value. Such as X.X.X.X:number<0-65535> or number<0-65535>:number<0-4294967295>
|
||||
or number<0-65535>.number<0-65535>:number<0-65535> or number<65536-4294967295>:number<0-65535>
|
||||
but not support 0:0 and 0.0:0.
|
||||
required: false
|
||||
evpn:
|
||||
description:
|
||||
- Is extend vpn or normal vpn.
|
||||
required: false
|
||||
choices: ['true', 'false']
|
||||
default: false
|
||||
type: bool
|
||||
default: 'no'
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the af.
|
||||
required: false
|
||||
choices: ['present','absent']
|
||||
default: present
|
||||
'''
|
||||
|
|
|
@ -33,120 +33,88 @@ options:
|
|||
interface:
|
||||
description:
|
||||
- Name of an interface. The value is a string of 1 to 63 characters.
|
||||
required: false
|
||||
default: null
|
||||
vrid:
|
||||
description:
|
||||
- VRRP backup group ID.
|
||||
The value is an integer ranging from 1 to 255.
|
||||
required: false
|
||||
default: present
|
||||
virtual_ip :
|
||||
description:
|
||||
- Virtual IP address. The value is a string of 0 to 255 characters.
|
||||
required: false
|
||||
default: null
|
||||
vrrp_type:
|
||||
description:
|
||||
- Type of a VRRP backup group.
|
||||
required: false
|
||||
choices: ['normal', 'member', 'admin']
|
||||
default: null
|
||||
admin_ignore_if_down:
|
||||
description:
|
||||
- mVRRP ignores an interface Down event.
|
||||
required: false
|
||||
default: False
|
||||
type: bool
|
||||
default: 'no'
|
||||
admin_vrid:
|
||||
description:
|
||||
- Tracked mVRRP ID. The value is an integer ranging from 1 to 255.
|
||||
required: false
|
||||
default: null
|
||||
admin_interface:
|
||||
description:
|
||||
- Tracked mVRRP interface name. The value is a string of 1 to 63 characters.
|
||||
required: false
|
||||
default: null
|
||||
admin_flowdown:
|
||||
description:
|
||||
- Disable the flowdown function for service VRRP.
|
||||
required: false
|
||||
default: False
|
||||
type: bool
|
||||
default: 'no'
|
||||
priority:
|
||||
description:
|
||||
- Configured VRRP priority.
|
||||
The value ranges from 1 to 254. The default value is 100. A larger value indicates a higher priority.
|
||||
required: false
|
||||
default: null
|
||||
version:
|
||||
description:
|
||||
- VRRP version. The default version is v2.
|
||||
required: false
|
||||
choices: ['v2','v3']
|
||||
default: null
|
||||
advertise_interval:
|
||||
description:
|
||||
- Configured interval between sending advertisements, in milliseconds.
|
||||
Only the master router sends VRRP advertisements. The default value is 1000 milliseconds.
|
||||
required: false
|
||||
default: null
|
||||
preempt_timer_delay:
|
||||
description:
|
||||
- Preemption delay.
|
||||
The value is an integer ranging from 0 to 3600. The default value is 0.
|
||||
required: false
|
||||
default: null
|
||||
gratuitous_arp_interval:
|
||||
description:
|
||||
- Interval at which gratuitous ARP packets are sent, in seconds.
|
||||
The value ranges from 30 to 1200.The default value is 300.
|
||||
required: false
|
||||
default: null
|
||||
recover_delay:
|
||||
description:
|
||||
- Delay in recovering after an interface goes Up.
|
||||
The delay is used for interface flapping suppression.
|
||||
The value is an integer ranging from 0 to 3600.
|
||||
The default value is 0 seconds.
|
||||
required: false
|
||||
default: null
|
||||
holding_multiplier:
|
||||
description:
|
||||
- The configured holdMultiplier.The value is an integer ranging from 3 to 10. The default value is 3.
|
||||
required: false
|
||||
default: null
|
||||
auth_mode:
|
||||
description:
|
||||
- Authentication type used for VRRP packet exchanges between virtual routers.
|
||||
The values are noAuthentication, simpleTextPassword, md5Authentication.
|
||||
The default value is noAuthentication.
|
||||
required: false
|
||||
choices: ['simple','md5','none']
|
||||
default: null
|
||||
is_plain:
|
||||
description:
|
||||
- Select the display mode of an authentication key.
|
||||
By default, an authentication key is displayed in ciphertext.
|
||||
required: false
|
||||
default: False
|
||||
type: bool
|
||||
default: 'no'
|
||||
auth_key:
|
||||
description:
|
||||
- This object is set based on the authentication type.
|
||||
When noAuthentication is specified, the value is empty.
|
||||
When simpleTextPassword or md5Authentication is specified, the value is a string of 1 to 8 characters
|
||||
in plaintext and displayed as a blank text for security.
|
||||
required: false
|
||||
default: null
|
||||
fast_resume:
|
||||
description:
|
||||
- mVRRP's fast resume mode.
|
||||
required: false
|
||||
choices: ['enable','disable']
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Specify desired state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
|
||||
|
|
|
@ -32,67 +32,46 @@ options:
|
|||
evn_bgp:
|
||||
description:
|
||||
- Enables EVN BGP.
|
||||
required: false
|
||||
choices: ['enable', 'disable']
|
||||
default: null
|
||||
evn_source_ip:
|
||||
description:
|
||||
- Specifies the source address of an EVN BGP peer.
|
||||
The value is in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
evn_peer_ip:
|
||||
description:
|
||||
- Specifies the IP address of an EVN BGP peer.
|
||||
The value is in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
evn_server:
|
||||
description:
|
||||
- Configures the local device as the router reflector (RR) on the EVN network.
|
||||
required: false
|
||||
choices: ['enable', 'disable']
|
||||
default: null
|
||||
evn_reflect_client:
|
||||
description:
|
||||
- Configures the local device as the route reflector (RR) and its peer as the client.
|
||||
required: false
|
||||
choices: ['enable', 'disable']
|
||||
default: null
|
||||
vbdif_name:
|
||||
description:
|
||||
- Full name of VBDIF interface, i.e. Vbdif100.
|
||||
required: false
|
||||
default: null
|
||||
arp_collect_host:
|
||||
description:
|
||||
- Enables EVN BGP or BGP EVPN to collect host information.
|
||||
required: false
|
||||
choices: ['enable', 'disable']
|
||||
default: null
|
||||
host_collect_protocol:
|
||||
description:
|
||||
- Enables EVN BGP or BGP EVPN to advertise host information.
|
||||
required: false
|
||||
choices: ['bgp','none']
|
||||
default: null
|
||||
bridge_domain_id:
|
||||
description:
|
||||
- Specifies a BD(bridge domain) ID.
|
||||
The value is an integer ranging from 1 to 16777215.
|
||||
required: false
|
||||
default: null
|
||||
arp_suppress:
|
||||
description:
|
||||
- Enables ARP broadcast suppression in a BD.
|
||||
required: false
|
||||
choices: ['enable', 'disable']
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Determines whether the config should be present or not
|
||||
on the device.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
"""
|
||||
|
|
|
@ -36,101 +36,72 @@ options:
|
|||
description:
|
||||
- Specifies the ID of a DFS group.
|
||||
The value must be 1.
|
||||
required: false
|
||||
default: null
|
||||
dfs_source_ip:
|
||||
description:
|
||||
- Specifies the IPv4 address bound to a DFS group.
|
||||
The value is in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
dfs_source_vpn:
|
||||
description:
|
||||
- Specifies the name of a VPN instance bound to a DFS group.
|
||||
The value is a string of 1 to 31 case-sensitive characters without spaces.
|
||||
If the character string is quoted by double quotation marks, the character string can contain spaces.
|
||||
The value C(_public_) is reserved and cannot be used as the VPN instance name.
|
||||
required: false
|
||||
default: null
|
||||
dfs_udp_port:
|
||||
description:
|
||||
- Specifies the UDP port number of the DFS group.
|
||||
The value is an integer that ranges from 1025 to 65535.
|
||||
required: false
|
||||
default: null
|
||||
dfs_all_active:
|
||||
description:
|
||||
- Creates all-active gateways.
|
||||
required: false
|
||||
choices: ['enable', 'disable']
|
||||
default: null
|
||||
dfs_peer_ip:
|
||||
description:
|
||||
- Configure the IP address of an all-active gateway peer.
|
||||
The value is in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
dfs_peer_vpn:
|
||||
description:
|
||||
- Specifies the name of the VPN instance that is associated with all-active gateway peer.
|
||||
The value is a string of 1 to 31 case-sensitive characters, spaces not supported.
|
||||
When double quotation marks are used around the string, spaces are allowed in the string.
|
||||
The value C(_public_) is reserved and cannot be used as the VPN instance name.
|
||||
required: false
|
||||
default: null
|
||||
vpn_instance:
|
||||
description:
|
||||
- Specifies the name of a VPN instance.
|
||||
The value is a string of 1 to 31 case-sensitive characters, spaces not supported.
|
||||
When double quotation marks are used around the string, spaces are allowed in the string.
|
||||
The value C(_public_) is reserved and cannot be used as the VPN instance name.
|
||||
required: false
|
||||
default: null
|
||||
vpn_vni:
|
||||
description:
|
||||
- Specifies a VNI ID.
|
||||
Binds a VXLAN network identifier (VNI) to a virtual private network (VPN) instance.
|
||||
The value is an integer ranging from 1 to 16000000.
|
||||
required: false
|
||||
default: null
|
||||
vbdif_name:
|
||||
description:
|
||||
- Full name of VBDIF interface, i.e. Vbdif100.
|
||||
required: false
|
||||
default: null
|
||||
vbdif_bind_vpn:
|
||||
description:
|
||||
- Specifies the name of the VPN instance that is associated with the interface.
|
||||
The value is a string of 1 to 31 case-sensitive characters, spaces not supported.
|
||||
When double quotation marks are used around the string, spaces are allowed in the string.
|
||||
The value C(_public_) is reserved and cannot be used as the VPN instance name.
|
||||
required: false
|
||||
default: null
|
||||
vbdif_mac:
|
||||
description:
|
||||
- Specifies a MAC address for a VBDIF interface.
|
||||
The value is in the format of H-H-H. Each H is a 4-digit hexadecimal number, such as C(00e0) or C(fc01).
|
||||
If an H contains less than four digits, 0s are added ahead. For example, C(e0) is equal to C(00e0).
|
||||
A MAC address cannot be all 0s or 1s or a multicast MAC address.
|
||||
required: false
|
||||
default: null
|
||||
arp_distribute_gateway:
|
||||
description:
|
||||
- Enable the distributed gateway function on VBDIF interface.
|
||||
required: false
|
||||
choices: ['enable','disable']
|
||||
default: null
|
||||
arp_direct_route:
|
||||
description:
|
||||
- Enable VLINK direct route on VBDIF interface.
|
||||
required: false
|
||||
choices: ['enable','disable']
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Determines whether the config should be present or not
|
||||
on the device.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
"""
|
||||
|
|
|
@ -33,57 +33,40 @@ options:
|
|||
description:
|
||||
- Specifies a bridge domain ID.
|
||||
The value is an integer ranging from 1 to 16777215.
|
||||
required: false
|
||||
default: null
|
||||
tunnel_mode_vxlan:
|
||||
description:
|
||||
- Set the tunnel mode to VXLAN when configuring the VXLAN feature.
|
||||
required: false
|
||||
choices: ['enable', 'disable']
|
||||
default: null
|
||||
nvo3_prevent_loops:
|
||||
description:
|
||||
- Loop prevention of VXLAN traffic in non-enhanced mode.
|
||||
When the device works in non-enhanced mode,
|
||||
inter-card forwarding of VXLAN traffic may result in loops.
|
||||
required: false
|
||||
choices: ['enable', 'disable']
|
||||
default: null
|
||||
nvo3_acl_extend:
|
||||
description:
|
||||
- Enabling or disabling the VXLAN ACL extension function.
|
||||
required: false
|
||||
choices: ['enable', 'disable']
|
||||
default: null
|
||||
nvo3_gw_enhanced:
|
||||
description:
|
||||
- Configuring the Layer 3 VXLAN Gateway to Work in Non-loopback Mode.
|
||||
required: false
|
||||
choices: ['l2', 'l3']
|
||||
default: null
|
||||
nvo3_service_extend:
|
||||
description:
|
||||
- Enabling or disabling the VXLAN service extension function.
|
||||
required: false
|
||||
choices: ['enable', 'disable']
|
||||
default: null
|
||||
nvo3_eth_trunk_hash:
|
||||
description:
|
||||
- Eth-Trunk from load balancing VXLAN packets in optimized mode.
|
||||
required: false
|
||||
choices: ['enable','disable']
|
||||
default: null
|
||||
nvo3_ecmp_hash:
|
||||
description:
|
||||
- Load balancing of VXLAN packets through ECMP in optimized mode.
|
||||
required: false
|
||||
choices: ['enable', 'disable']
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Determines whether the config should be present or not
|
||||
on the device.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
"""
|
||||
|
|
|
@ -34,45 +34,30 @@ options:
|
|||
bridge_domain_id:
|
||||
description:
|
||||
- Specifies a bridge domain ID. The value is an integer ranging from 1 to 16777215.
|
||||
required: false
|
||||
default: null
|
||||
vni_id:
|
||||
description:
|
||||
- Specifies a VXLAN network identifier (VNI) ID. The value is an integer ranging from 1 to 16000000.
|
||||
required: false
|
||||
default: null
|
||||
nve_name:
|
||||
description:
|
||||
- Specifies the number of an NVE interface. The value ranges from 1 to 2.
|
||||
required: false
|
||||
default: null
|
||||
nve_mode:
|
||||
description:
|
||||
- Specifies the working mode of an NVE interface.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['mode-l2','mode-l3']
|
||||
peer_list_ip:
|
||||
description:
|
||||
- Specifies the IP address of a remote VXLAN tunnel endpoints (VTEP).
|
||||
The value is in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
protocol_type:
|
||||
description:
|
||||
- The operation type of routing protocol.
|
||||
required: false
|
||||
default: null
|
||||
choices: ['bgp','null']
|
||||
source_ip:
|
||||
description:
|
||||
- Specifies an IP address for a source VTEP. The value is in dotted decimal notation.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Manage the state of the resource.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
'''
|
||||
|
|
|
@ -33,46 +33,33 @@ options:
|
|||
description:
|
||||
- Specifies a bridge domain ID.
|
||||
The value is an integer ranging from 1 to 16777215.
|
||||
required: false
|
||||
default: null
|
||||
bind_vlan_id:
|
||||
description:
|
||||
- Specifies the VLAN binding to a BD(Bridge Domain).
|
||||
The value is an integer ranging ranging from 1 to 4094.
|
||||
required: false
|
||||
default: null
|
||||
l2_sub_interface:
|
||||
description:
|
||||
- Specifies an Sub-Interface full name, i.e. "10GE1/0/41.1".
|
||||
The value is a string of 1 to 63 case-insensitive characters, spaces supported.
|
||||
required: false
|
||||
default: null
|
||||
encapsulation:
|
||||
description:
|
||||
- Specifies an encapsulation type of packets allowed to pass through a Layer 2 sub-interface.
|
||||
choices: ['dot1q', 'default', 'untag', 'qinq', 'none']
|
||||
required: false
|
||||
default: null
|
||||
ce_vid:
|
||||
description:
|
||||
- When I(encapsulation) is 'dot1q', specifies a VLAN ID in the outer VLAN tag.
|
||||
When I(encapsulation) is 'qinq', specifies an outer VLAN ID for
|
||||
double-tagged packets to be received by a Layer 2 sub-interface.
|
||||
The value is an integer ranging from 1 to 4094.
|
||||
required: false
|
||||
default: null
|
||||
pe_vid:
|
||||
description:
|
||||
- When I(encapsulation) is 'qinq', specifies an inner VLAN ID for
|
||||
double-tagged packets to be received by a Layer 2 sub-interface.
|
||||
The value is an integer ranging from 1 to 4094.
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
description:
|
||||
- Determines whether the config should be present or not
|
||||
on the device.
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue