Multi-db: Moved top-level datastore from (eg) running_db to running.d/0.xml

This commit is contained in:
Olof hagsand 2024-05-08 09:40:27 +02:00
parent af36838b4c
commit b1209aac67
5 changed files with 136 additions and 28 deletions

View file

@ -35,6 +35,12 @@ Expected: June 2024
### API changes on existing protocol/config features
Users may have to change how they access the system
* If `CLICON_XMLDB_MULTI` is set, datastores are stored in a new directory
* Previously: `CLICON_XMLDB_DIR/<db>_db`
* New: `CLICON_XMLDB_DIR/<db>d/`
* In particular, the top-level is moved from `<db>_db` to `<db>.d/0.xml`
* Backward-compatible:
* If backend is started with `-s startup` or `-s running` then `<db>_db` is read if `<db>.d/0.xml` is not found
* Openssl mandatory for all configs, not only restconf
### Corrected Bugs