Commit graph

48 commits

Author SHA1 Message Date
Olof hagsand
9090fe6484 Merge branch 'master' of https://github.com/clicon/clixon 2019-11-26 21:52:08 +01:00
Olof hagsand
0d22a8b6d0 Yang files reorganized into three classes: clixon, mandatory, optional 2019-11-26 21:51:28 +01:00
Anthony Hinsinger
ba472bf15f
Update xml root element 2019-11-19 14:40:48 +01:00
Olof hagsand
0129fe285e skip privileges in docker test 2019-09-14 18:45:29 +02:00
Olof hagsand
3d5abb77f9 * Backend daemon drops privileges after initialization (to not run as root)
* New config option `CLICON_USER` with default value `clicon`
  * Can also be set with `-U <user>` clixon_backend command-line option
2019-09-11 21:24:14 +02:00
Olof hagsand
6bcaea259c documentation 2019-09-01 19:45:54 +02:00
Olof hagsand
d9cf43bd46 Preparing for 4.1.0 2019-08-17 17:25:20 +02:00
Olof Hagsand
388da01d0b base hello docker example 2019-08-17 14:55:44 +00:00
Olof hagsand
14d319dd9b * A new "hello world" example is added
* The directory `docker/system` has been moved to `docker/main`
2019-04-17 11:26:05 +02:00
Olof hagsand
d46ca41c8b Further optimizions and bugfixing of that 2019-04-16 12:09:21 +02:00
Olof hagsand
e29cd7cfb9 * Optimized validation by making xml_diff work on raw cache tree (not copies)
* xmldb_get() removed unnecessary config option
2019-04-07 15:55:53 +02:00
Olof Hagsand
34196456a2 mv example to example/main 2019-03-31 18:34:30 +02:00
Olof hagsand
b1c74b5f1f * Ensured you can add multiple callbacks for any RPC, including basic ones.
* Extra RPC:s will be called _after_ the basic ones.
  * One specific usecase is hook for `copy-config` (see [doc/ROADMAP.md] that can be implemented thus way.
* `rpc_callback_register` added a namespace parameter. Example:
   ```
     rpc_callback_register(h, empty_rpc, NULL, "urn:example:clixon", "empty");
   ```
2019-03-10 17:27:52 +01:00
Olof Hagsand
ff3ff0daa9 * There was a problem with ordered-by-user for XML children that appeared in so\
me circumstances and difficult to trigger. Entries entered by the user did not \
appear in the order they were entered. This should now be fixed by adding an enumeration to xml children for sorting ordered by user properly
2019-02-27 18:20:23 +01:00
Olof Hagsand
f035c3ca23 * Removed all dependency on strverscmp
* Added libgen.h for baseline()
2019-02-27 10:46:05 +01:00
Olof hagsand
d37aec7651 skip test_upgrade 2019-02-26 17:16:14 +01:00
Olof hagsand
598ab84c15 skip test_startup 2019-02-26 17:09:05 +01:00
Olof hagsand
83edd29678 Revert "Revert "* Added valgrind memory leak tests in testmem.sh for restconf""
This reverts commit a73d2bd242.
2019-02-20 16:25:42 +01:00
Olof hagsand
a73d2bd242 Revert "* Added valgrind memory leak tests in testmem.sh for restconf"
String error
This reverts commit 6e63f0a77b.
2019-02-20 16:19:07 +01:00
Olof Hagsand
6e63f0a77b * Added valgrind memory leak tests in testmem.sh for restconf
* Added clicon_socket_set() and clicon_socket_get() functions for cleaning up backend server and restconf FCGI socket on termination.
* Removed obsolete `-x` command-line option to clixon_cli.
2019-02-20 13:06:18 +01:00
Olof hagsand
7e4cce0000 test docs 2019-02-19 13:32:03 +01:00
Olof Hagsand
d64d433468 * Changed base OS in clixon-system container to Alpine
* Moved datastore/text/ code to datastore/ since there is only one type of datastore.
* Added "magic script line" to test script for sourced and scriped exits
2019-02-16 17:45:39 +01:00
Olof Hagsand
2ca1c1292c docker system push 2019-02-12 13:38:23 +01:00
Olof Hagsand
860c0c042d Added RCLOG for redirecting restconf logs at tests; with-restconf error in example 2019-02-12 13:19:52 +01:00
Olof Hagsand
f02310dcef More on clixon base container on Alpine 2019-02-12 11:11:04 +01:00
Olof Hagsand
f1be029f71 Changed clixon base system container to use Alpine [docker/base](docker/base). 2019-02-11 17:55:47 +01:00
Olof Hagsand
9b73d604f5 travis make test 2019-02-11 16:46:28 +01:00
Olof Hagsand
b023c6cbed Travis container tests 2019-02-11 16:10:43 +01:00
Olof Hagsand
dc173e0b4c docker base and system images, and trigger docker test from travis. 2019-02-11 15:47:12 +01:00
Olof Hagsand
66d8573c00 Added docker/base as minimal clixon container and docker/system as full clixon system. 2019-02-11 14:17:29 +01:00
Olof Hagsand
2b596591f1 Added Clixon example full system docker container, see [docker/system]. 2019-02-07 22:23:58 +01:00
Olof hagsand
0103d58994 2019 2019-01-02 15:48:30 +01:00
Olof hagsand
9bd0dc42c6 3.9 develop branch 2018-11-11 12:20:51 +01:00
Olof Hagsand
d5390fc808 docker master 2018-11-05 21:16:12 +00:00
Olof Hagsand
02ce0f204b @ problem 2018-11-04 21:19:39 +00:00
Olof Hagsand
3038efdab0 readme 2018-11-04 19:44:03 +01:00
Olof Hagsand
bb6d043d6c deprecated readdir_r with readdir 2018-08-05 16:34:45 +02:00
Olof Hagsand
7564bcd9b2 docker improvement 2018-08-05 12:20:37 +02:00
Olof Hagsand
3a39b0361a docker update 2018-07-21 17:01:56 +00:00
Olof Hagsand
c7aed5e7a7 er image build and changed it to build a single clixon docker\
image which can be found at olofhagsand/clixon
2018-07-21 13:55:21 +00:00
Olof hagsand
38f0b446fa 2017->2018 2018-01-01 12:25:33 +01:00
Olof hagsand
bc2b606167 dual license 2016-12-30 16:14:48 +01:00
Olof Hagsand
798f551b17 group 2016-02-28 21:46:53 +01:00
Olof Hagsand
79b77943f9 renamed .h and libs clicon->clixon 2016-02-28 15:27:36 +01:00
Olof Hagsand
baa5611616 docker netconf 2016-02-28 11:06:24 +01:00
Olof Hagsand
ca26f9fa09 docker latest 2016-02-26 22:49:29 +01:00
Olof Hagsand
eb93d82caa docker support 2016-02-26 19:47:30 +01:00
Olof hagsand
6366fc631e docker build 2016-02-26 16:47:31 +01:00