I want to config static route, use openconfig-network-instance.yang and openconfig-local-routing.yang. But when I send netconf xml, it failed with error.
we are using following versions:
netopeer v2.1.71, sysrepo v2.2.105, libyang v2.1.111
It is a grouping so it inherits the namespace of the uses, not from grouping. So just drop the new namespace declaration from static-routes and it should work.
Hi @michalvasko
I want to config static route, use openconfig-network-instance.yang and openconfig-local-routing.yang. But when I send netconf xml, it failed with error.
we are using following versions: netopeer v2.1.71, sysrepo v2.2.105, libyang v2.1.111
netconf xml
The error replay
https://github.com/openconfig/public/blob/master/release/models/network-instance/openconfig-network-instance.yang![1708506027812](https://github.com/CESNET/netopeer2/assets/62629271/cb3d3433-0dfd-40d9-849c-a90691d96b45)
https://github.com/openconfig/public/blob/master/release/models/local-routing/openconfig-local-routing.yang![1708505996348](https://github.com/CESNET/netopeer2/assets/62629271/2c3d16a4-6800-4ae7-a207-1761e1432b5a)