Beispiel #1
0
def move_to_ACL2():
    print "Moving to ACL2"
    topo = Topology().nx_graph()    
    update_lib.per_packet_update(topo, ACL2)
    send_signal(str(update_lib.inst.stats))
    return    
Beispiel #2
0
def move_to_ACL1():
    print "Moving to ACL1"
    topo = Topology().nx_graph()
    update_lib.per_packet_update(topo, ACL1)
    update_lib.inst.post_callback(10, move_to_ACL2)