diff options
-rw-r--r-- | config/bgp_configs.go | 3 | ||||
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go index 422c9954..309f7d65 100644 --- a/config/bgp_configs.go +++ b/config/bgp_configs.go @@ -116,7 +116,8 @@ const ( type RpkiValidationResultType int const ( - RPKI_VALIDATION_RESULT_TYPE_NOT_FOUND RpkiValidationResultType = iota + RPKI_VALIDATION_RESULT_TYPE_NONE RpkiValidationResultType = iota + RPKI_VALIDATION_RESULT_TYPE_NOT_FOUND RPKI_VALIDATION_RESULT_TYPE_VALID RPKI_VALIDATION_RESULT_TYPE_INVALID ) 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"; |