- # take into account that multiple edges are possible between 2 nodes
- index_edge_in = 0
-
-
- #switch_inport = self.DCNetwork_graph[current_hop][next_hop][index_edge_in]['dst_port']
-
- #next2_hop = path[path.index(current_hop)+2]
- #index_edge_out = 0
- #switch_outport = self.DCNetwork_graph[next_hop][next2_hop][index_edge_out]['src_port']
- #switch_outport = self.DCNetwork_graph[current_hop][next_hop][index_edge_out]['src_port']