mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-31 18:58:01 +00:00
Revert "Add optional debug output to Chamberview test scripts, wifi capacity, dataplane"
This reverts commit a7ff3e9227.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -5,9 +5,11 @@ Note: This script is working as library for chamberview tests.
|
||||
|
||||
import time
|
||||
|
||||
from LANforge.lfcli_base import LFCliBase
|
||||
from realm import Realm
|
||||
import json
|
||||
from pprint import pprint
|
||||
import argparse
|
||||
from cv_test_reports import lanforge_reports as lf_rpt
|
||||
from csv_to_influx import *
|
||||
import os.path
|
||||
@@ -66,14 +68,12 @@ class cv_test(Realm):
|
||||
def __init__(self,
|
||||
lfclient_host="localhost",
|
||||
lfclient_port=8080,
|
||||
lf_report_dir="",
|
||||
debug=False
|
||||
lf_report_dir=""
|
||||
):
|
||||
super().__init__(lfclient_host=lfclient_host,
|
||||
lfclient_port=lfclient_port)
|
||||
self.lf_report_dir = lf_report_dir
|
||||
self.report_name = None
|
||||
self.debug = debug
|
||||
|
||||
# Add a config line to a text blob. Will create new text blob
|
||||
# if none exists already.
|
||||
@@ -128,7 +128,7 @@ class cv_test(Realm):
|
||||
"cmd": command
|
||||
}
|
||||
debug_par = ""
|
||||
rsp = self.json_post("/gui-json/cmd%s" % debug_par, data, debug_=self.debug, response_json_list_=response_json)
|
||||
rsp = self.json_post("/gui-json/cmd%s" % debug_par, data, debug_=False, response_json_list_=response_json)
|
||||
try:
|
||||
if response_json[0]["LAST"]["warnings"].startswith("Unknown"):
|
||||
print("Unknown command?\n");
|
||||
|
||||
Reference in New Issue
Block a user