def deactivate_flows_test(args): ue_dict = _gen_ue_set(args.num_of_ues) input_file = 'deactivate_flows.json' _build_deactivate_flows_data(ue_dict, input_file) request_type = 'DeactivateFlows' benchmark_grpc_request( proto_path=PROTO_PATH, full_request_type=make_full_request_type( PIPELINED_SERVICE_RPC_PATH, request_type, ), input_file=input_file, output_file=make_output_file_path(request_type), num_reqs=args.num_of_ues, address=PIPELINED_PORT, import_path=args.import_path, )
def deactivate_flows_test(args): ue_dict = _gen_ue_set(args.num_of_ues) _build_deactivate_flows_data(ue_dict) _benchmark_grpc_request(args, 'DeactivateFlows')
def activate_flows_test(args): ue_dict = _gen_ue_set(args.num_of_ues) _build_activate_flows_data(ue_dict, args.disable_qos) _benchmark_grpc_request(args, 'ActivateFlows')