Skip to content

[gNOI System] Missing component state telemetry paths in per_component_reboot_test README #5726

Description

@devansh-lodha

Describe the bug
per_component_reboot_test.go actively validates component state telemetry leaves during test execution:

  • /components/component/state/removable (lines 423, 427, 488, 517)
  • /components/component/state/name (line 257)
  • /components/component/state/oper-status (line 579)

However, these three OpenConfig telemetry paths were left commented out under ## OpenConfig Path and RPC Coverage in feature/gnoi/system/tests/per_component_reboot_test/README.md.

To Reproduce
Steps to reproduce:

  1. Open feature/gnoi/system/tests/per_component_reboot_test/per_component_reboot_test.go and inspect lines 257, 427, 488, 517, 579.
  2. Compare with feature/gnoi/system/tests/per_component_reboot_test/README.md lines 44-54.

Expected behavior
README.md should document all OpenConfig state paths tested in Go code, annotate component paths with platform_type constraints, and include a valid ## Canonical OC block.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions