summaryrefslogtreecommitdiffstats
path: root/yang/frr-bgp-common-structure.yang
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2020-09-08 21:01:40 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2020-09-17 17:00:06 +0200
commit45c70d4aa359e940f41bfc7aba6f7e5baeb0a1a9 (patch)
tree1489a56ca5564d01f1c817bb8a159f28e9730ec5 /yang/frr-bgp-common-structure.yang
parentyang: use leafref instead of string (diff)
downloadfrr-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-structure.yang')
-rw-r--r--yang/frr-bgp-common-structure.yang6
1 files changed, 5 insertions, 1 deletions
diff --git a/yang/frr-bgp-common-structure.yang b/yang/frr-bgp-common-structure.yang
index 8162527e9..6543b1d1c 100644
--- a/yang/frr-bgp-common-structure.yang
+++ b/yang/frr-bgp-common-structure.yang
@@ -9,6 +9,10 @@ submodule frr-bgp-common-structure {
prefix inet;
}
+ import frr-route-map {
+ prefix frr-route-map;
+ }
+
import frr-interface {
prefix frr-interface;
}
@@ -371,7 +375,7 @@ submodule frr-bgp-common-structure {
}
leaf rmap-policy-export {
- type frr-bt:rmap-ref;
+ type frr-route-map:route-map-ref;
description
"Route-map to specify criteria to originate default.";
}