Used by the client to return the link failover or switchback result to ClusterD.
rpc ReplySwitchNicResult(SwitchResult) returns (Status) {}
Parameter |
Type (Defined by Protobuf) |
Description |
|---|---|---|
SwitchResult |
message SwitchResult{ string jobId = 1; bool result = 2; } |
SwitchResult.jobId: job ID SwitchResult.result: execution result of the command. true indicates success, and false indicates failure. |
Parameter |
Type (Defined by Protobuf) |
Description |
|---|---|---|
Status |
message Status{ int32 code = 1; string info =2; } |
Status.code: return code
Status.info: return information |