diff --git a/py-scripts/test_ipv4_connection.py b/py-scripts/test_ipv4_connection.py index 72120fa3..ae3696c3 100755 --- a/py-scripts/test_ipv4_connection.py +++ b/py-scripts/test_ipv4_connection.py @@ -31,13 +31,13 @@ class IPv4Test(LFCliBase): self.prefix = prefix self.local_realm = realm.Realm(lfclient_host=self.host, lfclient_port=self.port) self.profile = realm.StationProfile(self.lfclient_url, ssid=self.ssid, ssid_pass=self.password, - security=self.security, prefix=self.prefix, mode=0, up=True, dhcp=True, + security=self.security, number_template_=self.prefix, mode=0, up=True, dhcp=True, debug_=False) def build(self): # Build stations self.profile.use_wpa2(True, self.ssid, self.password) - self.profile.set_prefix(self.prefix) + self.profile.set_number_template(self.prefix) print("Creating stations") self.profile.set_command_flag("add_sta", "create_admin_down", 1) self.profile.create(resource=1, radio="wiphy0", sta_names_=self.sta_list, debug=False) diff --git a/py-scripts/test_ipv4_variable_time.py b/py-scripts/test_ipv4_variable_time.py index f4434bee..4d00604b 100755 --- a/py-scripts/test_ipv4_variable_time.py +++ b/py-scripts/test_ipv4_variable_time.py @@ -33,7 +33,7 @@ class IPV4VariableTime(LFCliBase): self.prefix = prefix self.local_realm = realm.Realm(lfclient_host=self.host, lfclient_port=self.port) self.station_profile = realm.StationProfile(self.lfclient_url, ssid=self.ssid, ssid_pass=self.password, - security=self.security, prefix=self.prefix, mode=0, up=True, + security=self.security, number_template_=self.prefix, mode=0, up=True, dhcp=True, debug_=False) self.cx_profile = realm.L3CXProfile(self.host, self.port, self.local_realm, side_a_min_bps=side_a_min_rate, @@ -163,7 +163,7 @@ class IPV4VariableTime(LFCliBase): sta_list = [] self.station_profile.use_wpa2(True, self.ssid, self.password) - self.station_profile.set_prefix(self.prefix) + self.station_profile.set_number_template(self.prefix) print("Creating stations") self.station_profile.create(resource=1, radio="wiphy0", num_stations=self.num_stations, debug=False) diff --git a/py-scripts/test_ipv6_variable_time.py b/py-scripts/test_ipv6_variable_time.py index 9ae3f00d..22f06ff3 100755 --- a/py-scripts/test_ipv6_variable_time.py +++ b/py-scripts/test_ipv6_variable_time.py @@ -33,7 +33,7 @@ class IPV6VariableTime(LFCliBase): self.prefix = prefix self.local_realm = realm.Realm(lfclient_host=self.host, lfclient_port=self.port) self.station_profile = realm.StationProfile(self.lfclient_url, ssid=self.ssid, ssid_pass=self.password, - security=self.security, prefix=self.prefix, mode=0, up=True, + security=self.security, number_template_=self.prefix, mode=0, up=True, dhcp=True, debug_=False) self.cx_profile = realm.L3CXProfile(self.host, self.port, self.local_realm, side_a_min_rate=side_a_min_rate, @@ -163,7 +163,7 @@ class IPV6VariableTime(LFCliBase): sta_list = [] self.station_profile.use_wpa2(True, self.ssid, self.password) - self.station_profile.set_prefix(self.prefix) + self.station_profile.set_number_template(self.prefix) print("Creating stations") self.station_profile.create(resource=1, radio="wiphy0", num_stations=self.num_stations, debug=False) diff --git a/py-scripts/test_wanlink.py b/py-scripts/test_wanlink.py index c7b45866..2f93f0ad 100644 --- a/py-scripts/test_wanlink.py +++ b/py-scripts/test_wanlink.py @@ -30,7 +30,7 @@ class LANtoWAN(LFCliBase): self.wan_port = wan_port self.local_realm = realm.Realm(lfclient_host=self.host, lfclient_port=self.port) self.profile = realm.StationProfile(self.lfclient_url, ssid=self.ssid, ssid_pass=self.password, - security=self.security, prefix=self.prefix, mode=0, up=True, dhcp=True, + security=self.security, number_template_=self.prefix, mode=0, up=True, dhcp=True, debug_=False) self.cxProfile = realm.new_l3_cx_profile()