コード例 #1
0
 def sendStatsRequest(self,switch):
     startTime = time.time() 
     switch.send(of.ofp_stats_request(body=of.ofp_flow_stats_request()))
     return startTime
コード例 #2
0
 def sendStatsRequest(self):
     self.startTime = time.time() 
     self.switch.send(of.ofp_stats_request(body=of.ofp_flow_stats_request()))
コード例 #3
0
 def sendStatsRequest(self, switch):
     startTime = time.time()
     switch.send(of.ofp_stats_request(body=of.ofp_flow_stats_request()))
     return startTime