Skip to content

per_component_reboot_test

Github Action edited this page May 1, 2024 · 3 revisions

gNOI-3.2: Per-Component Reboot

Summary

Validate gNOI RPC can reboot specific components.

Procedure

  • Issue gnoi.system Reboot to chassis with no populated delay and subcomponents set to:
    • A field-removable linecard in the system
    • A control-processor (supervisor)
    • A field-removable fabric component in the system
  • TODO: For each component verify that the component has rebooted and the uptime has been reset.

OpenConfig Path and RPC Coverage

The below yaml defines the OC paths intended to be covered by this test. OC paths used for test setup are not listed here.

TODO(OCPATH): Add component names to component paths.

paths:
    ## Config paths: N/A

    ## State paths
    ### FIXME: Add components
    #/components/component/state/description:
    #/components/component/state/removable:
    #/components/component/state/name:
    #/components/component/state/oper-status:
    /interfaces/interface/state/name:
    /interfaces/interface/state/oper-status:

rpcs:
  gnoi:
    system.System.Reboot:
    system.System.RebootStatus:
Clone this wiki locally