You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want my hardware to support netconf.
Need I to add transapi module, and define some user-rpc?
Should I use the edit-config or user-rpc when I want to change the configuration of hardware and netopeer-cli got the change?
The text was updated successfully, but these errors were encountered:
Hi,
there is no need to define your own RPC if you do not have any custom operations to be performed on your device. If you want to just support configuration using NETCONF, edit-config is the standard operation that will do that. Also, note that this project (netopeer) is a really old one and obsolete, you should use netopeer2.
Hi,
Thanks for your advice.
If I write a example.yang with a leaf. Then I add it to netopeer-server,when I use get-config in netopeer-cli, how to get the leaf state that I add?
I see the netopeer1 has a lnctool. In netopeer2, if I write a example.yang, how to get the example.c?
Hi,
obviously, you will not get the state leaf if you are executing get-config, try running get instead. As for how to write a plugin, look into the docs. Nothing is generated in netopeer2 because there is nothing to generate really, no specific callback names or anything similar is required.
I want my hardware to support netconf.
Need I to add transapi module, and define some user-rpc?
Should I use the edit-config or user-rpc when I want to change the configuration of hardware and netopeer-cli got the change?
The text was updated successfully, but these errors were encountered: