diff options
author | Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> | 2018-06-05 14:18:49 +0900 |
---|---|---|
committer | Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> | 2018-06-13 13:57:04 +0900 |
commit | 000589f3cfa62d1cc62a84e3ce3723fc5b306144 (patch) | |
tree | 8675ce845282fad5ada375700e331221ea7930ef /api/gobgp.proto | |
parent | c821cfbc8e04bb05bf0e300e52693b5085e1bfef (diff) |
api: Implement UpdatePolicy()
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r-- | api/gobgp.proto | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto index 02644e6b..895ad723 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -76,6 +76,7 @@ service GobgpApi { rpc AddPolicy(AddPolicyRequest) returns (AddPolicyResponse) {} rpc DeletePolicy(DeletePolicyRequest) returns (DeletePolicyResponse) {} rpc ReplacePolicy(ReplacePolicyRequest) returns (ReplacePolicyResponse) {} + rpc UpdatePolicy(UpdatePolicyRequest) returns (UpdatePolicyResponse) {} rpc GetPolicyAssignment(GetPolicyAssignmentRequest) returns (GetPolicyAssignmentResponse) {} rpc AddPolicyAssignment(AddPolicyAssignmentRequest) returns (AddPolicyAssignmentResponse) {} rpc DeletePolicyAssignment(DeletePolicyAssignmentRequest) returns (DeletePolicyAssignmentResponse) {} @@ -252,6 +253,14 @@ message DisableNeighborRequest { message DisableNeighborResponse { } +message UpdatePolicyRequest { + repeated DefinedSet sets = 1; + repeated Policy policies = 2; +} + +message UpdatePolicyResponse { +} + message EnableMrtRequest { int32 dump_type = 1; string filename = 2; @@ -1229,6 +1238,11 @@ message PolicyAssignment { RouteAction default = 5; } +message RoutingPolicy { + repeated DefinedSet defined_set = 1; + repeated Policy policy_definition = 2; +} + message Roa { uint32 as = 1; uint32 prefixlen = 2; |