Olof hagsand
26667b2c2f
Restconf: get well-known, top-level resource, yang library version, put whole datastore,
...
check for different keys in put lists.
2018-01-21 14:31:53 +01:00
Olof hagsand
f6284ac933
restconf PUT delta
2018-01-17 22:59:54 +01:00
Olof hagsand
cd33380368
Fixed empty restconf data segv; error restconf quit; etc
2018-01-16 22:25:55 +01: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
83cb696d0e
Corrected "No yang spec" printed on tty on leafref CLI usage
2018-01-06 13:40:14 +01: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
38f0b446fa
2017->2018
2018-01-01 12:25:33 +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
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
dd7f790193
Fixed bug that deletes running on startup if backup started with -m running
2017-12-10 15:29:22 +01:00
Olof Hagsand
0076a8b838
leafref bug
2017-12-09 20:48:29 +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
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
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
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
8b6bb6ff50
restconf bugs and increased restconf testing
2017-11-19 12:40:32 +01:00
Olof hagsand
496d676ad3
Backend daemon startup modes
2017-11-19 11:52:30 +01:00
Olof Hagsand
23e40384f7
JSON negative number patch
2017-11-13 17:11:31 +00:00
Olof Hagsand
3c41a79102
hen user callbacks such as statedata() call returns -1, clixon_backend no
...
longer silently exits. Instead a log is printed and an RPC error is returned.
2017-11-12 15:50:22 +00:00
Olof Hagsand
145f6acd2e
More than one restconf input arg
2017-10-29 17:03:09 +01:00
Olof hagsand
7b719cc6db
Added Floating point support to JSON
2017-10-29 16:15:18 +01:00
Olof Hagsand
44612c57d8
hardening cvvs due to errors
2017-10-29 10:32:00 +01:00
Olof hagsand
1fb3f792b6
Merge branch 'develop' of https://github.com/clicon/clixon into develop
2017-10-28 19:06:21 +02:00
Olof hagsand
2639757836
xsl robist for no name
2017-10-28 19:05:42 +02:00
Olof Hagsand
e8a8d6e871
Restconf: http cookie sent as attribute in rpc restconf_post operations to backend.
2017-10-25 21:09:04 +02:00
Olof hagsand
4b0c060667
Added option CLICON_CLISPEC_FILE; Replaced cli_ functiuons with cligen_
2017-10-17 19:35:46 +02:00
Olof hagsand
14cfc46ce4
Apple Darwin port
2017-10-12 22:03:02 +02:00
Olof Hagsand
2d9e4666eb
restconf dbg
2017-10-08 19:44:00 +02:00
Olof hagsand
5cea5fa768
xml config default; api_path_fmt2api_path cleanup
2017-10-03 22:41:12 +02:00
Olof Hagsand
e1b7ea8449
intptr to avoid warning
2017-10-01 12:41:32 +02:00
Olof hagsand
ca7b4d3d9e
Migrated to XML configure file.
2017-10-01 12:33:12 +02:00
Olof hagsand
a2bfe2bdd2
more merge
2017-09-27 18:29:13 +02:00
Olof hagsand
c74cdda1e8
Merge branch 'master' into develop
2017-09-27 18:22:11 +02:00
Olof hagsand
6f6ffa2319
Merge branch 'master' of https://github.com/clicon/clixon
2017-09-27 18:10:49 +02:00
Olof hagsand
becddfab41
Added format string to clicon_rpc_generate_error() and used that to make better backend error messages
2017-09-27 18:10:13 +02:00
Olof hagsand
8494d29d6b
config file has .xml ending, yang/clixon-config.yang is used as
...
model for an xml-based configuration file
2017-09-25 22:05:26 +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
66acc1dea5
cliscrolling wrongly in sanity should be in default
2017-09-24 19:53:48 +02:00
Olof hagsand
a691124189
Merge branch 'master' into develop
...
Conflicts:
CHANGELOG.md
2017-09-24 17:08:44 +02:00
Olof hagsand
936268b813
default set CLICON_CLI_LINESCROLLING 1
2017-09-24 17:05:39 +02:00
Olof hagsand
7a7bfc48a4
experimental xml hash for better performance
2017-09-18 20:53:49 +02:00