Added show interface example in JSON format (#40732)

* Added show interface example in JSON format

Added show interface example in JSON format

+label: docsite_pr
+label: issue#311

* fixed whitespace
This commit is contained in:
permitanyany 2018-06-08 11:00:59 -04:00 committed by Alicia Cozine
parent d6fb00e797
commit d76ae943ed

View file

@ -73,6 +73,15 @@ EXAMPLES = '''
commit: true
description: "Ansible - add swps1-48"
- name: Fetch Details From All Interfaces In JSON Format
nclu:
commands:
- show interface json
register: output
- name: Print Interface Details
debug:
var: output["msg"]
- name: Atomically add an interface
nclu:
commands: