|
|
@ -98,12 +98,13 @@ options:
|
|
|
|
output and apply the conditionals path to the result set.
|
|
|
|
output and apply the conditionals path to the result set.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: 'xml'
|
|
|
|
default: 'xml'
|
|
|
|
choices: ['xml', 'text']
|
|
|
|
choices: ['xml', 'text', 'json']
|
|
|
|
requirements:
|
|
|
|
requirements:
|
|
|
|
- junos-eznc
|
|
|
|
- junos-eznc
|
|
|
|
notes:
|
|
|
|
notes:
|
|
|
|
- This module requires the netconf system service be enabled on
|
|
|
|
- This module requires the netconf system service be enabled on
|
|
|
|
the remote device being managed
|
|
|
|
the remote device being managed. 'json' format is supported
|
|
|
|
|
|
|
|
for JUNON version >= 14.2
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES = """
|
|
|
|
EXAMPLES = """
|
|
|
@ -219,7 +220,7 @@ def main():
|
|
|
|
commands=dict(type='list'),
|
|
|
|
commands=dict(type='list'),
|
|
|
|
rpcs=dict(type='list'),
|
|
|
|
rpcs=dict(type='list'),
|
|
|
|
|
|
|
|
|
|
|
|
display=dict(default='xml', choices=['text', 'xml'],
|
|
|
|
display=dict(default='xml', choices=['text', 'xml', 'json'],
|
|
|
|
aliases=['format', 'output']),
|
|
|
|
aliases=['format', 'output']),
|
|
|
|
|
|
|
|
|
|
|
|
wait_for=dict(type='list', aliases=['waitfor']),
|
|
|
|
wait_for=dict(type='list', aliases=['waitfor']),
|
|
|
|