Loading src/device/service/drivers/gnmi_openconfig/GnmiSessionHandler.py +2 −2 Original line number Diff line number Diff line Loading @@ -510,9 +510,9 @@ class GnmiSessionHandler: if any(seg == 'chassis' for seg in segments): self._logger.debug('Skipping non-OpenConfig path (chassis subtree): %s', relative_path) return # - interfaces/.../config/health-indicator (non-OC leaf) # - interfaces/.../(config|state)/health-indicator (non-OC leaf) for i in range(len(segments) - 1): if segments[i] == 'config' and segments[i + 1] == 'health-indicator': if (segments[i] in ('config', 'state')) and segments[i + 1] == 'health-indicator': self._logger.debug('Skipping non-OpenConfig leaf health-indicator at: %s', relative_path) return # - components/.../integrated-circuit/* (skip to avoid schema mismatch; not used by current handler) Loading Loading
src/device/service/drivers/gnmi_openconfig/GnmiSessionHandler.py +2 −2 Original line number Diff line number Diff line Loading @@ -510,9 +510,9 @@ class GnmiSessionHandler: if any(seg == 'chassis' for seg in segments): self._logger.debug('Skipping non-OpenConfig path (chassis subtree): %s', relative_path) return # - interfaces/.../config/health-indicator (non-OC leaf) # - interfaces/.../(config|state)/health-indicator (non-OC leaf) for i in range(len(segments) - 1): if segments[i] == 'config' and segments[i + 1] == 'health-indicator': if (segments[i] in ('config', 'state')) and segments[i + 1] == 'health-indicator': self._logger.debug('Skipping non-OpenConfig leaf health-indicator at: %s', relative_path) return # - components/.../integrated-circuit/* (skip to avoid schema mismatch; not used by current handler) Loading