diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2020-09-08 21:01:40 +0200 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2020-09-17 17:00:06 +0200 |
commit | 45c70d4aa359e940f41bfc7aba6f7e5baeb0a1a9 (patch) | |
tree | 1489a56ca5564d01f1c817bb8a159f28e9730ec5 /yang/frr-bgp-common.yang | |
parent | yang: use leafref instead of string (diff) | |
download | frr-45c70d4aa359e940f41bfc7aba6f7e5baeb0a1a9.tar.xz frr-45c70d4aa359e940f41bfc7aba6f7e5baeb0a1a9.zip |
yang: replace dummy rmap-ref with actual route-map leafref
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'yang/frr-bgp-common.yang')
-rw-r--r-- | yang/frr-bgp-common.yang | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/yang/frr-bgp-common.yang b/yang/frr-bgp-common.yang index 188cf856d..96ec9dc96 100644 --- a/yang/frr-bgp-common.yang +++ b/yang/frr-bgp-common.yang @@ -17,6 +17,10 @@ submodule frr-bgp-common { prefix frr-bt; } + import frr-route-map { + prefix frr-route-map; + } + import frr-route-types { prefix frr-rt-type; } @@ -73,25 +77,25 @@ submodule frr-bgp-common { grouping rmap-policy-import { leaf rmap-import { - type frr-bt:rmap-ref; + type frr-route-map:route-map-ref; } } grouping rmap-policy-export { leaf rmap-export { - type frr-bt:rmap-ref; + type frr-route-map:route-map-ref; } } grouping unsupress-map-policy-import { leaf unsupress-map-import { - type frr-bt:rmap-ref; + type frr-route-map:route-map-ref; } } grouping unsupress-map-policy-export { leaf unsupress-map-export { - type frr-bt:rmap-ref; + type frr-route-map:route-map-ref; } } @@ -728,7 +732,7 @@ submodule frr-bgp-common { } leaf rmap-policy-import { - type frr-bt:rmap-ref; + type frr-route-map:route-map-ref; description "Route-map to be applied for redistributed routes into the bgp."; } @@ -743,7 +747,7 @@ submodule frr-bgp-common { } leaf rmap-policy-export { - type frr-bt:rmap-ref; + type frr-route-map:route-map-ref; description "Route-map to modify the attributes for Routes going out via BGP updates."; @@ -771,7 +775,7 @@ submodule frr-bgp-common { } leaf rmap-policy-export { - type frr-bt:rmap-ref; + type frr-route-map:route-map-ref; description "Apply route map to aggregate network."; } @@ -1097,7 +1101,7 @@ submodule frr-bgp-common { } leaf rmap-policy-export { - type frr-bt:rmap-ref; + type frr-route-map:route-map-ref; description "Route-map to modify the attributes for Routes going out via BGP updates."; |