- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2021 04:25 AM
Could you pls take a look at this and suggest what im doing wrong.
leaf out_policy {
type leafref {
path "/qos_interface_manager[name=current()/../name]/policies/name";
}
}
list policies {
description "List of policies on target device";
key name;
leaf name {
tailf:info "Policy Name";
type string;
}
Theses are the only policies that exits in this services instance
How ever the leafref shows policies from all the service instances
Trying to make it so that the leafref only shows policies that exist in the current service instance.
I suspect that this bit is wrong “name=current()/../name”
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Developer
-
DevOps
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2021 05:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2021 05:22 AM
path "../../policies/name";
