Skip to content

Commit

Permalink
fixed topology reflesh bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
muzixing committed May 16, 2016
1 parent 5b0b555 commit 6e86e50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ryu/app/network_aware/network_aware.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ def get_topology(self, ev):
self.create_interior_links(links)
self.create_access_ports()
self.get_graph(self.link_to_port.keys())
self.get_shortest_paths()

@set_ev_cls(events)
def get_shortest_paths(self, ev):
def get_shortest_paths(self):
self.shortest_paths = self.floyd_dict(self.graph)
return self.shortest_paths

Expand Down

0 comments on commit 6e86e50

Please sign in to comment.