Added completion for generated cli leafrefs for both absolute and relatve paths.
This commit is contained in:
parent
1b6c9aacbe
commit
f995f1e268
4 changed files with 52 additions and 23 deletions
|
|
@ -37,14 +37,14 @@ module ietf-ip{
|
|||
}
|
||||
leaf address {
|
||||
type leafref {
|
||||
path "../../interface[name = current()/../ifname]"
|
||||
path "../../interface[name=eth0]"
|
||||
+ "/address/ip";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
# path "../../interface[name = current()/../ifname]"
|
||||
|
||||
# kill old backend (if any)
|
||||
new "kill old backend"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue