summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-06-30 18:13:55 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-07-01 21:27:31 +0900
commitc9d9a6825c9fe629b069205e2a73836047a7eb3c (patch)
tree4e8814ca0b07fe7d5a0b97658aa523f2e1232cd1 /api
parentccfded2fee746664b576df0a068aec727cb5fae5 (diff)
cli: support med action
Diffstat (limited to 'api')
-rw-r--r--api/gobgp.pb.go1
-rw-r--r--api/gobgp.proto1
2 files changed, 2 insertions, 0 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go
index bc1cad51..e4214a66 100644
--- a/api/gobgp.pb.go
+++ b/api/gobgp.pb.go
@@ -1162,6 +1162,7 @@ func (*CommunityAction) 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"`
}
func (m *Actions) Reset() { *m = Actions{} }
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 1e789502..d52f96dc 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -431,6 +431,7 @@ message CommunityAction {
message Actions {
string route_action = 1;
CommunityAction community = 2;
+ string med = 3;
}
message Statement {