mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-04 12:48:00 +00:00
added show_ap_bssid_24ghz and show_ap_bssid_5ghz action method to query bssid for 2ghz and 5 ghz
This commit is contained in:
@@ -188,7 +188,7 @@ class create_controller_series_object:
|
||||
# possible need to look for exact command
|
||||
elif self.action in ["summary", "show_radio", "no_logging_console", "line_console_0", "show_ap_wlan_summary", "show_wlan_summary", "show_wlan_id",
|
||||
"advanced", "disable", "disable_network_6ghz", "disable_network_5ghz", "disable_network_24ghz",
|
||||
"manual", "auto", "enable_network_6ghz", "enable_network_5ghz", "enable_network_24ghz", "enable"]:
|
||||
"manual", "auto", "enable_network_6ghz", "enable_network_5ghz", "enable_network_24ghz", "enable", "show_ap_bssid_24g", "show_ap_bssid_5g"]:
|
||||
|
||||
self.command_extend = ["--action", self.action]
|
||||
self.command.extend(self.command_extend)
|
||||
@@ -264,6 +264,18 @@ class create_controller_series_object:
|
||||
summary = self.send_command()
|
||||
return summary
|
||||
|
||||
def show_ap_bssid_24ghz(self):
|
||||
logger.info("show ap name wlan dot11 24ghz")
|
||||
self.action = "show_ap_bssid_24g"
|
||||
summary = self.send_command()
|
||||
return summary
|
||||
|
||||
def show_ap_bssid_5ghz(self):
|
||||
logger.info("show ap name wlan dot11 5ghz")
|
||||
self.action = "show_ap_bssid_5g"
|
||||
summary = self.send_command()
|
||||
return summary
|
||||
|
||||
def show_ap_wlan_summary(self):
|
||||
logger.info("show ap wlan summary")
|
||||
self.action = "show_ap_wlan_summary"
|
||||
@@ -1399,6 +1411,8 @@ INCLUDE_IN_README
|
||||
band=args.band,
|
||||
timeout=args.timeout)
|
||||
|
||||
# cs.show_ap_bssid_24ghz()
|
||||
|
||||
# TODO add ability to select tests
|
||||
cs.show_ap_summary()
|
||||
summary = cs.show_ap_wlan_summary()
|
||||
|
||||
Reference in New Issue
Block a user