From 5dd3243f665a2292df381dc4127be0d2b145ff39 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Fri, 14 Feb 2020 15:16:17 +0100 Subject: [PATCH] Known Issues: * If you retrieve state _and_ config data using RESTCONF or NETCONF `get`, a severe performance penalty occurs if you have large lists (eg ACLs). Workaround: disable `VALIDATE_STATE_XML` in `include/clixon_custom.h`. --- CHANGELOG.md | 5 ++++- apps/backend/backend_client.c | 10 +++++++++- include/clixon_custom.h | 5 ++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48d42933..585183ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,11 @@ * C-api: Changed `clicon_session_id_get(clicon_handle h, uint32_t *id)` * From a cli perspective this is a revert to 4.1 behaviour, where the cli does not immediately exit on start if the backend is not running, but with the new session-id function +### Known Issues +* If you retrieve state _and_ config data using RESTCONF or NETCONF `get`, a severe performance penalty occurs if you have large lists (eg ACLs). Workaround: disable `VALIDATE_STATE_XML` in `include/clixon_custom.h`. + ### Corrected Bugs -* Fixed: Enabling modstate (CLICON_XMLDB_MODSTATE), changing a revision on a yang, and restarting made the backend daemon exit at start (thanks Matt). +* Fixed: If you enabled modstate (CLICON_XMLDB_MODSTATE), changed a revision in a yang spec, and restarted the backend daemon, it exit at start (thanks Matt). * Also: ensure to load `ietf-yang-library.yang ` if CLICON_XMLDB_MODSTATE is set * Fixed: Pretty-printed XML using prefixes not parsed correctly. * eg ` ` could lead to errors, wheras (` `) works fine. diff --git a/apps/backend/backend_client.c b/apps/backend/backend_client.c index b2ddf5f3..2973ece8 100644 --- a/apps/backend/backend_client.c +++ b/apps/backend/backend_client.c @@ -979,14 +979,22 @@ from_client_get(clicon_handle h, } /* If not only-state, then read running config * Note xret can be pruned by nacm below and change name and - * metrged with state data, so zero-copy cant be used + * merged with state data, so zero-copy cant be used * Also, must use external namespace context here due to