mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 04:07:52 +00:00
deprecated halt_on_error
This commit is contained in:
@@ -18,7 +18,7 @@ from pprint import pprint
|
||||
|
||||
class StationsConnected(LFCliBase):
|
||||
def __init__(self, lfjson_host, lfjson_port):
|
||||
super().__init__(_lfjson_host=lfjson_host, _lfjson_port=lfjson_port, _halt_on_error=True, _debug=False)
|
||||
super().__init__(_lfjson_host=lfjson_host, _lfjson_port=lfjson_port, _debug=False)
|
||||
self.localrealm = Realm(lfclient_host=lfjson_host, lfclient_port=lfjson_port, debug=False)
|
||||
self.check_connect()
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@ class Test1KClients(LFCliBase):
|
||||
port,
|
||||
_debug=_debug_on,
|
||||
_local_realm=Realm(lfclient_host=host, lfclient_port=port),
|
||||
_halt_on_error=_exit_on_error,
|
||||
_exit_on_fail=_exit_on_fail)
|
||||
self.ssid_radio_map = {
|
||||
'1.1.wiphy0' : ("wpa2", "jedway-wpa2-x2048-4-4", "jedway-wpa2-x2048-4-4"),
|
||||
|
||||
@@ -36,7 +36,6 @@ class IPV4L4(LFCliBase):
|
||||
super().__init__(host,
|
||||
port,
|
||||
_debug=_debug_on,
|
||||
_halt_on_error=_exit_on_error,
|
||||
_local_realm = realm.Realm(lfclient_host=host, lfclient_port=port),
|
||||
_exit_on_fail=_exit_on_fail)
|
||||
self.host = host
|
||||
|
||||
@@ -27,7 +27,7 @@ class IPV4VariableTime(LFCliBase):
|
||||
_debug_on=False,
|
||||
_exit_on_error=False,
|
||||
_exit_on_fail=False):
|
||||
super().__init__(host, port, _debug=_debug_on, _halt_on_error=_exit_on_error, _exit_on_fail=_exit_on_fail)
|
||||
super().__init__(host, port, _debug=_debug_on, _exit_on_fail=_exit_on_fail)
|
||||
self.upstream = upstream
|
||||
self.host = host
|
||||
self.port = port
|
||||
|
||||
@@ -61,7 +61,7 @@ class TTLSTest(LFCliBase):
|
||||
_debug_on=False,
|
||||
_exit_on_error=False,
|
||||
_exit_on_fail=False):
|
||||
super().__init__(host, port, _debug=_debug_on, _halt_on_error=_exit_on_error, _exit_on_fail=_exit_on_fail)
|
||||
super().__init__(host, port, _debug=_debug_on, _exit_on_fail=_exit_on_fail)
|
||||
self.host = host
|
||||
self.port = port
|
||||
self.ssid = ssid
|
||||
|
||||
@@ -29,7 +29,7 @@ class VRTest(LFCliBase):
|
||||
_debug_on=False,
|
||||
_exit_on_error=False,
|
||||
_exit_on_fail=False):
|
||||
super().__init__(host, port, _debug=_debug_on, _halt_on_error=_exit_on_error, _exit_on_fail=_exit_on_fail)
|
||||
super().__init__(host, port, _debug=_debug_on, _exit_on_fail=_exit_on_fail)
|
||||
self.upstream = upstream
|
||||
self.host = host
|
||||
self.port = port
|
||||
|
||||
Reference in New Issue
Block a user