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
7e38dc57e3
Merge branch 'master' of https://github.com/clicon/clixon
2019-02-08 16:19:22 +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
5b1c3d9a86
* clixon-config YAML file has new revision: 2019-02-06.
...
* Replaced all calls to (obsolete) `cli_output` with `fprintf`
* Added _experimental_ config option `CLICON_CLI_UTF8` default set to 0.
* CLIgen UTF8 does not work with scrolling and control editing
2019-02-06 14:33:04 +01:00
Olof hagsand
ae8d28fae8
Merge branch 'develop'
2019-02-05 14:40:59 +01:00
Olof hagsand
3a5a4fde36
Cleaned up changelog and roadmap
2019-02-05 14:39:03 +01:00
Olof hagsand
19343c2b21
* Partially corrected: [yang type range statement does not support multiple values]( https://github.com/clicon/clixon/issues/59 ).
...
* Should work for netconf and restconf, but not for CLI.
* Fixed again: [Range parsing is not RFC 7950 compliant](https://github.com/clicon/clixon/issues/71 )
2019-02-05 14:03:58 +01:00
Olof hagsand
f718c716b6
revert tests
2019-02-04 17:40:50 +01:00
Olof hagsand
ba70aee2d9
groupadd socket
2019-02-04 17:35:18 +01:00
Olof hagsand
1a2041d451
clicon group
2019-02-04 17:26:09 +01:00
Olof hagsand
b01f2011a3
travis whoami
2019-02-04 17:15:59 +01:00
Olof hagsand
9eeafbc2ac
groupadd
2019-02-04 16:49:28 +01:00
Olof hagsand
d0182e98ca
Travis test scripts
2019-02-04 16:44:15 +01:00
Olof hagsand
6ff422064b
install-include#2
2019-02-04 16:00:06 +01:00
Olof hagsand
ec39b43748
ldconfig
2019-02-04 15:44:54 +01:00
Olof hagsand
2e46062c29
travis experiments
2019-02-04 15:35:29 +01:00
Olof hagsand
89059b0000
travis no example
2019-02-04 15:09:37 +01:00
Olof hagsand
27e6511f35
travis build example
2019-02-04 14:59:07 +01:00
Olof hagsand
30f322648d
added test/Makefile.in
2019-02-04 14:42:18 +01:00
Olof hagsand
c81419e5e9
travis apt-get install
2019-02-04 14:38:41 +01:00
Olof hagsand
2a2785090b
travis libfcgi-dev
2019-02-04 14:31:46 +01:00
Olof hagsand
a13c8abd5f
travis x mode
2019-02-04 14:27:34 +01:00
Olof hagsand
10d841f4be
Added make test and travis experiment
2019-02-04 14:13:20 +01:00
Olof hagsand
14343810ca
xml_cmp() compares numeric nodes based on string value [ https://github.com/clicon/clixon/issues/64 ]
2019-02-04 11:49:53 +01:00
Olof hagsand
4f0e8dc916
Travis yanl file
2019-02-03 19:26:21 +01:00
Olof hagsand
02d725b2c0
* xml_cmp() respects 'ordered-by user' for state nodes, which violates RFC 7950 [ https://github.com/clicon/clixon/issues/63 . (Thanks JDL)
2019-02-03 16:19:33 +01:00
Olof hagsand
376b75328c
test scripts: added sum.sh
2019-02-02 13:19:49 +01:00
Olof hagsand
936ae389e8
Test script change: merged new2+new functions
2019-02-02 12:20:47 +01:00
Olof hagsand
cf4f626719
Merge branch 'nacm' into develop
2019-02-02 11:38:02 +01:00
Olof hagsand
1e4022e73c
NACM cleanup, uniform rule function, change of function names, etc.
2019-02-02 11:35:50 +01:00
Olof hagsand
8bf5cb0de5
NACM module access control point for edit-config
2019-02-01 14:56:45 +01:00
Olof hagsand
ef86cda2fe
NACM Data node WRITE access module support (RFC8341 3.4.5)
2019-01-30 10:02:17 +01:00
Olof hagsand
342b94fb76
nacm refactoring
2019-01-27 14:45:39 +01:00
Olof hagsand
ffecebf32a
* NACM Data node READ access module support (RFC8341 3.4.5)
...
* Access control points added for `get` and `get-config` in addition to incoming rpc.
* RFC 8341 Example A.2 implemented, see: [test/test_nacm_module.sh]
* Added `username` argument on `xmldb_put()` datastore function for NACM data-node write checks
* Added `xml_rootchild_node()` lib function as variant of `xml_rootchild()`
2019-01-27 13:26:15 +01:00
Olof hagsand
c156832234
fixed segv with unmatched restconf keys in uri
2019-01-26 18:48:56 +01:00
Olof hagsand
7113026e17
example client-rpc similar to other example rpc:s
2019-01-22 18:37:21 +01:00
Olof hagsand
04bb05c83f
Upgrade testcases for nacm
2019-01-22 13:41:03 +01:00
Olof hagsand
d55787d8ec
Merge branch 'develop' into nacm
2019-01-21 16:45:24 +01:00
Olof hagsand
0e09996073
verify empty body and/or empty yang input/output
2019-01-21 14:28:44 +01:00
Olof hagsand
34d7f60ca4
JSON updates
2019-01-20 19:13:40 +01:00
Olof hagsand
19f26e6838
* XML<>JSON conversion problems [ https://github.com/clicon/clixon/issues/66 ]
...
* CDATA sections stripped from XML when converted to JSON
2019-01-19 21:39:19 +01:00
Olof hagsand
906b93cae0
Restconf returns error when RPC generates "ok" reply [ https://github.com/clicon/clixon/issues/69 ]
2019-01-18 20:55:30 +01:00
Olof hagsand
66f80e9304
* xsd regular expression support for character classes [ https://github.com/clicon/clixon/issues/68 ]
...
* added support for \c, \d, \w, \W, \s, \S
2019-01-17 16:13:34 +01:00
Olof hagsand
03ac48ab2b
Removing newlines from XML data [ https://github.com/clicon/clixon/issues/65 ]
2019-01-16 23:17:07 +01:00
Olof hagsand
26a75a4c50
Merge branch 'loeliger-develop' into develop
2019-01-14 21:24:18 +01:00
Olof hagsand
43b89af7f4
formatting
2019-01-14 21:24:03 +01:00
Jon Loeliger
15cb2385d4
JSON: Fix JSON formatting in the presence of namespaces.
...
- Fix array_eval() to allow sequential nodes that do not have
namepace nodes set as well as those that do.
- Fix comma placement in an array list where it was being dropped
between penultimate and last array elements.
Signed-off-by: Jon Loeliger <jdl@netgate.com>
2019-01-14 13:34:41 -06:00
Olof hagsand
795240368e
improved previous Changelog
2019-01-13 23:22:25 +01:00
Olof hagsand
0267afcb21
* Added -o "<option>=<value>" command-line option to all programs: backend, cli, netconf, restconf.
...
* Added -p <dir> command-line option to all programs: backend, cli, netconf, restconf.
* Moved and updated all standard ietf and iana yang files from example and yang/ to `yang/standard`.
* Renamed example yang from example.yang -> clixon-example.yang
2019-01-13 17:34:15 +01:00
Olof hagsand
90545b05cd
nacm testcases for modules and datastore
2019-01-12 13:52:35 +01:00