Added xpath support for predicate: current(); added by-reference return for schema_nodeid functions; prototype enum2int function

This commit is contained in:
Olof hagsand 2017-07-30 11:00:02 +02:00
parent 89cfe2a9b3
commit d0660bf611
9 changed files with 368 additions and 208 deletions

View file

@ -27,14 +27,13 @@ module example{
}
leaf address {
type leafref {
path "../../interfaces/interface[name=eth0]"
+ "/address/ip";
}
path "../../interfaces/interface[name = current()/../relname]"
+ "/ipv4/address/ip";
}
}
}
}
EOF
# XXX not eth0 path "../../interface[name = current()/../ifname]"
# kill old backend (if any)
new "kill old backend"