summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/services/protocols/bgp/bgpspeaker.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ryu/services/protocols/bgp/bgpspeaker.py b/ryu/services/protocols/bgp/bgpspeaker.py
index 949e9695..2dfbd3a5 100644
--- a/ryu/services/protocols/bgp/bgpspeaker.py
+++ b/ryu/services/protocols/bgp/bgpspeaker.py
@@ -362,9 +362,10 @@ class BGPSpeaker(object):
vrf[vrfs.ROUTE_DISTINGUISHER] = route_dist
call('vrf.delete', **vrf)
- def vrfs_get(self):
+ def vrfs_get(self, format='json'):
show = {}
show['params'] = ['vrf', 'routes', 'all']
+ show['format'] = format
return call('operator.show', **show)
def rib_get(self, family='ipv4', format='json'):