diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-20 02:52:59 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-20 02:52:59 +0900 |
commit | b6e606a99480cffd47e73e7b74aa3a10df5ad47d (patch) | |
tree | ad34613d89ea3316271ff6c2f82caff804ff9c81 /tools/pyang_plugins/gobgp.yang | |
parent | 49e45d4e0c0a81dc8f9ec4b3a39433b22af04f16 (diff) |
remove gRPC dependency from peer.go
move gRPC dependency from peer.go to grpc_server.go
Preparation for the removal of gRPC dependency from packages except
for api package.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools/pyang_plugins/gobgp.yang')
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index f9aba5f7..9ccf1d4f 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -188,6 +188,23 @@ module gobgp { } + grouping gobgp-adjacent-table { + container adj-table { + leaf ADVERTISED { + type uint32; + } + + leaf RECEIVED { + type uint32; + } + + leaf ACCEPTED { + type uint32; + } + } + } + + grouping gobgp-timer { description "additional timer"; @@ -561,6 +578,27 @@ module gobgp { uses gobgp-message-counter; } + augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state" { + description "additional counters"; + uses gobgp-adjacent-table; + } + + + augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state" { + container Capabilities { + leaf-list remote { + type binary; + } + leaf-list local { + type binary; + } + } + + leaf received-open-message { + type binary; + } + } + augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config" { description "additional state elements"; @@ -580,6 +618,10 @@ module gobgp { "The state of administrative operation. If the state is true, it indicates the neighbor is disabled by the administrator"; } + leaf admin-state { + type string; + } + leaf established-count { type uint32; description |