mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-31 18:58:01 +00:00
create_sta.py: changes get() to jsonPost()
This commit is contained in:
@@ -252,7 +252,7 @@ def main():
|
||||
#lf_r = LFRequest.LFRequest(base_url+"/port/1/%s/%s"%(resource_id, sta_name))
|
||||
lf_r = LFRequest.LFRequest(base_url+"/cli-json/set_port")
|
||||
lf_r.addPostData(LFUtils.portDownRequest(resource_id, sta_name))
|
||||
lf_r.get()
|
||||
lf_r.jsonPost()
|
||||
LFUtils.waitUntilPortsAdminDown(resource_id, desired_stations)
|
||||
|
||||
for sta_name in desired_stations:
|
||||
|
||||
Reference in New Issue
Block a user