예제 #1
0
    def update_path(self):
        # if self.is_path_cal:
        #     return
        print("all hosts: ", self.hosts.keys())
        self.full_path = algorithms.get_all_path(self.hosts, self.net_topo)

        self.is_path_cal = True
예제 #2
0
 def update_path(self):
     # if :
     #     return
     # self.logger.debug("all hosts: %s",self.hosts.keys())
     self.full_path = algorithms.get_all_path(self.hosts, self.net_topo)