summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-10 22:47:52 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-20 04:25:25 +0900
commitc31164d90d1728e8c565cb8348adad0316cc60db (patch)
treeefac5feb2818d2443fedea1b47bcf6d5e99944ef /tools
parente88a82ed507df6fb2c9411de52427c3b466203ca (diff)
move gRPC-related code for RPKI to grpc_server.go
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools')
-rw-r--r--tools/pyang_plugins/gobgp.yang18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index 9ccf1d4f..ee158866 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -412,6 +412,24 @@ module gobgp {
grouping gobgp-rpki-server-state {
description "additional RPKI state";
+ leaf up {
+ type boolean;
+ }
+ leaf serial-number {
+ type uint32;
+ }
+ leaf records-v4 {
+ type uint32;
+ }
+ leaf records-v6 {
+ type uint32;
+ }
+ leaf prefixes-v4 {
+ type uint32;
+ }
+ leaf prefixes-v6 {
+ type uint32;
+ }
leaf uptime {
type int64;
description