mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
Merge branch 'master' of github.com:greearb/lanforge-scripts
This commit is contained in:
@@ -166,7 +166,7 @@ class ConnectTest(LFCliBase):
|
|||||||
time.sleep(.05)
|
time.sleep(.05)
|
||||||
|
|
||||||
# create generic endpoints
|
# create generic endpoints
|
||||||
genl = GenericCx(lfclient_host=self.lfjson_host, lfclient_port=self.lfjson_port)
|
genl = GenericCx(lfclient_host=self.lfclient_host, lfclient_port=self.lfclient_port)
|
||||||
genl.createGenEndp("genTest1", 1, 1, staName, "gen_generic")
|
genl.createGenEndp("genTest1", 1, 1, staName, "gen_generic")
|
||||||
genl.createGenEndp("genTest2", 1, 1, staName, "gen_generic")
|
genl.createGenEndp("genTest2", 1, 1, staName, "gen_generic")
|
||||||
genl.setFlags("genTest1", "ClearPortOnStart", 1)
|
genl.setFlags("genTest1", "ClearPortOnStart", 1)
|
||||||
@@ -468,9 +468,9 @@ class ConnectTest(LFCliBase):
|
|||||||
# ~class
|
# ~class
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
lfjson_host = "localhost"
|
lfclient_host = "localhost"
|
||||||
lfjson_port = 8080
|
lfclient_port = 8080
|
||||||
test = ConnectTest(lfjson_host, lfjson_port)
|
test = ConnectTest(lfclient_host, lfclient_port)
|
||||||
test.run()
|
test.run()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -476,7 +476,7 @@ Example:
|
|||||||
lfjson_port = args.port
|
lfjson_port = args.port
|
||||||
|
|
||||||
staConnect = StaConnect(lfjson_host, lfjson_port)
|
staConnect = StaConnect(lfjson_host, lfjson_port)
|
||||||
|
staConnect.station_names = [ "sta0000" ]
|
||||||
if args.user is not None:
|
if args.user is not None:
|
||||||
staConnect.user = args.user
|
staConnect.user = args.user
|
||||||
if args.passwd is not None:
|
if args.passwd is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user