Commit 0039d154 authored by Philipp Tennigkeit's avatar Philipp Tennigkeit

show topology if no connection can be found

parent ecbd398a
Pipeline #2550 passed with stage
in 26 seconds
......@@ -86,6 +86,7 @@ class SPBSwitchApp(app_manager.RyuApp):
self._print_event("SWITCH", "Forwarding from {0} to {1} via {2}".format(dpid, next_hop, out_port), ev)
else:
self._print_event("SWITCH", "No path for {0} to {1} from {2}".format(src, dst, dpid_to_str(dpid)), ev)
self._print_event("TOPOLOGY", "{0}".format(self.net.topology.edges()), ev)
out_port = ofproto.OFPP_FLOOD
actions = [parser.OFPActionOutput(out_port)]
......
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