luci-base: switch to ubus uci operations
authorJo-Philipp Wich <jo@mein.io>
Wed, 14 Mar 2018 00:23:50 +0000 (01:23 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 4 Apr 2018 21:21:53 +0000 (23:21 +0200)
commit4024d4f2242a88a5e9fd18ed437b1c9fd13693f9
tree2960534a0f56543f13ad229ebac2921c367e8f5a
parentf5671b420a0a418a217cf55dd4fbee73f336b4de
luci-base: switch to ubus uci operations

Switch luci.model.uci to use ubus uci calls instead of driving libuci-lua
directly.

This prepares support for more advanced features such as per-session change
isolation and configuration rollback on errors.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/model/uci.lua