예제 #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()
예제 #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)
예제 #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()
예제 #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)
예제 #5
0
def move_to_ACL2():
    print "Moving to ACL2"
    update_lib.update(ACL2)
    send_signal()    
예제 #6
0
def move_to_ACL1():
    print "Moving to ACL1"
    update_lib.update(ACL1)
    update_lib.inst.post_callback(10, move_to_ACL2)