aboutsummaryrefslogtreecommitdiff
path: root/net/sysrepo/files
diff options
context:
space:
mode:
authorMatija Amidzic <matija.amidzic@sartura.hr>2018-06-26 12:48:02 +0200
committerMatija Amidzic <matija.amidzic@sartura.hr>2018-07-02 13:39:20 +0200
commited44e02f53368f0a1f4444132e8a3307862655dd (patch)
tree8242bbaa8d3872da88fb0dfb940db3b86c310fa9 /net/sysrepo/files
parentba647c04b53f0f7715cb2f8fd79f09a04ab05995 (diff)
sysrepo: update to 0.7.4
Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>
Diffstat (limited to 'net/sysrepo/files')
-rw-r--r--net/sysrepo/files/libsysrepo.default22
1 files changed, 14 insertions, 8 deletions
diff --git a/net/sysrepo/files/libsysrepo.default b/net/sysrepo/files/libsysrepo.default
index 35b56f67d..274a6c066 100644
--- a/net/sysrepo/files/libsysrepo.default
+++ b/net/sysrepo/files/libsysrepo.default
@@ -3,30 +3,36 @@
# Warning, problems can occur if the device restarts in the middle of this uci-default script
if [ -x /bin/sysrepoctl ]; then
- match=$(sysrepoctl -l | grep "ietf-netconf-acm ")
+ match=$(sysrepoctl -l | grep "notifications ")
if [ ! "$match" ]; then
- sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf-acm@2012-02-22.yang -p 644
+ sysrepoctl --install --yang=/etc/sysrepo/yang/notifications@2008-07-14.yang -p 666
fi
- match=$(sysrepoctl -l | grep "ietf-netconf-notifications ")
+ match=$(sysrepoctl -l | grep "nc-notifications ")
if [ ! "$match" ]; then
- sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf-notifications@2012-02-06..yang -p 600
+ sysrepoctl --install --yang=/etc/sysrepo/yang/nc-notifications@2008-07-14.yang -p 666
fi
- match=$(sysrepoctl -l | grep "nc-notifications ")
+ match=$(sysrepoctl -l | grep "ietf-netconf-acm ")
if [ ! "$match" ]; then
- sysrepoctl --install --yang=/etc/sysrepo/yang/nc-notifications@2008-07-14.yang -p 666
+ sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf-acm@2012-02-22.yang -p 644
fi
- match=$(sysrepoctl -l | grep "notifications ")
+ match=$(sysrepoctl -l | grep "ietf-netconf-notifications ")
if [ ! "$match" ]; then
- sysrepoctl --install --yang=/etc/sysrepo/yang/notifications@2008-07-14.yang -p 666
+ sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf-notifications@2012-02-06.yang -p 600
fi
match=$(sysrepoctl -l | grep "ietf-netconf ")
if [ ! "$match" ]; then
sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf@2011-06-01.yang -p 600
fi
+ sysrepoctl -m ietf-netconf -e writable-running
+ sysrepoctl -m ietf-netconf -e candidate
+ sysrepoctl -m ietf-netconf -e rollback-on-error
+ sysrepoctl -m ietf-netconf -e validate
+ sysrepoctl -m ietf-netconf -e startup
+ sysrepoctl -m ietf-netconf -e xpath
fi
exit 0