Differences between revisions 3 and 4
Revision 3 as of 2016-12-08 14:32:50
Size: 1231
Editor: mnovakovic
Comment:
Revision 4 as of 2016-12-08 14:34:49
Size: 1534
Editor: mnovakovic
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
Tu run them you can build them locally on OpenWrt with their make files which can be found at [[https://github.com/sysrepo/openwrt-sysrepo| here]], or you cane use the docker image with the prebuild sysrepo/Netopeer2 packages and the four plugins. To run them you can build them locally on OpenWrt with their make files which can be found at [[https://github.com/sysrepo/openwrt-sysrepo| here]], or you cane use the docker image with the prebuild sysrepo/Netopeer2 packages and the four plugins.

Before you start using sysrepo you need to add a root password to openwrt, by default it is blank.

An example on how to run the sysrepo plugins you watch on the asciinema video.


[[https://asciinema.org/a/95441|{{https://asciinema.org/a/95441.png|https://asciinema.org/a/95441|width="800"}}]]

OpenWrt sysrepo plugins

There are some use-cases for YANG-based configuration of services, that do not run as userspace daemons and therefore cannot use sysrepo as the primary configuration store. There are also some daemons that simply cannot be natively integrated with sysrepo for whatever reason. For cases like these, we allow developers to write a plugin that would act as an interface between sysrepo and the legacy configuration store of the application/service (e.g. a flat configuration file, or the /proc filesystem). To find out more about sysrepo plugins please visit the wiki at here.

We made examples for sysrepo plugins network, firmware upgrade, sip and network status.

To run them you can build them locally on OpenWrt with their make files which can be found at here, or you cane use the docker image with the prebuild sysrepo/Netopeer2 packages and the four plugins.

Before you start using sysrepo you need to add a root password to openwrt, by default it is blank.

An example on how to run the sysrepo plugins you watch on the asciinema video.

https://asciinema.org/a/95441

openwrt-plugins (last edited 2016-12-08 14:34:49 by mnovakovic)