From 000589f3cfa62d1cc62a84e3ce3723fc5b306144 Mon Sep 17 00:00:00 2001 From: Satoshi Fujimoto Date: Tue, 5 Jun 2018 14:18:49 +0900 Subject: api: Implement UpdatePolicy() Signed-off-by: Satoshi Fujimoto --- api/gobgp.proto | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'api/gobgp.proto') 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; -- cgit v1.2.3