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:
parent
d6fb00e797
commit
d76ae943ed
1 changed files with 9 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue