Commit e7a48a55 authored by Philipp Tennigkeit's avatar Philipp Tennigkeit

output get_link

parent 571d432b
Pipeline #2553 passed with stage
in 26 seconds
......@@ -178,6 +178,7 @@ class SPBSwitchApp(app_manager.RyuApp):
def _learn_by_ryu_topo(self):
link_list = get_link(self, None)
self._print_event("TOPOLOGY", "{}".format(link_list), None)
for link in link_list:
self._print_event("TOPOLOGY", "Learning ({0}, {1}, {2}), ({1}, {0}, {3})".format(
link.src.dpid, link.dst.dpid, link.src.port_no, link.dst.port_no
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