summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-07-15 19:19:42 +0900
committerNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-07-15 19:37:21 +0900
commit3cfce356e43e5f9c4e2f2429ed2a3971b863f1a6 (patch)
treeb5bb473789cdf0c19dae08817652182ce030c8cb /api/gobgp.proto
parentb56ddd477bccd5ae0bd830b95de977ba516f066b (diff)
cli: support extended community
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index b0fa4714..c97e446a 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -80,6 +80,7 @@ enum Resource {
POLICY_ASPATH = 6;
POLICY_COMMUNITY = 7;
POLICY_ROUTEPOLICY = 8;
+ POLICY_EXTCOMMUNITY = 9;
}
enum Operation {
@@ -434,6 +435,11 @@ message CommunitySet {
repeated string community_members = 2;
}
+message ExtCommunitySet {
+ string ext_community_set_name = 1;
+ repeated string ext_community_members = 2;
+}
+
message Conditions {
PrefixSet match_prefix_set = 1;
NeighborSet match_neighbor_set = 2;
@@ -441,6 +447,7 @@ message Conditions {
AsPathSet match_as_path_set = 4;
CommunitySet match_community_set = 5;
string match_set_options = 6;
+ ExtCommunitySet match_ext_community_set = 7;
}
message CommunityAction {