gnoi icon indicating copy to clipboard operation
gnoi copied to clipboard

RebootStatus RPC ambiguity

Open amanand opened this issue 3 years ago • 2 comments

Hi, RebootStatusRequest can have multiple subcomponents whereas it has just a single response. So there is no way to deterministically respond from target as to which ones are in what state in a multi-node setup. Can someone please clarify on the expected behavior or if there needs to be any modification?

message RebootStatusRequest { repeated types.Path subcomponents = 1; // optional sub-component. }

message RebootStatusResponse { bool active = 1; // If reboot is active. uint64 wait = 2; // Time left until reboot. uint64 when = 3; // Time to reboot in nanoseconds since the epoch. string reason = 4; // Reason for reboot. uint32 count = 5; // Number of reboots since active. }

Thanks, Amish

amanand avatar Aug 26 '21 19:08 amanand

@marcushines @robshakir thoughts?

greg-dennis avatar Apr 28 '22 00:04 greg-dennis

a proposal: https://github.com/openconfig/gnoi/pull/99

xw-g avatar Sep 30 '22 16:09 xw-g