How to get the specific child element from the the parent in restconf, but at the same time to get all the parent's child in restconf? for example: my module
module system{
leaf name{
type string;
}
leaf version{
type string;
}
container processors{
list processor{
key "id";
leaf id{
type string;
}
leaf name{
type string;
}
}
}
}
I want all the children of system(name, version, processors) but only the ids of processors :
<system>
<name>system_1</name>
<version>1</version>
<processors>
<processor>
<id>1</id>
</processor>
<processor>
<id>2</id>
</processor>
</processors>
</system>
what is the query that will invoke that answer in restconf?