summaryrefslogtreecommitdiffhomepage
path: root/cli/gobgpcli
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-17 00:51:40 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-17 00:51:40 +0900
commitac54c58e9d5466804f67c9aca32a23beaeb6882d (patch)
tree647602dbc839d2348f37fae1e23f0e9da8a298ba /cli/gobgpcli
parentfe3a7e226622a58d746a199b96cc938c39f9445b (diff)
server: implement OutQ and Flops support
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'cli/gobgpcli')
-rwxr-xr-xcli/gobgpcli1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/gobgpcli b/cli/gobgpcli
index a6fdfd5a..bbb70503 100755
--- a/cli/gobgpcli
+++ b/cli/gobgpcli
@@ -96,6 +96,7 @@ class Show(object):
print("BGP neighbor is {:s}, remote AS {:d}".format(n["conf"]["remote_ip"], n["conf"]["remote_as"]))
print(" BGP version 4, remote router ID {:s}".format(n["conf"]["id"]))
print(" BGP state = {:s}, up for {:s}".format(n["info"]["bgp_state"], str(timedelta(seconds=n["info"]["uptime"]))))
+ print(" BGP OutQ = {:d}, Flops = {:d}".format(n["info"]["OutQ"], n["info"]["Flops"]))
print(" Neighbor capabilities:")
allcap = set(n["conf"]["RemoteCap"]) | set(n["conf"]["LocalCap"])
for i in sorted(allcap):