Exemplo n.º 1
0
def move_to_ACL2():
    print 'Moving to ACL2'
    update_lib.update(
        ACL2,
        [leftFilter, egress, leftFilter, middleFilter, rightFilter, ingress])
    sys.stdout.flush()
    send_signal()
Exemplo n.º 2
0
def main():
    update_lib.update(ACL1,
                      [ingress, egress, leftFilter, middleFilter, rightFilter])
    print "10 seconds to ACL2"
    update_lib.inst.post_callback(10, move_to_ACL2)
Exemplo n.º 3
0
def move_to_ACL2():
    print "Moving to ACL2"
    update_lib.update(ACL2, [leftFilter, egress, leftFilter, middleFilter, rightFilter, ingress])
    sys.stdout.flush()
    send_signal()
Exemplo n.º 4
0
def main():
    update_lib.update(ACL1, [ingress, egress, leftFilter, middleFilter, rightFilter])
    print "10 seconds to ACL2"
    update_lib.inst.post_callback(10, move_to_ACL2)
Exemplo n.º 5
0
def move_to_ACL2():
    print "Moving to ACL2"
    update_lib.update(ACL2)
    send_signal()    
Exemplo n.º 6
0
def move_to_ACL1():
    print "Moving to ACL1"
    update_lib.update(ACL1)
    update_lib.inst.post_callback(10, move_to_ACL2)