mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-20 12:04:52 +00:00
Updated stop method
This commit is contained in:
@@ -91,10 +91,7 @@ class GenTest(LFCliBase):
|
|||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
self.cx_profile.stop_cx()
|
self.cx_profile.stop_cx()
|
||||||
for sta_name in self.sta_list:
|
self.station_profile.admin_down()
|
||||||
data = LFUtils.portDownRequest(1, sta_name)
|
|
||||||
url = "cli-json/set_port"
|
|
||||||
self.json_post(url, data)
|
|
||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
self.station_profile.use_security(self.security, self.ssid, self.password)
|
self.station_profile.use_security(self.security, self.ssid, self.password)
|
||||||
|
|||||||
Reference in New Issue
Block a user