diff options
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r-- | api/gobgp.proto | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto index ad070e60..84eb8c74 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -48,6 +48,7 @@ service GobgpApi { rpc ModDefinedSet(ModDefinedSetArguments) returns (Error) {} rpc GetStatement(Statement) returns (Statement) {} rpc GetStatements(Statement) returns (stream Statement) {} + rpc ModStatement(ModStatementArguments) returns (Error) {} } message Error { @@ -97,6 +98,11 @@ message ModDefinedSetArguments { DefinedSet set = 2; } +message ModStatementArguments { + Operation operation = 1; + Statement statement = 2; +} + enum Resource { GLOBAL = 0; LOCAL = 1; |