summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto14
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;