mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
Added option to GenCXProfile to use generic types
This commit is contained in:
@@ -1330,6 +1330,9 @@ class GenCXProfile(LFCliBase):
|
||||
#print(self.cmd)
|
||||
else:
|
||||
raise ValueError("Please ensure dest and interval have been set correctly")
|
||||
if self.type == "generic":
|
||||
if self.cmd == "":
|
||||
raise ValueError("Please ensure cmd has been set correctly")
|
||||
else:
|
||||
raise ValueError("Unknown command type")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user