mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 11:18:03 +00:00
lf_check.py : added LF_MGR_USER, LF_MGR_PASS to the configuration
Updated ct_us_001/2/4/ and ct-us_001_tests.json Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
"database_tag_influx": "testbed CT-US-001",
|
||||
"lf_mgr_ip": "192.168.100.116",
|
||||
"lf_mgr_port": "8080",
|
||||
"lf_mgr_user": "lanforge",
|
||||
"lf_mgr_pass": "lanforge",
|
||||
"upstream_port":"1.1.eth2",
|
||||
"test_timeout": 600,
|
||||
"load_blank_db": false,
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
"command":"lf_wifi_capacity_test.py",
|
||||
"args":"",
|
||||
"args_list":[
|
||||
" --mgr LF_MGR_IP --port LF_MGR_PORT --lf_user lanforge --lf_password lanforge --instance_name cicd-wct",
|
||||
" --mgr LF_MGR_IP --port LF_MGR_PORT --lf_user LF_MGR_USER --lf_password LF_MGR_PASS --instance_name cicd-wct",
|
||||
" --upstream UPSTREAM_PORT --batch_size 1,10,19 --loop_iter 1 --protocol UDP-IPv4 --duration 6000",
|
||||
" --pull_report --local_lf_report_dir REPORT_PATH --test_tag 'mt7915e'",
|
||||
" --test_rig TEST_RIG",
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
"database_tag": "testbed CT-US-002",
|
||||
"lf_mgr_ip": "192.168.100.200",
|
||||
"lf_mgr_port": "8080",
|
||||
"lf_mgr_user": "lanforge",
|
||||
"lf_mgr_pass": "lanforge",
|
||||
"upstream_port": "1.1.eth2",
|
||||
"dut_set_name": "DUT_NAME NETGEAR59-5G",
|
||||
"dut_name": "NETGEAR-AX12",
|
||||
@@ -45,7 +47,7 @@
|
||||
"1.1.wiphy4":{"KEY":"1.1.wiphy4","RADIO":"1.1.wiphy4","DRIVER":"iwlwifi(AX200)","CAPABILITIES":"802.11abgn-AX","MAX_STA":"1","MAX_VAP":"1","MAX_VIFS":"1"},
|
||||
"1.1.wiphy5":{"KEY":"1.1.wiphy5","RADIO":"1.1.wiphy5","DRIVER":"iwlwifi(AX200)","CAPABILITIES":"802.11abgn-AX","MAX_STA":"1","MAX_VAP":"1","MAX_VIFS":"1"},
|
||||
"1.1.wiphy6":{"KEY":"1.1.wiphy6","RADIO":"1.1.wiphy6","DRIVER":"iwlwifi(AX200)","CAPABILITIES":"802.11abgn-AX","MAX_STA":"1","MAX_VAP":"1","MAX_VIFS":"1"},
|
||||
"1.1.wiphy7":{"KEY":"1.1.wiphy7","RADIO":"1.1.wiphy7","DRIVER":"iwlwifi(AX200)","CAPABILITIES":"802.11abgn-AX","MAX_STA":"1","MAX_VAP":"1","MAX_VIFS":"1"},
|
||||
"1.1.wiphy7":{"KEY":"1.1.wiphy7","RADIO":"1.1.wiphy7","DRIVER":"iwlwifi(AX200)","CAPABILITIES":"802.11abgn-AX","MAX_STA":"1","MAX_VAP":"1","MAX_VIFS":"1"}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
"database_tag_influx": "testbed CT-US-004",
|
||||
"lf_mgr_ip": "192.168.100.194",
|
||||
"lf_mgr_port": "8080",
|
||||
"lf_mgr_user": "lanforge",
|
||||
"lf_mgr_pass": "lanforge",
|
||||
"upstream_port": "1.1.eth2",
|
||||
"dut_set_name": "DUT_NAME Asus-RT-AX88U",
|
||||
"dut_name": "Asus-RT-AX88U",
|
||||
|
||||
@@ -560,6 +560,14 @@ http://{blog}:2368""".format(blog=self.blog_host_ghost)
|
||||
self.lf_mgr_port = self.json_rig["test_parameters"]["lf_mgr_port"]
|
||||
else:
|
||||
self.logger.info("lf_mgr_port not in test_parameters json")
|
||||
if "lf_mgr_user" in self.json_rig["test_parameters"]:
|
||||
self.lf_mgr_user = self.json_rig["test_parameters"]["lf_mgr_user"]
|
||||
else:
|
||||
self.logger.info("lf_mgr_user not in test_parameters json")
|
||||
if "lf_mgr_pass" in self.json_rig["test_parameters"]:
|
||||
self.lf_mgr_pass = self.json_rig["test_parameters"]["lf_mgr_pass"]
|
||||
else:
|
||||
self.logger.info("lf_mgr_pass not in test_parameters json")
|
||||
if "upstream_port" in self.json_rig["test_parameters"]:
|
||||
self.upstream_port = self.json_rig["test_parameters"]["upstream_port"]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user