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