Update junos_facts gather_network_resources choices (#60467)

*  Add negation choice for individual resource names
pull/60278/head
Ganesh Nalawade 5 years ago committed by Nilashish Chakraborty
parent 55d3ecff01
commit 5923a64b20

@ -8,15 +8,25 @@ The arg spec for the junos facts module.
""" """
CHOICES = [ CHOICES = [
'all', 'all',
'!all',
'interfaces', 'interfaces',
'!interfaces',
'lacp', 'lacp',
'!lacp',
'lacp_interfaces', 'lacp_interfaces',
'!lacp_interfaces',
'lag_interfaces', 'lag_interfaces',
'!lag_interfaces',
'l2_interfaces', 'l2_interfaces',
'!l2_interfaces',
'l3_interfaces', 'l3_interfaces',
'!l3_interfaces',
'lldp_global', 'lldp_global',
'!lldp_global',
'lldp_interfaces', 'lldp_interfaces',
'!lldp_interfaces',
'vlans', 'vlans',
'!vlans',
] ]

@ -63,7 +63,16 @@ options:
to a given subset. Possible values for this argument include to a given subset. Possible values for this argument include
all and the resources like interfaces, vlans etc. all and the resources like interfaces, vlans etc.
Can specify a list of values to include a larger subset. Can specify a list of values to include a larger subset.
choices: ['all', 'interfaces', 'lacp', 'lacp_interfaces', 'lag_interfaces', 'l2_interfaces', 'l3_interfaces', 'lldp_global', 'lldp_interfaces', 'vlans'] choices: ['all', '!all',
'interfaces', '!interfaces',
'lacp', '!lacp',
'lacp_interfaces', '!lacp_interfaces',
'lag_interfaces', '!lag_interfaces',
'l2_interfaces', '!l2_interfaces',
'l3_interfaces', '!l3_interfaces',
'lldp_global', '!lldp_global',
'lldp_interfaces', '!lldp_interfaces',
'vlans', '!vlans']
required: false required: false
version_added: "2.9" version_added: "2.9"
requirements: requirements:

Loading…
Cancel
Save