Added xpath support for predicate: current(); added by-reference return for schema_nodeid functions; prototype enum2int function
This commit is contained in:
parent
89cfe2a9b3
commit
d0660bf611
9 changed files with 368 additions and 208 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue