Olof hagsand
9776ee864f
* Makefile change: Removed the make include file: clixon.mk and clixon.mk.in
...
* These generated the Makefile variables: clixon_DBSPECDIR, clixon_SYSCONFDIR, clixon_LOCALSTATEDIR, clixon_LIBDIR, clixon_DATADIR which have been replaced by generic autoconf variables instead.
2018-07-22 18:33:13 +02:00
Olof hagsand
faea537d25
3.7.0
2018-07-22 16:44:58 +02:00
Olof Hagsand
524e7e38f0
docker_example
2018-07-21 17:08:50 +00: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
deb89600ed
memleaks
2018-07-20 23:16:26 +02:00
Olof Hagsand
b894c30bfb
obsoleted xpath_each
2018-07-20 15:52:32 +00:00
Olof Hagsand
e79e48b46f
xpath unitialized vecs
2018-07-20 10:02:35 +00:00
Olof hagsand
912d1df853
Merge branch 'develop' of https://github.com/clicon/clixon into develop
2018-07-20 10:54:07 +02:00
Olof hagsand
226c59f25a
Backward compatible XPATH via symbols, not macros
2018-07-20 10:51:12 +02:00
Olof Hagsand
9245ef222a
util warnings
2018-07-19 08:03:07 +00:00
Olof hagsand
c71791f168
Added util directory containing test applications
2018-07-19 09:57:38 +02:00
Olof hagsand
cc6c7ae7a4
started min/max-element
2018-07-18 21:45:13 +02:00
Olof hagsand
0eb9e6c8b2
* Support for YANG conditionals "must" and "when" according to RFC 7950 Sec 7.5.3 and 7.21.5
...
* XPATH checked at validation time
2018-07-18 09:51:33 +02:00
Olof hagsand
ba7f84afee
* Much better support for XPATH 1.0 according to https://www.w3.org/TR/xpath-10 using yacc/lex
...
* NOTE: Due to an error in the previous implementation, all XPATH calls on the form `x[a=str]` where `str` is a string (not a number or XML symbol), must be changed to: `x[a='str'] or x[a="str"]`
* This includes all calls to `xpath_vec, xpath_first`, etc.
* All calls to cli_copy_config in CLI spec files must replace 2nd argument from `x[%s=%s]` to `x[%s='%s']`
* The old API is stillenabled. To define the new, define XPATH_USE_NEW in include/clixon_custom.h and recompile
2018-07-17 16:59:32 +02:00
Olof hagsand
5d7c4a8d18
Merge branch 'develop' of https://github.com/clicon/clixon into develop
2018-07-16 16:18:36 +02:00
Olof hagsand
bf728b37b8
* Full support of XPATH 1.0 according to https://www.w3.org/TR/xpath-10 using yacc/lex
...
* The previous XPATH imlementation was very restricted.
* The only function implemented is the Yang extension "current()". No other functions are implemented (eg last(), count()).
2018-07-16 16:13:31 +02:00
Olof hagsand
0c5ef826d2
clicon group in example clarification
2018-07-13 16:58:19 +02:00
Olof hagsand
d61f86c1e0
restconf www-data group membership clarification
2018-07-13 16:51:51 +02:00
Olof hagsand
719ea93398
Conformance to RFC-8040 operations where prefix was used instead of module name.
...
* Proper specification for an operation is POST /restconf/operations/<module_name>:<rpc_procedure> HTTP/1.1
* See https://github.com/clicon/clixon/issues/31 , https://github.com/clicon/clixon/pull/32 and https://github.com/clicon/clixon/issues/30
* Thanks David Cornejo and Dmitry Vakhrushev of Netgate for pointing this out
2018-07-13 16:31:39 +02:00
Olof hagsand
fd19640579
Added systemd example files under example/systemd
2018-07-13 13:13:11 +02:00
Olof hagsand
ee946a00f5
Changed plugin_init() backend return semantics: If returns NULL, _without_ calling clicon_err(), the module is disabled.
...
Also, example documentation corrected according to:
https://github.com/clicon/clixon/issues/33
2018-07-13 12:44:59 +02:00
Olof hagsand
60ce7b12bd
* Prefix of rpc was ignored
...
* https://github.com/clicon/clixon/issues/30
2018-06-20 20:53:34 +02:00
Olof hagsand
578a96eff7
Jenkinsfile sudo
2018-06-17 23:12:39 +02:00
Olof hagsand
5304acb086
remove xml x_cv; added makes to jenkinsfile
2018-06-17 23:09:36 +02:00
Olof Hagsand
5a8660afb6
removed void ptr debug print
2018-06-17 18:02:54 +00:00
Olof Hagsand
a0d4569488
64-bit vars
2018-06-17 17:58:59 +00:00
Olof hagsand
85c4782e36
Dedicated xml,json,yang and xsl parser utility programs added
...
Sanity check of stdarg (...) added
Cleanup of error messages.
2018-06-17 19:40:06 +02:00
Olof hagsand
1306174071
Jenkins pipeline file
2018-06-14 20:20:21 +02:00
Olof hagsand
9eff879458
CDATA Encode and decode (parsing) support
2018-06-13 22:55:46 +02:00
Olof hagsand
8b31d83806
CDATA xml support (patch by David Cornejo, Netgate)
2018-06-13 21:46:32 +02:00
Olof hagsand
5e587b3a01
Validation of yang bits type space-separated list value
2018-06-10 10:41:06 +02:00
Olof hagsand
a576951e57
Add validation of yang bits value
2018-06-10 10:32:20 +02:00
Olof hagsand
dacd2fe3a0
replace obsolete cvec_find_var with cvec_find
2018-06-08 15:54:43 +02:00
Olof hagsand
ff5f93ac1e
tag all netconf msg with username
2018-06-08 13:23:43 +02:00
Dave Cornejo
e2ee6e6757
handle newlines in CDATA properly
2018-06-07 17:56:07 -10:00
Dave Cornejo
8f9a38d2aa
add handling of CDATA to XML parser
2018-06-07 13:26:18 -10:00
Olof hagsand
5cabc11bfb
* Added -U <user> command line to clixon_cli and clixon_netconf for NACM pseudo-user tests
2018-06-07 21:34:52 +02:00
Olof Hagsand
de69b253dc
check null ptr
2018-06-07 21:10:01 +02:00
Olof hagsand
c5991c9844
* Added a generated CLI show command that works on the generated parse tree with auto completion.
...
* A typical call is: show @datamodel:example, cli_show_auto("candidate", "json");
* The example contains a more elaborate example.
* Thanks ngashok for request, see https://github.com/clicon/clixon/issues/24
2018-06-05 16:45:43 +02:00
Olof hagsand
0ad6703663
xmlns sanity check
2018-06-05 16:43:43 +02:00
Olof hagsand
849e46191e
* Added xmlns validation
...
* for eg <a xmlns:x="uri"><x:b/></a>
2018-06-05 09:42:11 +02:00
Olof hagsand
39538461c2
dont exit cli when expand gets auth denied from backend
2018-06-03 20:18:43 +02:00
Olof hagsand
7e4e1d6deb
* Support for YANG identity and identityref according to RFC 7950 Sec 7.18 and 9.10
...
* Previous support did no validation of values.
* Validation of types and CLI expansion
* Example extended with inclusion of iana-if-type RFC 7224 interface identities
2018-06-03 15:36:05 +02:00
Olof hagsand
ea13727e97
* Removed cli callback vector functions. Set COMPAT_COMPAT_CLIV if you need to keep these functions in clixon_custom.h.
...
* Added --enable-debug.
2018-05-30 22:38:12 +02:00
Olof hagsand
c8733e5ed8
Merge branch 'develop' of https://github.com/clicon/clixon into develop
2018-05-29 22:44:49 +02:00
Olof hagsand
5bc39a9bc0
from 3.6.1: * https://github.com/clicon/clixon/issues/23 clixon_cli failing with error
...
* The example included a reference to nacm yang file which did not exist and was not used
* Added clixon-config@2018-04-30.yang
2018-05-29 22:27:41 +02:00
Olof hagsand
8b7cabeb36
* https://github.com/clicon/clixon/issues/23 clixon_cli failing with error
...
* The example included a reference to nacm yang file which did not exist and was not used
* Added clixon-config@2018-04-30.yang
2018-05-29 22:17:55 +02:00
Olof hagsand
cfe4702069
* Added cligen variable translation.
...
* See FAQ and example
2018-05-28 22:50:22 +02:00
Olof Hagsand
0622f6aafe
xml/xsl test programs
2018-05-27 18:31:19 +00:00