Merge branch 'master' of github.com:greearb/lanforge-scripts

This commit is contained in:
Ben Greear
2020-06-10 16:36:23 -07:00
2 changed files with 5 additions and 5 deletions

View File

@@ -166,7 +166,7 @@ class ConnectTest(LFCliBase):
time.sleep(.05)
# 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("genTest2", 1, 1, staName, "gen_generic")
genl.setFlags("genTest1", "ClearPortOnStart", 1)
@@ -468,9 +468,9 @@ class ConnectTest(LFCliBase):
# ~class
def main():
lfjson_host = "localhost"
lfjson_port = 8080
test = ConnectTest(lfjson_host, lfjson_port)
lfclient_host = "localhost"
lfclient_port = 8080
test = ConnectTest(lfclient_host, lfclient_port)
test.run()

View File

@@ -476,7 +476,7 @@ Example:
lfjson_port = args.port
staConnect = StaConnect(lfjson_host, lfjson_port)
staConnect.station_names = [ "sta0000" ]
if args.user is not None:
staConnect.user = args.user
if args.passwd is not None: