示例#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)