Rename junos_lldp_global enable option to enabled (#61551)

*  Change `enable` option to `enabled` option to be in
   sync with other platforms
pull/61563/head
Ganesh Nalawade 5 years ago committed by GitHub
parent 68fa03138c
commit b03fc093b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,7 +37,7 @@ class Lldp_globalArgs(object):
pass
argument_spec = {'config': {'options': {'address': {'type': 'str'},
'enable': {'type': 'bool'},
'enabled': {'type': 'bool'},
'hold_multiplier': {'type': 'int'},
'interval': {'type': 'int'},
'transmit_delay': {'type': 'int'}},

@ -48,9 +48,9 @@ options:
description: The list of link layer discovery protocol attribute configurations
type: dict
suboptions:
enable:
enabled:
description:
- This argument is a boolean value to enable or disable LLDP.
- This argument is a boolean value to enabled or disable LLDP.
type: bool
interval:
description:
@ -126,7 +126,7 @@ EXAMPLES = """
config:
address: 20.2.2.2
hold_multiplier: 30
enable: False
enabled: False
state: replaced
# After state:

@ -27,7 +27,7 @@
address: 10.1.1.2
transmit_delay: 500
hold_multiplier: 5
enable: False
enabled: False
- name: Configure initial state for lldp global
junos_lldp_global:
@ -46,7 +46,7 @@
address: 10.1.1.2
transmit_delay: 500
hold_multiplier: 5
enable: False
enabled: False
state: replaced
register: result

@ -53,7 +53,7 @@
address: 10.1.1.2
transmit_delay: 500
hold_multiplier: 5
enable: False
enabled: False
state: replaced
register: result

Loading…
Cancel
Save