mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
Added option for speedtest type
This commit is contained in:
@@ -1330,9 +1330,11 @@ class GenCXProfile(LFCliBase):
|
||||
#print(self.cmd)
|
||||
else:
|
||||
raise ValueError("Please ensure dest and interval have been set correctly")
|
||||
if self.type == "generic":
|
||||
elif self.type == "generic":
|
||||
if self.cmd == "":
|
||||
raise ValueError("Please ensure cmd has been set correctly")
|
||||
elif self.type == "speedtest":
|
||||
self.cmd = "vrf_exec.bash %s speedtest-cli --json --share" % (sta_name)
|
||||
else:
|
||||
raise ValueError("Unknown command type")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user