From d4817c9727387b2c7df882f76127b1e7cde63cc5 Mon Sep 17 00:00:00 2001 From: Jed Reynolds Date: Wed, 3 Jun 2020 13:41:55 -0700 Subject: [PATCH] renames create_genlink to generic_cx --- connectTest.py | 4 ++-- py-json/{create_genlink.py => generic_cx.py} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename py-json/{create_genlink.py => generic_cx.py} (96%) diff --git a/connectTest.py b/connectTest.py index 549e2d1c..7bb3695f 100755 --- a/connectTest.py +++ b/connectTest.py @@ -9,7 +9,7 @@ if 'py-json' not in sys.path: from LANforge import LFUtils from LANforge.LFUtils import * from LANforge.lfcli_base import LFCliBase -from create_genlink import CreateGenlink +from generic_cx import GenericCx mgrURL = "http://localhost:8080/" staName = "sta0" @@ -165,7 +165,7 @@ class ConnectTest(LFCliBase): time.sleep(.05) # create generic endpoints - genl = CreateGenlink(lfclient_host=self.lfjson_host, lfclient_port=self.lfjson_port) + genl = GenericCx(lfclient_host=self.lfjson_host, lfclient_port=self.lfjson_port) genl.createGenEndp("genTest1", 1, 1, staName, "gen_generic") genl.createGenEndp("genTest2", 1, 1, staName, "gen_generic") genl.setFlags("genTest1", "ClearPortOnStart", 1) diff --git a/py-json/create_genlink.py b/py-json/generic_cx.py similarity index 96% rename from py-json/create_genlink.py rename to py-json/generic_cx.py index edfc672a..ca64aa04 100755 --- a/py-json/create_genlink.py +++ b/py-json/generic_cx.py @@ -7,7 +7,7 @@ if sys.version_info[0] != 3: from LANforge.lfcli_base import LFCliBase -class CreateGenlink(LFCliBase): +class GenericCx(LFCliBase): def __init__(self, lfclient_host, lfclient_port): super().__init__(lfclient_host, lfclient_port) self.lfclient_host = lfclient_host