summaryrefslogtreecommitdiffstats
path: root/yang/frr-nexthop.yang
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2020-09-08 20:06:46 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2020-09-17 17:00:06 +0200
commit806defc8fe4fc35fa2b53a4ffd2c719f29e8ddbc (patch)
tree25e9deba89bc7389da6a599593a2d467f2b1da1d /yang/frr-nexthop.yang
parentMerge pull request #7114 from donaldsharp/tip_count (diff)
downloadfrr-806defc8fe4fc35fa2b53a4ffd2c719f29e8ddbc.tar.xz
frr-806defc8fe4fc35fa2b53a4ffd2c719f29e8ddbc.zip
yang: use leafref instead of string
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'yang/frr-nexthop.yang')
-rw-r--r--yang/frr-nexthop.yang6
1 files changed, 3 insertions, 3 deletions
diff --git a/yang/frr-nexthop.yang b/yang/frr-nexthop.yang
index 0cb0f93ee..52155dcd1 100644
--- a/yang/frr-nexthop.yang
+++ b/yang/frr-nexthop.yang
@@ -156,7 +156,7 @@ module frr-nexthop {
}
leaf vrf {
- type string;
+ type frr-vrf:vrf-ref;
description
"The nexthop vrf name, if different from the route.";
}
@@ -167,7 +167,7 @@ module frr-nexthop {
}
leaf interface {
- type string;
+ type frr-interface:interface-ref;
description
"The nexthop egress interface.";
}
@@ -275,7 +275,7 @@ module frr-nexthop {
description
"List of nexthop groups, each contains group of nexthops";
leaf name {
- type string;
+ type nexthop-group-ref;
description
"The nexthop-group name.";
}