summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto36
1 files changed, 21 insertions, 15 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 84844214..fe3d31fe 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -178,26 +178,32 @@ message Aggregator {
string address = 2;
}
-enum EXTENDED_COMMUNITIE_TYPE {
- TWO_OCTET_AS_SPECIFIC = 0;
- IP4_SPECIFIC = 1;
- FOUR_OCTET_AS_SPECIFIC = 2;
- OPAQUE = 3;
-}
-
-enum EXTENDED_COMMUNITIE_SUBTYPE {
- ORIGIN_VALIDATION = 0;
- ROUTE_TARGET = 2;
- ROUTE_ORIGIN = 3;
-}
-
message ExtendedCommunity {
- EXTENDED_COMMUNITIE_TYPE type = 1;
- EXTENDED_COMMUNITIE_SUBTYPE subtype = 2;
+ enum Type {
+ TWO_OCTET_AS_SPECIFIC = 0;
+ IP4_SPECIFIC = 1;
+ FOUR_OCTET_AS_SPECIFIC = 2;
+ OPAQUE = 3;
+ EVPN = 4;
+ }
+ Type type = 1;
+ enum Subtype {
+ ORIGIN_VALIDATION = 0;
+ ROUTE_TARGET = 2;
+ ROUTE_ORIGIN = 3;
+ ESI_LABEL = 4;
+ MAC_MOBILITY = 5;
+ }
+ Subtype subtype = 2;
bool is_transitive = 3;
uint32 asn = 4;
string ipv4 = 5;
uint32 local_admin = 6;
+ bool is_single_active = 7;
+ uint32 label = 8;
+ string es_import = 9;
+ uint32 sequence = 10;
+ bool is_sticky = 11;
}
enum TUNNEL_TYPE {