diff --git a/py-scripts/lf_dataplane_config.json b/py-scripts/lf_dataplane_config.json index 1ed790a4..088a829d 100755 --- a/py-scripts/lf_dataplane_config.json +++ b/py-scripts/lf_dataplane_config.json @@ -11,6 +11,7 @@ "station":"1.1.eth2", "download_speed":"85%", "upload_speed":"0", + "pull_report": true, "raw_line": ["pkts: Custom;60;MTU", "cust_pkt_sz: 88 1200", "directions: DUT Transmit", "traffic_types: UDP", "bandw_options: 20", "spatial_streams: 1"] } diff --git a/py-scripts/lf_dataplane_test.py b/py-scripts/lf_dataplane_test.py index c22feacc..18420bfc 100755 --- a/py-scripts/lf_dataplane_test.py +++ b/py-scripts/lf_dataplane_test.py @@ -336,6 +336,8 @@ def main(): args.download_speed = json_data["download_speed"] if "upload_speed" in json_data: args.upload_speed = json_data["upload_speed"] + if "pull_report" in json_data: + args.pull_report = json_data["pull_report"] if "raw_line" in json_data: # the json_data is a list , need to make into a list of lists, to match command line raw_line paramaters # https://www.tutorialspoint.com/convert-list-into-list-of-lists-in-python