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:
Chuck SmileyRekiere
2021-09-08 11:06:57 -06:00
parent 461c49e1ed
commit e35a418f68
5 changed files with 16 additions and 2 deletions

View File

@@ -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: