summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-07-15 19:53:53 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-07-31 16:26:17 +0900
commit0b4b806c06f0ee50bb1bc1b30c38399553687abd (patch)
tree6898ec9eeb21a26668012c1c7743772da7b72214 /api/gobgp.proto
parent2ad42ead02cce21cf71b3dde0731e8f5c6d4ac6a (diff)
config: use the latest openconfig yang
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto38
1 files changed, 21 insertions, 17 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 1a573977..98136bc6 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -377,20 +377,20 @@ message PeerInfo {
string bgp_state = 1;
string admin_state = 2;
uint32 fsm_established_transitions = 3;
- uint32 total_message_out = 4;
- uint32 total_message_in = 5;
- uint32 update_message_out = 6;
- uint32 update_message_in = 7;
- uint32 keep_alive_message_out = 8;
- uint32 keep_alive_message_in = 9;
- uint32 open_message_out = 10;
- uint32 open_message_in = 11;
- uint32 notification_out = 12;
- uint32 notification_in = 13;
- uint32 refresh_message_out = 14;
- uint32 refresh_message_in = 15;
- uint32 discarded_out = 16;
- uint32 discarded_in = 17;
+ uint64 total_message_out = 4;
+ uint64 total_message_in = 5;
+ uint64 update_message_out = 6;
+ uint64 update_message_in = 7;
+ uint64 keep_alive_message_out = 8;
+ uint64 keep_alive_message_in = 9;
+ uint64 open_message_out = 10;
+ uint64 open_message_in = 11;
+ uint64 notification_out = 12;
+ uint64 notification_in = 13;
+ uint64 refresh_message_out = 14;
+ uint64 refresh_message_in = 15;
+ uint64 discarded_out = 16;
+ uint64 discarded_in = 17;
int64 uptime = 18;
int64 downtime = 19;
string last_error = 20;
@@ -417,6 +417,7 @@ message Prefix {
message PrefixSet {
string prefix_set_name = 1;
repeated Prefix prefix_list = 2;
+ string match_set_options = 3;
}
message Neighbor {
@@ -426,6 +427,7 @@ message Neighbor {
message NeighborSet {
string neighbor_set_name = 1;
repeated Neighbor neighbor_list = 2;
+ string match_set_options = 3;
}
message AsPathLength {
@@ -436,16 +438,19 @@ message AsPathLength {
message AsPathSet {
string as_path_set_name = 1;
repeated string as_path_members = 2;
+ string match_set_options = 3;
}
message CommunitySet {
string community_set_name = 1;
repeated string community_members = 2;
+ string match_set_options = 3;
}
message ExtCommunitySet {
string ext_community_set_name = 1;
repeated string ext_community_members = 2;
+ string match_set_options = 3;
}
message Conditions {
@@ -454,8 +459,7 @@ message Conditions {
AsPathLength match_as_path_length = 3;
AsPathSet match_as_path_set = 4;
CommunitySet match_community_set = 5;
- string match_set_options = 6;
- ExtCommunitySet match_ext_community_set = 7;
+ ExtCommunitySet match_ext_community_set = 6;
}
message CommunityAction {
@@ -504,4 +508,4 @@ message ROA {
uint32 prefixlen = 2;
uint32 maxlen = 3;
string prefix = 4;
-} \ No newline at end of file
+}