CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
290 stars 186 forks source link

Migrating from 2.1.16 to 2.2.13 - LN2_MODULE_DIR environment variable #1555

Open SVC-18 opened 3 months ago

SVC-18 commented 3 months ago

Hi,

I am trying to migrate from 2.1.16 to 2.2.13.

1) The location of the scripts have changed (in Yocto build): 2.1.16 ---> /etc/netopeer2/scripts/ 2.2.13 ---> /usr/share/netopeer2/scripts

2) There seems to be another environment variable that needs to be set: LN2_MODULE_DIR

NP2_MODULE_DIR is set to /usr/share/yang/modules/netopeer2/ NP2_MODULE_PERMS is set to 644

What is LN2_MODULE_DIR supposed to be set to?

Thx, SVC

Roytak commented 3 months ago

Hi, it should be exported by libnetconf2 to /usr/share/yang/modules/libnetconf2/.