-
Notifications
You must be signed in to change notification settings - Fork 318
Open
Labels
is:enhancementRequest for adding new feature or enahncing functionality.Request for adding new feature or enahncing functionality.status:completedFrom the developer perspective, the issue was solved (bug fixed, question answered,...)From the developer perspective, the issue was solved (bug fixed, question answered,...)
Description
Hi,
The node callback has been removed from plugin_ext in libyang 4.
In my case, it was used to validate data in a container with extensions.
For example, I have this kind of container:
container cont1 {
extension myext ;
list list1 {
key "name";
leaf name {
type string;
}
list list2 {
key "name";
leaf name {
type string;
}
}
The node callback of myext plugin was called and I could check the values of "name" node in both lists.
I could use some must, however if the number of list in cont1 increases, it becomes difficult to maintain.
How should I do that with libyang4?
Thank you.
BR
Metadata
Metadata
Assignees
Labels
is:enhancementRequest for adding new feature or enahncing functionality.Request for adding new feature or enahncing functionality.status:completedFrom the developer perspective, the issue was solved (bug fixed, question answered,...)From the developer perspective, the issue was solved (bug fixed, question answered,...)