diff options
Diffstat (limited to 'tools/pyang_plugins')
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index a7b78b95..873b8816 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -798,6 +798,29 @@ module gobgp { uses gobgp-rpki-validation-result; } + deviation "/rpol:routing-policy/rpol:policy-definitions/" + + "rpol:policy-definition/rpol:statements/rpol:statement/" + + "rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:route-type" { + description "alternative route-type condition"; + deviate replace { + type enumeration { + enum NONE { + description "route type is none"; + } + enum INTERNAL { + description "route type is internal"; + } + enum EXTERNAL { + description "route type is external"; + } + enum LOCAL { + description "route type is local"; + } + } + + } + } + augment "/bgp:bgp" { description "additional rpki configuration and state"; uses gobgp-rpki-servers; |