clixon/apps/backend
Olof hagsand 9fa5e216c4 * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo
w-level general upgrades and as a complement to module-specific upgrade.
  * Called on startup after initial XML parsing, but before module-specific upgrades
  * Enabled by definign the `.ca_datastore_upgrade`
  * [General-purpose upgrade documentation](https://clixon-docs.readthedocs.io/en/latest/backend.html#ge
neral-purpose)
* JSON parse error messages change from ` on line x: syntax error,..` to `json_parse: line x: syntax err
or`
* Unknown-element error message is more descriptive, eg from `namespace is: urn:example:clixon` to: `Fai
led to find YANG spec of XML node: x with parent: xp in namespace urn:example:clixon`.
* C-API parse and validation API more capable
  * `xml_spec_populate` family of functions extended with three-value return values
    * -1: error, 0: parse OK, 1: parse and YANG binding OK.
  * `xml_parse` and `json_parse` API changes
    * Three value returns: -1: error, 0: parse OK, 1: parse and YANG binding OK.
    * Extended `xml_parse_file2` and `xml_parse_string2` extended API functions with all options available.
      * New concept called `yang_bind` that defines how XML symbols are bound to YANG after parsing
    * Existing API same except `xml_parse_file` `endtag` argument moved to `xml_parse_file2`
* C-API: Added instrumentation: `xml_size` and `xml_stats_get`.
* Fixed: Enabling modstate (CLICON_XMLDB_MODSTATE), changing a revision on a yang, and restarting made the backend daemon exit at start (thanks Matt)
  * Also: ensure to load `ietf-yang-library.yang ` if CLICON_XMLDB_MODSTATE is set
2020-02-20 14:00:01 +01:00
..
backend_client.c * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
backend_client.h * Internal backend socket protocol changed: uint32_t session-id added, see clixon_proto.h 2019-10-19 19:52:09 +02:00
backend_commit.c * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
backend_commit.h XML chanelog revision 2019-03-25 10:42:27 +01:00
backend_handle.h 2019 2019-01-02 15:48:30 +01:00
backend_main.c * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
backend_plugin.c * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
backend_plugin.h * Pushed tag to 4.0.1.PRE 2019-07-23 22:11:14 +02:00
backend_socket.c memerror in uid-get. reinsert save config yang spec (removed for wrong reasons previously causing memleaks) 2019-12-01 16:48:45 +01:00
backend_socket.h 2019 2019-01-02 15:48:30 +01:00
backend_startup.c * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
backend_startup.h * startup_extraxml triggers unnecessary validation 2019-06-14 22:01:30 +02:00
clixon_backend.h 2019 2019-01-02 15:48:30 +01:00
clixon_backend_handle.c * Bumped version to 4.3.0.PRE 2019-11-03 13:05:50 +01:00
clixon_backend_handle.h 2019 2019-01-02 15:48:30 +01:00
clixon_backend_transaction.c * RESTCONF "depth" query parameter supported 2019-08-17 10:54:13 +02:00
clixon_backend_transaction.h Non-key list now not accepted in edit-config (before only on validation) 2019-05-08 12:51:10 +02:00
Makefile.in * Pushed tag to 4.0.1.PRE 2019-07-23 22:11:14 +02:00