mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-23 13:35:05 +00:00
dataplane fix
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
This commit is contained in:
@@ -291,7 +291,8 @@ def main():
|
|||||||
cv_add_base_parser(parser) # see cv_test_manager.py
|
cv_add_base_parser(parser) # see cv_test_manager.py
|
||||||
|
|
||||||
parser.add_argument('--json', help="--json <config.json> json input file", default="")
|
parser.add_argument('--json', help="--json <config.json> json input file", default="")
|
||||||
parser.add_argument('--influx_json', help="--influx_json <influx_config.json> influx config json input file", default="")
|
parser.add_argument('--influx_json', help="--influx_json <influx_config.json> influx config json input file",
|
||||||
|
default="")
|
||||||
parser.add_argument("-u", "--upstream", type=str, default="",
|
parser.add_argument("-u", "--upstream", type=str, default="",
|
||||||
help="Upstream port for wifi capacity test ex. 1.1.eth2")
|
help="Upstream port for wifi capacity test ex. 1.1.eth2")
|
||||||
parser.add_argument("--station", type=str, default="",
|
parser.add_argument("--station", type=str, default="",
|
||||||
@@ -307,10 +308,11 @@ def main():
|
|||||||
help="Specify duration of each traffic run")
|
help="Specify duration of each traffic run")
|
||||||
parser.add_argument("--graph_groups", help="File to save graph_groups to", default=None)
|
parser.add_argument("--graph_groups", help="File to save graph_groups to", default=None)
|
||||||
parser.add_argument("--report_dir", default="")
|
parser.add_argument("--report_dir", default="")
|
||||||
parser.add_argument("--local_lf_report_dir", help="--local_lf_report_dir <where to pull reports to> default '' put where dataplane script run from",default="")
|
parser.add_argument("--local_lf_report_dir",
|
||||||
|
help="--local_lf_report_dir <where to pull reports to> default '' put where dataplane script run from",
|
||||||
|
default="")
|
||||||
parser.add_argument("--debug", default=False)
|
parser.add_argument("--debug", default=False)
|
||||||
|
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
# use json config file
|
# use json config file
|
||||||
@@ -353,7 +355,6 @@ def main():
|
|||||||
json_data_tmp = [[x] for x in json_data["raw_line"]]
|
json_data_tmp = [[x] for x in json_data["raw_line"]]
|
||||||
args.raw_line = json_data_tmp
|
args.raw_line = json_data_tmp
|
||||||
|
|
||||||
|
|
||||||
# use influx json config file
|
# use influx json config file
|
||||||
if args.influx_json != "":
|
if args.influx_json != "":
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user