Rename junos_lldp_global enable option to enabled (#61551)

*  Change `enable` option to `enabled` option to be in
   sync with other platforms
This commit is contained in:
Ganesh Nalawade 2019-08-29 22:32:48 +05:30 committed by GitHub
parent 68fa03138c
commit b03fc093b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -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'}},

View file

@ -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:

View file

@ -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

View file

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