Commit 571d432b authored by Philipp Tennigkeit's avatar Philipp Tennigkeit

debug learning process

parent 0039d154
Pipeline #2552 passed with stage
in 26 seconds
......@@ -179,8 +179,12 @@ class SPBSwitchApp(app_manager.RyuApp):
def _learn_by_ryu_topo(self):
link_list = get_link(self, 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
), None), link.dst.dpid, link.src.port_no), link.src.dpid, link.dst.port_no)
self._print_event("TOPOLOGY", "Learning complete", None)
class Topology(object):
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