def move_to_ACL2(self): print 'Moving to ACL2' per_packet_update(ACL2, edge_switches=[ingress, egress])
def install(self): global inst inst = self.resolve(update) print ACL1.convert_to_nox_policy() per_packet_update(ACL1, edge_switches=[ingress,egress]) self.post_callback(10, self.move_to_ACL2)
def install(self): global inst inst = self.resolve(update) print ACL1.convert_to_nox_policy() per_packet_update(ACL1, edge_switches=[ingress, egress]) self.post_callback(10, self.move_to_ACL2)