mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 04:07:52 +00:00
Minor print changes, reformat of README file
This commit is contained in:
@@ -66,7 +66,7 @@ cloudSDK_url=os.getenv('CLOUD_SDK_URL')
|
|||||||
local_dir=os.getenv('SANITY_LOG_DIR')
|
local_dir=os.getenv('SANITY_LOG_DIR')
|
||||||
report_path=os.getenv('SANITY_REPORT_DIR')
|
report_path=os.getenv('SANITY_REPORT_DIR')
|
||||||
report_template=os.getenv('REPORT_TEMPLATE')
|
report_template=os.getenv('REPORT_TEMPLATE')
|
||||||
print(report_path)
|
|
||||||
## TestRail Information
|
## TestRail Information
|
||||||
tr_user=os.getenv('TR_USER')
|
tr_user=os.getenv('TR_USER')
|
||||||
tr_pw=os.getenv('TR_PWD')
|
tr_pw=os.getenv('TR_PWD')
|
||||||
@@ -283,6 +283,7 @@ try:
|
|||||||
print(cluster_ver)
|
print(cluster_ver)
|
||||||
print("-------------------------------------------")
|
print("-------------------------------------------")
|
||||||
|
|
||||||
|
logger.info('CloudSDK version info:'+cluster_ver)
|
||||||
cloudsdk_cluster_info = {}
|
cloudsdk_cluster_info = {}
|
||||||
for line in cluster_ver.splitlines():
|
for line in cluster_ver.splitlines():
|
||||||
(key, val) = line.split("=")
|
(key, val) = line.split("=")
|
||||||
@@ -291,6 +292,7 @@ try:
|
|||||||
except:
|
except:
|
||||||
cluster_ver = 'error'
|
cluster_ver = 'error'
|
||||||
print("ERROR: CloudSDK Version Unavailable")
|
print("ERROR: CloudSDK Version Unavailable")
|
||||||
|
logger.info('CloudSDK version Unavailable')
|
||||||
cloudsdk_cluster_info = {
|
cloudsdk_cluster_info = {
|
||||||
"date" : "unknown",
|
"date" : "unknown",
|
||||||
"commitId" : "unknown",
|
"commitId" : "unknown",
|
||||||
|
|||||||
@@ -27,35 +27,35 @@ For each AP model:
|
|||||||
## Environment Variables
|
## Environment Variables
|
||||||
Environment variables required to run scripts and modules in this directory
|
Environment variables required to run scripts and modules in this directory
|
||||||
#### Nightly_Sanity.py
|
#### Nightly_Sanity.py
|
||||||
CLOUD_SDK_URL: CloudSDK URL for API calls
|
CLOUD_SDK_URL: CloudSDK URL for API calls
|
||||||
SANITY_LOG_DIR: Logger file directory
|
SANITY_LOG_DIR: Logger file directory
|
||||||
SANITY_REPORT_DIR: Report file directory
|
SANITY_REPORT_DIR: Report file directory
|
||||||
REPORT_TEMPLATE: Report template path
|
REPORT_TEMPLATE: Report template path
|
||||||
TR_USER: TestRail Username
|
TR_USER: TestRail Username
|
||||||
TR_PWD: TestRail Password
|
TR_PWD: TestRail Password
|
||||||
MILESTONE: TestRail Milestone ID
|
MILESTONE: TestRail Milestone ID
|
||||||
PROJECT_ID: TestRail Project ID
|
PROJECT_ID: TestRail Project ID
|
||||||
EAP_IDENTITY: EAP identity for testing
|
EAP_IDENTITY: EAP identity for testing
|
||||||
EAP_PWD: EAP password for testing
|
EAP_PWD: EAP password for testing
|
||||||
AP_USER: Username for AP
|
AP_USER: Username for AP
|
||||||
JFROG_USER: Jfrog username
|
JFROG_USER: Jfrog username
|
||||||
JFROG_PWD: Jfrog password
|
JFROG_PWD: Jfrog password
|
||||||
|
|
||||||
#### cloudsdk.py
|
#### cloudsdk.py
|
||||||
CLOUDSDK_USER: CloudSDK username
|
CLOUDSDK_USER: CloudSDK username
|
||||||
CLOUDSDK_PWD: CloudSDK password
|
CLOUDSDK_PWD: CloudSDK password
|
||||||
|
|
||||||
#### cluster_version.py
|
#### cluster_version.py
|
||||||
AWS_USER: CloudSDK username
|
AWS_USER: CloudSDK username
|
||||||
AWS_PWD: CloudSDK password
|
AWS_PWD: CloudSDK password
|
||||||
|
|
||||||
#### testrail_api.py
|
#### testrail_api.py
|
||||||
TR_USER tr_user TestRail Username
|
TR_USER tr_user TestRail Username
|
||||||
TR_PWD tr_pw TestRail Password
|
TR_PWD tr_pw TestRail Password
|
||||||
|
|
||||||
#### Throughput_Test.py
|
#### Throughput_Test.py
|
||||||
CLOUD_SDK_URL: CloudSDK URL for API calls
|
CLOUD_SDK_URL: CloudSDK URL for API calls
|
||||||
CSV_PATH: Path for CSV file
|
CSV_PATH: Path for CSV file
|
||||||
EAP_IDENTITY: EAP identity for testing
|
EAP_IDENTITY: EAP identity for testing
|
||||||
EAP_PWD: EAP password for testing
|
EAP_PWD: EAP password for testing
|
||||||
TPUT_LOG_DIR: Logger file directory
|
TPUT_LOG_DIR: Logger file directory
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ import subprocess
|
|||||||
user=os.getenv('AWS_USER')
|
user=os.getenv('AWS_USER')
|
||||||
password=os.getenv('AWS_PWD')
|
password=os.getenv('AWS_PWD')
|
||||||
chromedriver_dir=os.getenv('CHROMEDRIVER_PATH')
|
chromedriver_dir=os.getenv('CHROMEDRIVER_PATH')
|
||||||
print(chromedriver_dir)
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
chrome_options = webdriver.ChromeOptions()
|
chrome_options = webdriver.ChromeOptions()
|
||||||
@@ -57,9 +56,6 @@ def main():
|
|||||||
# //*[@id="env-var-linux"]/div[2]/text()
|
# //*[@id="env-var-linux"]/div[2]/text()
|
||||||
# //*[@id="env-var-linux"]/div[3]/text()
|
# //*[@id="env-var-linux"]/div[3]/text()
|
||||||
|
|
||||||
|
|
||||||
#os.chdir('/Users/bealla/.kube')
|
|
||||||
|
|
||||||
os.environ['AWS_ACCESS_KEY_ID'] = AWS_ACCESS_KEY_ID
|
os.environ['AWS_ACCESS_KEY_ID'] = AWS_ACCESS_KEY_ID
|
||||||
os.environ['AWS_SECRET_ACCESS_KEY'] = AWS_SECRET_ACCESS_KEY
|
os.environ['AWS_SECRET_ACCESS_KEY'] = AWS_SECRET_ACCESS_KEY
|
||||||
os.environ['AWS_SESSION_TOKEN'] = AWS_SESSION_TOKEN
|
os.environ['AWS_SESSION_TOKEN'] = AWS_SESSION_TOKEN
|
||||||
|
|||||||
Reference in New Issue
Block a user