Skip to content

Multiple fixes

Vivek Kumar Dutta requested to merge cwmp_new into devel
  • Added instance_mode in existing usp ubus object methods, so that it can be used defined at run time by the caller, if instance number or instance mode required for the operation -- default is instance number
  • Added transaction related ubus objects in 'usp.raw' object -- txn_start (To start a transaction) -- txn_commit (To commit on-going transaction, cause uci reload config) -- txn_abort (To cancel on-going transaction)
  • Segregate usp and usp.raw object methods -- usp object is meant for user interaction and hence display output in pretty format -- usp.raw object is specifically designed to expose API for other application which needs to interact with datamodel -- CUD(Create, Update, Del) operation on usp object is guarded by txn_* apis -- For CUD operation on usp.raw, txn_* apis needs to be called explicitly

Merge request reports