gnoi
gnoi copied to clipboard
RebootStatus RPC ambiguity
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
@marcushines @robshakir thoughts?
a proposal: https://github.com/openconfig/gnoi/pull/99