Commit da35667c authored by Matthias Cramer's avatar Matthias Cramer
Browse files

clear old values

parent 87d55bbb
......@@ -38,6 +38,9 @@ def getBGP():
print("Running: %s" % (cmd))
bgpsum = json.loads(os.popen("vtysh -c \"" + cmd + "\"").read())
for key in b:
for af in bgpsum:
print("Running in Address Family: %s" % (af))
for peer in bgpsum[af]['peers']:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment