Updated stop method

This commit is contained in:
Logan Lipke
2020-08-27 14:10:57 -07:00
parent 383d2cf7b9
commit a115f1fe7a

6
py-scripts/test_ipv4_connection.py Normal file → Executable file
View File

@@ -93,11 +93,7 @@ class IPv4Test(LFCliBase):
def stop(self):
# Bring stations down
for sta_name in self.sta_list:
data = LFUtils.portDownRequest(1, sta_name)
url = "cli-json/set_port"
# print(sta_name)
self.json_post(url, data)
self.station_profile.admin_down()
def cleanup(self, sta_list):
self.station_profile.cleanup(sta_list)