mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 09:13:12 +00:00
Show BGP Status In JSON (#41844)
This commit is contained in:
committed by
Alicia Cozine
parent
9aa8c652ba
commit
46dbb3e1e8
@@ -97,6 +97,14 @@ EXAMPLES = '''
|
||||
- add bgp neighbor swp52 interface remote-as external
|
||||
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 = '''
|
||||
|
||||
Reference in New Issue
Block a user