diff options
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r-- | api/gobgp.proto | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto index c34ac23b..296d7f18 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -33,6 +33,7 @@ service GobgpApi { rpc Shutdown(Arguments) returns (Error) {} rpc Enable(Arguments) returns (Error) {} rpc Disable(Arguments) returns (Error) {} + rpc ModPath(ModPathArguments) returns (ModPathResponse) {} rpc ModPaths(stream ModPathsArguments) returns (Error) {} rpc MonitorBestChanged(Arguments) returns (stream Destination) {} rpc MonitorPeerState(Arguments) returns (stream Peer) {} @@ -71,6 +72,18 @@ message Arguments { string name = 3; } +message ModPathArguments { + Operation operation = 1; + Resource resource = 2; + string name = 3; + Path path = 4; + bytes uuid = 5; +} + +message ModPathResponse { + bytes uuid = 1; +} + message ModPathsArguments { Resource resource = 1; string name = 2; |