Loading src/device/service/drivers/gnmi_nokia_srlinux/handlers/_Handler.py +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ class _Handler: raise NotImplementedError() def get_path(self) -> str: # Retrieve the OpenConfig path schema used to interrogate the device # Retrieve the Nokia path schema used to interrogate the device raise NotImplementedError() def compose(self, resource_key : str, resource_value : Dict, delete : bool = False) -> Tuple[str, str]: Loading src/device/service/drivers/gnmi_nokia_srlinux/handlers/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ def get_handler( elif path is not None: path_schema = get_schema(path) path_schema = PATH_MAPPER.get(path_schema, path_schema) LOGGER.debug("Original path: %s, Schema path: %s", path, path_schema) #LOGGER.debug("Original path: %s, Schema path: %s", path, path_schema) handler = PATH_TO_HANDLER.get(path_schema) LOGGER.debug("Mapped path schema: %s", path_schema) if handler is None and raise_if_not_found: Loading Loading
src/device/service/drivers/gnmi_nokia_srlinux/handlers/_Handler.py +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ class _Handler: raise NotImplementedError() def get_path(self) -> str: # Retrieve the OpenConfig path schema used to interrogate the device # Retrieve the Nokia path schema used to interrogate the device raise NotImplementedError() def compose(self, resource_key : str, resource_value : Dict, delete : bool = False) -> Tuple[str, str]: Loading
src/device/service/drivers/gnmi_nokia_srlinux/handlers/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ def get_handler( elif path is not None: path_schema = get_schema(path) path_schema = PATH_MAPPER.get(path_schema, path_schema) LOGGER.debug("Original path: %s, Schema path: %s", path, path_schema) #LOGGER.debug("Original path: %s, Schema path: %s", path, path_schema) handler = PATH_TO_HANDLER.get(path_schema) LOGGER.debug("Mapped path schema: %s", path_schema) if handler is None and raise_if_not_found: Loading