Olof hagsand
f9a97c57ca
set /www-data access only if sudo
2018-07-29 20:22:20 +02:00
Olof Hagsand
e48f8dd00e
clixon_netconf -S is obsolete. Use clixon_netconf -l s instead.
...
* Unified log handling for all clicon applications using -l e|o|s|f.
* The options stand for e:stderr, o:stdout, s: syslog, f:file
2018-07-29 19:41:10 +02:00
Olof Hagsand
5164db3603
Added clicon_log_init(.., CLICON_LOG_FILE) option and clicon_log_file() for c\
...
ases where neither syslog or stderr is useful.
2018-07-26 20:13:02 +02:00
Olof Hagsand
156660419e
* Set dir /www-data with www-data as owner, see https://github.com/clicon/clixo \
...
n/issues/37
2018-07-26 12:54:14 +02:00
Olof Hagsand
968435ec5e
internal backend socket family
2018-07-25 12:45:00 +02:00
Olof Hagsand
539a60d613
backend socket options -a -u
2018-07-25 11:40:06 +02:00
Olof hagsand
c6a62b96de
sock ipv4
2018-07-24 22:27:52 +02:00
Olof Hagsand
b7eb89962d
clixon-sock not mandatory since family may be inet
2018-07-24 18:57:10 +00:00
Olof Hagsand
666d74bf1b
Added -l option for clixon_backend for directing syslog to stderr or stdout i\
...
f running in foreground
2018-07-24 17:59:17 +02:00
Olof Hagsand
f1f0dafcbc
Merge branch 'develop' of https://github.com/clicon/clixon into develop
2018-07-24 17:44:37 +02:00
Olof Hagsand
4daafd1650
Merge pull request #36 from dcornejo/master
...
Makefile in util directory didn't use LDFLAGS when building binaries
2018-07-23 17:52:55 +02:00
Dave Cornejo
ea4a5ceda1
Makefile in util directory didn't use LDFLAGS when building binaries
...
This affects installations where the libraries are installed outside
the normal library search paths (e.g. FreeBSD puts ports libraries
in /usr/local/lib by default, which is not on the default lib path)
2018-07-22 14:21:46 -10:00
Olof hagsand
56e51f1a8d
3.8.0.PRE preparations and
...
* Obsoleted COMPAT_CLIV and COMPAT_XSL that were optional in 3.7
2018-07-22 21:29:21 +02:00
Olof hagsand
728671944f
Merge branch 'develop' for 3.7.0
2018-07-22 20:52:02 +02:00
Olof hagsand
f2d2b0a8c0
readme start nginx
2018-07-22 20:49:16 +02:00
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