Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve container checker for gnmi/telemetry container (sonic-net#18529)
### Why I did it We have used gnmi container to replace telemetry container, and telemetry is still enabled after upgrade. container_checker script reads from features table and check if the container is running, telemetry is enabled but there's no telemetry container. It's difficult to disable telemetry in feature table for warm reboot and cold reboot, we need to check docker image in db migrator and minigraph.py. ### How I did it I modify container_checker script: If there's docker-sonic-telemetry image, check telemetry container. If there's no docker-sonic-telemetry image, check gnmi container instead. If there's no docker-sonic-telemetry image and docker-sonic-gnmi image, do not check telemetry. #### How to verify it Run end to end test with cold-reboot and warm-reboot.
- Loading branch information