mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
Updated stop method
This commit is contained in:
@@ -103,11 +103,7 @@ class TTLSTest(LFCliBase):
|
|||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
# Bring stations down
|
# Bring stations down
|
||||||
for sta_name in self.sta_list:
|
self.station_profile.admin_down()
|
||||||
data = LFUtils.portDownRequest(1, sta_name)
|
|
||||||
url = "cli-json/set_port"
|
|
||||||
# print(sta_name)
|
|
||||||
self.json_post(url, data)
|
|
||||||
|
|
||||||
def cleanup(self, sta_list):
|
def cleanup(self, sta_list):
|
||||||
self.station_profile.cleanup(sta_list)
|
self.station_profile.cleanup(sta_list)
|
||||||
|
|||||||
Reference in New Issue
Block a user