Commit f21360b6 authored by Philipp Tennigkeit's avatar Philipp Tennigkeit

reset which ryu-manager, fix get_switch

parent 6e212241
Pipeline #2555 passed with stage
in 25 seconds
......@@ -47,4 +47,4 @@ fi
echo -e "\r\n\r\n"
echo -e "Starting ${APPABSPATH}\r\n"
ryu-manager ${APPABSPATH} --observe-links
$(which ryu-manager) ${APPABSPATH} --observe-links
......@@ -178,7 +178,7 @@ class SPBSwitchApp(app_manager.RyuApp):
def _learn_by_ryu_topo(self):
link_list = get_link(self, None)
switch_list = get_switch(self.topology_api_app, None)
switch_list = get_switch(self, None)
self._print_event("TOPOLOGY", "{} {}".format(switch_list, link_list), None)
for link in link_list:
self._print_event("TOPOLOGY", "Learning ({0}, {1}, {2}), ({1}, {0}, {3})".format(
......
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