diff --git a/py-scripts/modify_vap.py b/py-scripts/modify_vap.py index 1fab3ef3..42f5ac05 100755 --- a/py-scripts/modify_vap.py +++ b/py-scripts/modify_vap.py @@ -19,7 +19,6 @@ sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../"))) lfcli_base = importlib.import_module("py-json.LANforge.lfcli_base") LFCliBase = lfcli_base.LFCliBase -LFUtils = importlib.import_module("py-json.LANforge.LFUtils") realm = importlib.import_module("py-json.realm") Realm = realm.Realm lf_logger_config = importlib.import_module("py-scripts.lf_logger_config") @@ -63,7 +62,7 @@ class ModifyVAP(Realm): self.debug = _debug_on self.dhcp = _dhcp self.vap_profile = self.new_vap_profile() - shelf, resource, port, *nil = LFUtils.name_to_eid(self.vap_list) + shelf, resource, port, *nil = self.name_to_eid(eid=self.vap_list, debug=self.debug) self.vap_profile.resource = resource self.vap_profile.shelf = shelf self.vap_profile.add_vap_data["resource"] = resource