netopeer2
netopeer2 copied to clipboard
Steps to set up NetConf server
Please verify if these are the steps to make my device NetConf server as it will help other newbies like me also
- Build and install Netopeer2 , Sysrepo and other dependencies.
- Define YANG model and load them into sysrepo using sysrepoctl.
- Write a sysrepo plugin that implements the YANG data models and provides necessary callbacks for reading and modifying the configuration and operational data.
- Configure Netopeer2 to use your Sysrepo plugin as the datastore and NETCONF server backend.
- Implement RPC callbacks in your Sysrepo plugin to handle NETCONF RPCs defined in your YANG models. When the NETCONF client sends an RPC request, Netopeer2 will invoke the corresponding RPC callback in your Sysrepo plugin to execute the operation.