summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins/gobgp.yang
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-12 13:43:57 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-12 13:44:33 +0900
commit84f3a20caeab95e2e41e8b13914e7d4096973376 (patch)
treecd197ad0b590fec9487ca909f126b63f7dd80629 /tools/pyang_plugins/gobgp.yang
parent6180ffb7106e3673e4da5a2d2ce1f87612462721 (diff)
rpki: don't show validation result if rpki disabled
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.yang3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index 1c1ed740..6b188097 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -203,6 +203,9 @@ module bgp-gobgp {
typedef rpki-validation-result-type {
type enumeration {
+ enum NONE {
+ description "RPKI disabled";
+ }
enum NOT-FOUND {
description "If the origin AS, prefix, maximum prefix length
does not exist in the range of ROA";