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:
parent
68fa03138c
commit
b03fc093b4
4 changed files with 7 additions and 7 deletions
|
@ -37,7 +37,7 @@ class Lldp_globalArgs(object):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
argument_spec = {'config': {'options': {'address': {'type': 'str'},
|
argument_spec = {'config': {'options': {'address': {'type': 'str'},
|
||||||
'enable': {'type': 'bool'},
|
'enabled': {'type': 'bool'},
|
||||||
'hold_multiplier': {'type': 'int'},
|
'hold_multiplier': {'type': 'int'},
|
||||||
'interval': {'type': 'int'},
|
'interval': {'type': 'int'},
|
||||||
'transmit_delay': {'type': 'int'}},
|
'transmit_delay': {'type': 'int'}},
|
||||||
|
|
|
@ -48,9 +48,9 @@ options:
|
||||||
description: The list of link layer discovery protocol attribute configurations
|
description: The list of link layer discovery protocol attribute configurations
|
||||||
type: dict
|
type: dict
|
||||||
suboptions:
|
suboptions:
|
||||||
enable:
|
enabled:
|
||||||
description:
|
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
|
type: bool
|
||||||
interval:
|
interval:
|
||||||
description:
|
description:
|
||||||
|
@ -126,7 +126,7 @@ EXAMPLES = """
|
||||||
config:
|
config:
|
||||||
address: 20.2.2.2
|
address: 20.2.2.2
|
||||||
hold_multiplier: 30
|
hold_multiplier: 30
|
||||||
enable: False
|
enabled: False
|
||||||
state: replaced
|
state: replaced
|
||||||
|
|
||||||
# After state:
|
# After state:
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
address: 10.1.1.2
|
address: 10.1.1.2
|
||||||
transmit_delay: 500
|
transmit_delay: 500
|
||||||
hold_multiplier: 5
|
hold_multiplier: 5
|
||||||
enable: False
|
enabled: False
|
||||||
|
|
||||||
- name: Configure initial state for lldp global
|
- name: Configure initial state for lldp global
|
||||||
junos_lldp_global:
|
junos_lldp_global:
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
address: 10.1.1.2
|
address: 10.1.1.2
|
||||||
transmit_delay: 500
|
transmit_delay: 500
|
||||||
hold_multiplier: 5
|
hold_multiplier: 5
|
||||||
enable: False
|
enabled: False
|
||||||
state: replaced
|
state: replaced
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
address: 10.1.1.2
|
address: 10.1.1.2
|
||||||
transmit_delay: 500
|
transmit_delay: 500
|
||||||
hold_multiplier: 5
|
hold_multiplier: 5
|
||||||
enable: False
|
enabled: False
|
||||||
state: replaced
|
state: replaced
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue