mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Show BGP Status In JSON (#41844)
This commit is contained in:
parent
9aa8c652ba
commit
46dbb3e1e8
1 changed files with 8 additions and 0 deletions
|
@ -97,6 +97,14 @@ EXAMPLES = '''
|
||||||
- add bgp neighbor swp52 interface remote-as external
|
- add bgp neighbor swp52 interface remote-as external
|
||||||
commit: true
|
commit: true
|
||||||
|
|
||||||
|
- name: Check BGP Status
|
||||||
|
nclu:
|
||||||
|
commands:
|
||||||
|
- show bgp summary json
|
||||||
|
register: output
|
||||||
|
- name: Print BGP Status In JSON
|
||||||
|
debug:
|
||||||
|
var: output["msg"]
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|
Loading…
Reference in a new issue