X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tools%2Fodl-mdsal-clustering-tests%2Fclustering-performance-test%2Fflow_config_blaster_bulk.py;fp=tools%2Fodl-mdsal-clustering-tests%2Fclustering-performance-test%2Fflow_config_blaster_bulk.py;h=f24d5ab06239df2ae0839208a49ca905e48609c0;hb=b2cd74063cbcdfadcbe20746116ec276e27ea0cb;hp=1fec13191a50e53515096559aa69c037409dc01d;hpb=e405dbebf449bda49e3c9f071043e28f57c64438;p=integration%2Ftest.git diff --git a/tools/odl-mdsal-clustering-tests/clustering-performance-test/flow_config_blaster_bulk.py b/tools/odl-mdsal-clustering-tests/clustering-performance-test/flow_config_blaster_bulk.py index 1fec13191a..f24d5ab062 100755 --- a/tools/odl-mdsal-clustering-tests/clustering-performance-test/flow_config_blaster_bulk.py +++ b/tools/odl-mdsal-clustering-tests/clustering-performance-test/flow_config_blaster_bulk.py @@ -78,7 +78,6 @@ class FlowConfigBulkBlaster(flow_config_blaster.FlowConfigBlaster): json_input = {'input': {'bulk-flow-ds-item': flow_list}} flow_data = json.dumps(json_input) - # print flow_data return flow_data @@ -111,16 +110,16 @@ if __name__ == "__main__": # are added from each thread fcbb.add_blaster() - 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()) if in_args.delay > 0: - print '*** Waiting for %d seconds before the delete cycle ***\n' % in_args.delay + print('*** Waiting for %d seconds before the delete cycle ***\n' % in_args.delay) time.sleep(in_args.delay) # Run through , where are started in each cycle and # 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())