dnsmasq configuration via NETCONF using sysrepo & Netopeer 2

As an example of how sysrepo & Netopeer 2 can be used to make an existing Linux application remotely manageable via NECTONF in a few hours, we integrated it into dnsmasq DNS fowarder and DHCP server for Linux.

Wid did just a partial integration that allows remote configuration of following features (see the YANG model):

The integration took us 6-8 hours of coding and the diff consists of about 200 lines of C code. The diff can be reviewed here:

https://github.com/sysrepo/dnsmasq-sysrepo/compare/a92c41eda58624056242f0c3a71c1efb7bba91b5...master

Full code of this integration is avaliable here on the GitHub.

The demo of this integration can be played below:

https://asciinema.org/a/47977

Description of the demo:

dnsmasq-demo (last edited 2016-07-07 07:06:57 by rastislav.szabo)