Commit graph

61 commits

Author SHA1 Message Date
Olof hagsand
39a5086218 * Yang Support of submodule, include and belongs-to.
* Improved unknown handling
* Configure option `CLICON_YANG_DIR` is changed from a single directory to a path of directories
    * Note CLIXON_DATADIR (=/usr/local/share/clixon) need to be in the list
2018-12-01 18:17:42 +01:00
Olof hagsand
9bd0dc42c6 3.9 develop branch 2018-11-11 12:20:51 +01:00
Olof hagsand
9bd67b21e6 3.8.0 version number 2018-11-11 11:52:52 +01:00
Olof Hagsand
d5f4969780 * Set access/subscribe base URL with: CLICON_STREAM_URL_PREFIX (default https\
://localhost/streams).
    * Example: new stream "foo" will get access URL: https://localhost/streams/\
foo
  * Optional pub/sub support enabled by ./configure --enable-publish
    * Set publish URL base with: CLICON_STREAM_PUB_PREFIX (default http://local\
host/pub)
    * Example: new stream "foo" will get pub URL: https://localhost/pub/foo
2018-10-15 22:08:38 +02:00
Olof Hagsand
a23c1ec68d Added CLIXON_DEFAULT_CONFIG=/usr/local/etc/clixon.xml as option and in exampl\
e (so you dont need to provide -f command-line option).
2018-10-11 19:03:35 +00: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
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
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
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
c71791f168 Added util directory containing test applications 2018-07-19 09:57:38 +02:00
Olof hagsand
8b31d83806 CDATA xml support (patch by David Cornejo, Netgate) 2018-06-13 21:46:32 +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
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
697c021d49 Starting 3.7.0 branch 2018-05-06 20:55:38 +02:00
Olof hagsand
15ec033f6c 3.6.0 2018-04-30 19:06:37 +02:00
Olof hagsand
7532fdde77 * INSTALLFLAGS added with default value -s(strip).
* For debug do: CFLAGS=-g INSTALLFLAGS= ./configure
2018-04-30 12:06:19 +02:00
Olof hagsand
52e510cfdf The key-value datastore is no longer supported. Use the default text datastore. 2018-03-18 16:57:18 +00:00
Olof hagsand
36d310de88 developbranch 3.6.0.PRE 2018-02-12 09:18:52 +07:00
Olof hagsand
54826065a9 3.5.0 2018-02-12 09:14:01 +07:00
Renato Botelho do Couto
d670b6af8a Make default config to respect sysconfdir
Instead of hardcode default config to /etc/clixon.xml, make it to
respect sysconfdir variable. Since autoconf doesn't expand variables on
header substitution it would end up being defined on clixon_config.h as
"${prefix}/etc/clixon.xml" what makes no sense for the header file.

Use eval to expand ${sysconfdir} and make .h file to be defined with
final directory name.
2018-02-07 02:50:02 -06:00
Matthew Smith
d010937ba6 Augment help text for --with-configfile
Include '=FILE' at the end to make correct usage clearer
2018-01-16 15:42:11 -06:00
Matthew Smith
6a9697c2ff Use default config file when none is provided
Add config option to set a default config file path. If
none given, the default config file path is /etc/clixon.xml.
2018-01-15 08:58:11 -06:00
Olof hagsand
3758c8dab4 * The following backward compatible options to configure have been obsoleted. If you havent already migrated this code you must do this now.
* Backend startup modes prior to 3.3.3. As enabled with `configure --with-startup-compat`. Configure option CLICON_USE_STARTUP_CONFIG is also obsoleted.
  * Configuration files (non-XML) prior to 3.3.3. As enabled with `configure --with-config-compat`. The template clicon.conf.cpp files are also removed.
  * Clixon XML C-lib prior to 3.4.0. As enabled with `configure --with-xml-compat`
2018-01-01 14:48:57 +01:00
Olof hagsand
75848a8e30 3.5.0.PRE 2018-01-01 12:34:45 +01:00
Olof hagsand
b71e10e701 3.4.0 2018-01-01 12:28:58 +01:00
Olof hagsand
38f0b446fa 2017->2018 2018-01-01 12:25:33 +01:00
Olof hagsand
662495fff0 Merge branch 'develop' of https://github.com/clicon/clixon into develop 2017-12-09 22:19:17 +01:00
Olof Hagsand
0076a8b838 leafref bug 2017-12-09 20:48:29 +01:00
Renato Botelho do Couto
1c187c5729 Prepare build system to produce RPMs
Add .spec file under extras/rpms and create targets to produce
source and binary rpms
2017-12-05 07:27:59 -06:00
Olof hagsand
822aac18a1 datastore/keyvalue/Makefile left behind 2017-12-04 18:31:40 +01:00
Olof hagsand
e169485985 Datastore cache introduced; Added yang to XML API 2017-12-02 14:49:49 +01:00
Olof hagsand
f8fd0d0faf Preparing for 3.3.3 2017-11-25 12:20:20 +01:00
Olof hagsand
2ebd89d636 Added --with-config-compat and --with-startup-compat to configure 2017-11-23 20:51:33 +01:00
Olof hagsand
548ffd2da6 Disabled key-value datastore; Removed mandatory requirements for BACKEND, NETCONF, RESTCONF and CLI dirs 2017-11-19 18:04:23 +01:00
Olof hagsand
14cfc46ce4 Apple Darwin port 2017-10-12 22:03:02 +02:00
Olof hagsand
a2bfe2bdd2 more merge 2017-09-27 18:29:13 +02:00
Olof hagsand
e45e8da6d7 Added experimental reading of yang and xml-based config file. 2017-09-24 22:01:28 +02:00
Olof hagsand
ef0fce10d5 3.3.3 upcoming 2017-08-27 20:36:03 +02:00
Olof hagsand
bf30e6f66a 3.3.2_PRE 2017-06-07 21:13:50 +02:00
Olof hagsand
6ebfc182f3 merged develop to 3.3.1 2017-06-07 20:54:11 +02:00
Olof hagsand
d58ffb2c72 Strings in xmldb_put not properly encoded, eg eth/0 became eth.00000 2017-05-25 15:10:51 +02:00
Olof hagsand
a18f66b6d0 Preparing for 3.3.0 2017-05-07 17:38:43 +02:00
Olof hagsand
d26a801bc0 Added connect/disconnect/getopt/setopt and handle to xmldb API; Added datastore 'text'; Moved apps/dbctrl to datastore/ 2017-04-15 13:53:58 +02:00
Olof hagsand
2758a30bb7 Configure (autoconf) changes: Removed libcurl dependency, Disable restconf and disable restconf options. Added empty text datastore 2017-04-11 20:15:43 +02:00
Olof hagsand
af334bb746 Removed curl dependency 2017-04-10 21:52:39 +02:00
Olof hagsand
f6b3e95100 Created xmldb plugin api 2017-04-09 22:53:48 +02:00
Olof hagsand
4169bd8d30 Ongoing: xmldb datastore plugin framework 2017-04-08 20:39:04 +02:00