summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/gobgp.pb.go16
-rw-r--r--api/gobgp.proto1
2 files changed, 13 insertions, 4 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go
index 9ef9cbef..dbcc63d5 100644
--- a/api/gobgp.pb.go
+++ b/api/gobgp.pb.go
@@ -601,10 +601,11 @@ func (m *AsPrependAction) String() string { return proto.CompactTextString(m) }
func (*AsPrependAction) ProtoMessage() {}
type Actions struct {
- RouteAction string `protobuf:"bytes,1,opt,name=route_action" json:"route_action,omitempty"`
- Community *CommunityAction `protobuf:"bytes,2,opt,name=community" json:"community,omitempty"`
- Med string `protobuf:"bytes,3,opt,name=med" json:"med,omitempty"`
- AsPrepend *AsPrependAction `protobuf:"bytes,4,opt,name=as_prepend" json:"as_prepend,omitempty"`
+ RouteAction string `protobuf:"bytes,1,opt,name=route_action" json:"route_action,omitempty"`
+ Community *CommunityAction `protobuf:"bytes,2,opt,name=community" json:"community,omitempty"`
+ Med string `protobuf:"bytes,3,opt,name=med" json:"med,omitempty"`
+ AsPrepend *AsPrependAction `protobuf:"bytes,4,opt,name=as_prepend" json:"as_prepend,omitempty"`
+ ExtCommunity *CommunityAction `protobuf:"bytes,5,opt,name=ext_community" json:"ext_community,omitempty"`
}
func (m *Actions) Reset() { *m = Actions{} }
@@ -625,6 +626,13 @@ func (m *Actions) GetAsPrepend() *AsPrependAction {
return nil
}
+func (m *Actions) GetExtCommunity() *CommunityAction {
+ if m != nil {
+ return m.ExtCommunity
+ }
+ return nil
+}
+
type Statement struct {
StatementNeme string `protobuf:"bytes,1,opt,name=statement_neme" json:"statement_neme,omitempty"`
Conditions *Conditions `protobuf:"bytes,2,opt,name=conditions" json:"conditions,omitempty"`
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 259bdfff..135fff8c 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -265,6 +265,7 @@ message Actions {
CommunityAction community = 2;
string med = 3;
AsPrependAction as_prepend = 4;
+ CommunityAction ext_community = 5;
}
message Statement {