Hi Stefano,
well, the ietf-ip data model only augments ietf-interfaces data model that you did not load. The install process of the Netopeer modules (netopeer/transAPI/) covers also installation into the netopeer-server (it runs netopeer-manager), so the best way how to install them is just run make install in the module's directory. Anyway, according to the log, libnetconf loads this data model.
But I don't see any try to load your data module. Regarding the fact that you are specifying /etc/netopeer/modules.conf.d/ietf-ip.xml as a datastore and the file exists and it does not have the datastore format, I guess that you tried to install the netopeer-server more than once and you changed sysconfdir parameter. So, currently you have two installations (or at least builds) with different sysconfdir - one is /etc/ and the second one (default) is /usr/local/etc/. In this case it depends which netopeer-manager are you running. If you run the netopeer-manager compiled with /etc/ as sysconfdir, it stores modules configuration files into /etc/netopeer/modules.conf.d/, but then you are running netopeer-server compiled with /usr/local/etc/ as its sysconfdir so it searches in /usr/local/etc/netopeer/modules.conf.d/ for the modules configuration files. BTW, it is not a good idea to store the datastore file in the modules.conf.d/ directory, but in this case it helped me to
understand what is probably happening :)
So, please make sure, that you are running the netopeer-manager and netopeer-server compiled with the same options. To make you sure, I'm going (today, but not immediately) to make netopeer-manager print where it stores the configuration data.
I hope I'm right and this will help you, let me know if I was right and about your progress.
Radek
Dne 23.3.2015 v 23:01
delucchi...@gmail.com napsal(a):