From 81b4ac128abe964cab96f9c66eb8dc7881800976 Mon Sep 17 00:00:00 2001 From: Logan Lipke Date: Wed, 10 Jun 2020 16:07:17 -0700 Subject: [PATCH 1/2] Renamed lfjson_host and lfjson_port to lfclient_host and lfclient_port --- connectTest.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/connectTest.py b/connectTest.py index 7cd6a088..688164da 100755 --- a/connectTest.py +++ b/connectTest.py @@ -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() From 74632be0e754c161b4f125e8b277f0ab9138cf80 Mon Sep 17 00:00:00 2001 From: Jed Reynolds Date: Wed, 10 Jun 2020 16:29:55 -0700 Subject: [PATCH 2/2] sta_connect.py: updates main to assign item to station_names --- py-scripts/sta_connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-scripts/sta_connect.py b/py-scripts/sta_connect.py index a5c51a1a..b53b51a8 100755 --- a/py-scripts/sta_connect.py +++ b/py-scripts/sta_connect.py @@ -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: