PathDiscovery (for Internal Use Only)

Description

Discover paths.

Prototype

rpc PathDiscovery(PathDiscoveryReq) returns (Ack)

Input Parameters

Table 1 Parameter description

Parameter

Type (Defined by Protobuf)

Description

PathDiscoveryReq

message PathDiscoveryReq {

string uuid = 1;

Position proxyPos = 2;

repeated Position path = 3;

}

uuid: message UUID

proxyPos: role location initiated by the PathDiscovery request

path: list of role locations traversed by the PathDiscovery request

Return Value

Table 2 Return value description

Return Value

Type (Defined by Protobuf)

Description

Ack

message Ack {

string uuid = 1;

uint32 code = 2;

Position src = 3;

}

uuid: consistent with the message UUID of PathDiscovery

code: return code

  • 0: PathDiscovery called successfully
  • Other values: failed to call PathDiscovery

src: role location