Added completion for generated cli leafrefs for both absolute and relatve paths.

This commit is contained in:
Olof hagsand 2017-07-19 09:26:56 +02:00
parent 1b6c9aacbe
commit f995f1e268
4 changed files with 52 additions and 23 deletions

View file

@ -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"