Fix #4103 Support json format in junos_command module (#19045)

pull/7155/merge
Ganesh Nalawade 8 years ago committed by Peter Sprygada
parent ad99d52679
commit ee5d5c3e84

@ -98,12 +98,13 @@ options:
output and apply the conditionals path to the result set.
required: false
default: 'xml'
choices: ['xml', 'text']
choices: ['xml', 'text', 'json']
requirements:
- junos-eznc
notes:
- 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 = """
@ -219,7 +220,7 @@ def main():
commands=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']),
wait_for=dict(type='list', aliases=['waitfor']),

Loading…
Cancel
Save