Olof hagsand
8cdb0bb062
* Changed so that 400 Bad Request are for invalid api-path or unknown yang elements, 404 Not Found for valid xml when object not found.
2019-10-07 22:20:34 +02:00
Olof hagsand
d9136c8972
* Stricter handling of multi-namespace handling
...
* This occurs in cases where there are more than one XML namespaces in a config tree, such as `augment`:ed trees.
* Affects all parts of the system, including datastore, backend, restconf and cli.
* Invalid api-path syntax (eg non-matching yang) error changed from 412 operation-failed to 400 Bad request invalid-value, or unknown-element.
2019-09-29 14:45:08 +02:00
User Olof
8c18f2a86d
Configure and test modification for better Freebsd port
2019-09-20 06:09:48 -10:00
Olof hagsand
27fd99e7cd
* Implemented backend daemon drop privileges after initialization to
...
run as non-privileged user
2019-09-14 18:34:32 +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
3b93c812d4
identity restconf mapping for augment and identity tests
2019-07-29 11:34:14 +02:00
Olof hagsand
a2340c265c
test scripts: replaced sleeps with wait functions
2019-07-01 10:32:48 +02:00
Olof hagsand
dc45600074
Yang 'refine' feature supported, According to RFC 7950 7.13.2
2019-06-05 10:23:49 +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
5602d3e987
forgot exit in testcase
2019-03-06 10:37:01 +01:00
Olof hagsand
8cfd72c2c5
Merge branch 'develop'
2019-03-06 09:44:43 +01:00
Olof hagsand
98fb6eceef
* Clixon configuration file top-level symbols has changed to clixon-configand namespace check is enforced.
...
* clixon-config YAML file has new revision: 2019-03-05.
* New URN and changed top-level symbol to `clixon-config`
* Removed obsolete `_CLICON_XML_NS_STRICT` variable and `CLICON_XML_NS_STRICT` config option.
2019-03-06 09:42:55 +01:00
Olof hagsand
01c8b0b836
* [Identityref inside augment statement]( https://github.com/clicon/clixon/issues/77 )
...
* Yang-stmt enhanced with "shortcut" to original module
2019-03-05 22:42:13 +01:00