diff options
Diffstat (limited to 'yang/frr-zebra.yang')
-rw-r--r-- | yang/frr-zebra.yang | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/yang/frr-zebra.yang b/yang/frr-zebra.yang index be2f7b5a6..5c2560837 100644 --- a/yang/frr-zebra.yang +++ b/yang/frr-zebra.yang @@ -2175,65 +2175,4 @@ module frr-zebra { } // End of operational / state container } - - // End interface model augmentation - - augment "/frr-route-map:lib" - + "/frr-route-map:route-map" - + "/frr-route-map:entry" - + "/frr-route-map:match-condition" - + "/frr-route-map:condition-value" { - case ipv4-prefix-length { - when "./condition = 'ipv4-prefix-length' or - ./condition = 'ipv4-next-hop-prefix-length'"; - leaf ipv4-prefix-length { - type uint8 { - range "0..32"; - } - } - } - case ipv6-prefix-length { - when "./condition = 'ipv6-prefix-length'"; - leaf ipv6-prefix-length { - type uint8 { - range "0..128"; - } - } - } - case source-protocol { - when "./condition = 'source-protocol'"; - leaf source-protocol { - type frr-route-types:frr-route-types; - } - } - case source-instance { - when "./condition = 'source-instance'"; - leaf source-instance { - type uint8 { - range "0..255"; - } - } - } - } - - augment "/frr-route-map:lib" - + "/frr-route-map:route-map" - + "/frr-route-map:entry" - + "/frr-route-map:set-action" - + "/frr-route-map:action-value" { - case source-v4 { - when "./action = 'source'"; - leaf source-v4 { - description "IPv4 address"; - type inet:ipv4-address; - } - } - case source-v6 { - when "./action = 'source'"; - leaf source-v6 { - description "IPv6 address"; - type inet:ipv6-address; - } - } - } } |