Commit graph

267 commits

Author SHA1 Message Date
Olof Hagsand
4a57b60935
Merge pull request #7 from mgsmith1000/develop
Use default config file when none is provided
2018-01-16 14:43:25 +01:00
Olof hagsand
e3fd1f2873 syntax error 2018-01-15 22:49:44 +01:00
Olof Hagsand
73074bf7a8 json vector 2018-01-15 21:36:42 +00: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
363bd5d19d New configuration option: CLICON_RESTCONF_PRETTY
Changed RESTCONF GET to return object referenced. ie, GET /restconf/data/X returns X.
2018-01-07 18:01:42 +01:00
Olof hagsand
cefaf4717f Making the tests self-contained wrt config file and lib.sh creating test scratch dir. 2018-01-07 17:56:33 +01:00
Olof hagsand
b5b96cde0c test: removed exit:s and printed backend start options 2018-01-06 13:42:53 +01:00
Olof hagsand
83cb696d0e Corrected "No yang spec" printed on tty on leafref CLI usage 2018-01-06 13:40:14 +01:00
Olof Hagsand
071667102c
Merge pull request #6 from rbgarga/patch-1
Do not remove clixonrc on install-include
2018-01-05 16:26:30 +01:00
Renato Botelho
cc9111c8ee
Update Makefile.in 2018-01-05 09:56:10 -02: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
43c0a8660c Merge branch 'master' into develop 2018-01-01 12:31:29 +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
f10e2a89e8 global variables into handle 2017-12-31 20:18:41 +01:00
Olof hagsand
d3460bfc26 Merge branch 'develop' for 3.4.0 2017-12-31 18:30:36 +01:00
Olof hagsand
19301ae240 sort xml children on parsing 2017-12-31 18:25:53 +01:00
Olof hagsand
9681c91681 experimental insert_pos 2017-12-31 18:18:04 +01:00
Olof hagsand
79767045ad mem leaks 2017-12-31 12:05:21 +01:00
Olof hagsand
d8269eee53 details 2017-12-29 18:25:17 +01:00
Olof hagsand
6911f35ec0 ack 2017-12-29 18:15:05 +01:00
Olof hagsand
174cfc02c6 Added CLICON_XMLDB_PRETTY option. If set to false, XML database files will be more compact.
Added CLICON_XMLDB_FORMAT option. Default is "xml". If set to "json", XML database files uses JSON format.
Escape " in JSON names and strings and values
Optimized search performance for large lists by sorting and binary search.
2017-12-29 18:09:26 +01:00
Olof hagsand
4b92dbdc10 Optimized search performance for large lists by sorting and binary search 2017-12-27 11:34:47 +01:00
Olof Hagsand
b743b0a080 minor edits 2017-12-22 19:02:20 +01:00
Olof Hagsand
ca16007b66 Clixon_backend now returns -1/255 on error instead of 0 2017-12-12 22:40:28 +01:00
Olof hagsand
a150eec7be Fixed bug that deletes running on startup if backup started with -m running. 2017-12-10 15:38:42 +01:00
Olof Hagsand
dd7f790193 Fixed bug that deletes running on startup if backup started with -m running 2017-12-10 15:29:22 +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
Olof hagsand
71d96fa7f8 Merge branch 'rbgarga-make_dist_and_rpm' into develop 2017-12-09 20:26:54 +01:00
Olof hagsand
76157d74b9 Merge branch 'make_dist_and_rpm' of https://github.com/rbgarga/clixon into rbgarga-make_dist_and_rpm 2017-12-09 20:23:24 +01:00
Olof Hagsand
4742fde1e9 XML creation and parse API changes 2017-12-09 14:14:40 +01:00
Olof hagsand
056b5c97dd experimental netconf yang spec 2017-12-08 19:37:09 +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
Renato Botelho do Couto
e7b1c0c38c Implement make dist target
Add dist target to create project tarball. It uses a script called
version, that was obtained from vpp source code to produce a version
string using `git describe` that is incremental based on last annotated
tag available.
2017-12-05 05:23:27 -06:00
Renato Botelho do Couto
3dd4903f88 Ignore generated files 2017-12-05 05:23:22 -06:00
Olof hagsand
822aac18a1 datastore/keyvalue/Makefile left behind 2017-12-04 18:31:40 +01:00
Olof hagsand
4cb00bedfa optimization 2017-12-03 20:22:05 +01:00
Olof hagsand
14faf93eec fixed datastore cache 2017-12-02 21:53:02 +01:00
Olof hagsand
e169485985 Datastore cache introduced; Added yang to XML API 2017-12-02 14:49:49 +01:00
Olof hagsand
c1cb3a2b6c Merge branch 'master' into develop 3.3.3 2017-11-25 13:57:09 +01:00
Olof hagsand
c3f7a50e61 CHANGELOG for 3.3.3 2017-11-25 12:55:57 +01:00
Olof hagsand
43b898a269 CHANGELOG for 3.3.3 2017-11-25 12:53:47 +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
96a7ec86f0 Fixed DESTDIR make install/uninstall and break immediately on errors 2017-11-22 22:21:12 +01:00
Olof hagsand
496754f5c5 undefined DESTDIR 2017-11-20 23:01:49 +01:00
Olof Hagsand
3d3ecd4e4d startup_mode: did not clear running 2017-11-20 22:25:55 +01:00
Olof hagsand
17c60dcc07 fixed CHANGELOG 2017-11-19 20:29:40 +01:00