- print '\n*** Total flows added: %s' % fcbb.get_ok_flows()
- print ' HTTP[OK] results: %d\n' % fcbb.get_ok_rqsts()
+ print('\n*** Total flows added: %s' % fcbb.get_ok_flows())
+ print(' HTTP[OK] results: %d\n' % fcbb.get_ok_rqsts())
time.sleep(in_args.delay)
# Run through <cycles>, where <threads> are started in each cycle and
# <flows> previously added in an add cycle are deleted in each thread
if in_args.delete:
fcbb.delete_blaster()
time.sleep(in_args.delay)
# Run through <cycles>, where <threads> are started in each cycle and
# <flows> previously added in an add cycle are deleted in each thread
if in_args.delete:
fcbb.delete_blaster()
- print '\n*** Total flows deleted: %s' % fcbb.get_ok_flows()
- print ' HTTP[OK] results: %d\n' % fcbb.get_ok_rqsts()
+ print('\n*** Total flows deleted: %s' % fcbb.get_ok_flows())
+ print(' HTTP[OK] results: %d\n' % fcbb.get_ok_rqsts())