summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto11
1 files changed, 9 insertions, 2 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 29038ea8..e61c2243 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -75,7 +75,8 @@ enum Resource {
ADJ_OUT = 3;
POLICY_PREFIX = 4;
POLICY_NEIGHBOR = 5;
- POLICY_ROUTEPOLICY = 6;
+ POLICY_ASPATH = 6;
+ POLICY_ROUTEPOLICY = 7;
}
enum Operation {
@@ -373,11 +374,17 @@ message AsPathLength {
string operator = 2;
}
+message AsPathSet {
+ string as_path_set_name = 1;
+ repeated string as_path_members = 2;
+}
+
message Conditions {
PrefixSet match_prefix_set = 1;
NeighborSet match_neighbor_set = 2;
AsPathLength match_as_path_length = 3;
- string match_set_options = 4;
+ AsPathSet match_as_path_set = 4;
+ string match_set_options = 5;
}
message Actions {