daemon: add linked method to session and grpc support leveraging new linking semantics, update add_link validation check
This commit is contained in:
parent
e5e14ad67b
commit
7ed007496c
4 changed files with 106 additions and 3 deletions
|
@ -61,6 +61,8 @@ service CoreApi {
|
|||
}
|
||||
rpc DeleteLink (DeleteLinkRequest) returns (DeleteLinkResponse) {
|
||||
}
|
||||
rpc Linked (LinkedRequest) returns (LinkedResponse) {
|
||||
}
|
||||
|
||||
// mobility rpc
|
||||
rpc GetMobilityConfig (mobility.GetMobilityConfigRequest) returns (mobility.GetMobilityConfigResponse) {
|
||||
|
@ -684,3 +686,15 @@ message Server {
|
|||
string name = 1;
|
||||
string host = 2;
|
||||
}
|
||||
|
||||
message LinkedRequest {
|
||||
int32 session_id = 1;
|
||||
int32 node1_id = 2;
|
||||
int32 node2_id = 3;
|
||||
int32 iface1_id = 4;
|
||||
int32 iface2_id = 5;
|
||||
bool linked = 6;
|
||||
}
|
||||
|
||||
message LinkedResponse {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue