ReplySwitchNicResult
Description
Used by the client to return the link failover or switchback result to ClusterD.
Prototype
rpc ReplySwitchNicResult(SwitchResult) returns (Status) {}
Input Parameters
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. |
Return Value
Parameter |
Type (Defined by Protobuf) |
Description |
|---|---|---|
Status |
message Status{ int32 code = 1; string info =2; } |
Status.code: return code
Status.info: return information |
Parent topic: Link Failover and Switchback APIs