mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 20:27:54 +00:00
if statement changes
This commit is contained in:
@@ -1825,8 +1825,7 @@ class VAPProfile(LFCliBase):
|
|||||||
if self.self.wifi_extra_data_modified:
|
if self.self.wifi_extra_data_modified:
|
||||||
wifi_extra_r.addPostData(self.wifi_extra_data)
|
wifi_extra_r.addPostData(self.wifi_extra_data)
|
||||||
json_response = wifi_extra_r.jsonPost(debug)
|
json_response = wifi_extra_r.jsonPost(debug)
|
||||||
else:
|
|
||||||
print("set_wifi_extra must be called to use wifi_extra")
|
|
||||||
|
|
||||||
port_list = self.local_realm.json_get("port/1/1/list")
|
port_list = self.local_realm.json_get("port/1/1/list")
|
||||||
if port_list is not None:
|
if port_list is not None:
|
||||||
@@ -2778,8 +2777,7 @@ class StationProfile:
|
|||||||
if self.wifi_extra_data_modified:
|
if self.wifi_extra_data_modified:
|
||||||
wifi_extra_r.addPostData(self.wifi_extra_data)
|
wifi_extra_r.addPostData(self.wifi_extra_data)
|
||||||
json_response = wifi_extra_r.jsonPost(debug)
|
json_response = wifi_extra_r.jsonPost(debug)
|
||||||
else:
|
|
||||||
print("set_wifi_extra must be called to use wifi_extra")
|
|
||||||
|
|
||||||
LFUtils.waitUntilPortsAppear(self.lfclient_url, self.station_names)
|
LFUtils.waitUntilPortsAppear(self.lfclient_url, self.station_names)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user