summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto8
1 files changed, 7 insertions, 1 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 362c619a..4feca48d 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -366,10 +366,16 @@ message NeighborSet {
repeated Neighbor neighbor_list = 2;
}
+message AsPathLength {
+ string value = 1;
+ string operator = 2;
+}
+
message Conditions {
PrefixSet match_prefix_set = 1;
NeighborSet match_neighbor_set = 2;
- int64 match_set_options = 3;
+ AsPathLength match_as_path_length = 3;
+ int64 match_set_options = 4;
}
message Actions {