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
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
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
7532fdde77
* INSTALLFLAGS added with default value -s(strip).
...
* For debug do: CFLAGS=-g INSTALLFLAGS= ./configure
2018-04-30 12:06:19 +02:00
Renato Botelho do Couto
dabf0e5918
Improve permissions and strip binaries
...
- Use 0755 for directories
- Use 0644 for libraries, includes and shared files
- Use -s (strip) parameter when installing binaries and libraries
2018-04-23 13:33:21 -05:00
Olof hagsand
67c0abead7
Fixed issue https://github.com/clicon/clixon/issues/17 special character in strings can break RPCs
2018-04-21 16:32:46 +02:00
Olof hagsand
990700b68d
https://github.com/clicon/clixon/issues/16
...
Added restconf/operations get, see RFC8040 Sec 3.3.2:
2018-03-04 21:24:38 +01:00
Olof hagsand
38f0b446fa
2017->2018
2018-01-01 12:25:33 +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
496d676ad3
Backend daemon startup modes
2017-11-19 11:52:30 +01:00
Olof hagsand
fd91bb2933
restconf RPC
2017-07-30 16:16:10 +02:00
Olof hagsand
5ae1aeb427
Added support for YANG anyxml; Yang union CLI generation and validation; Removed yang string escaping
2017-07-27 11:54:28 +02:00
Olof hagsand
e5b625e722
Added support for yang presence and no-presence containers.
2017-07-23 12:59:02 +02:00
Olof hagsand
f5c19d8586
Added state data
2017-07-01 17:42:39 +02:00
Olof hagsand
abd3eee17d
Generic map_str2int generic mapping tables; Removed vector return values from xmldb_get()
2017-06-21 21:02:09 +02:00
Olof hagsand
6ebfc182f3
merged develop to 3.3.1
2017-06-07 20:54:11 +02:00
Olof hagsand
91f91fe526
memleaks, cli-generate leafref
2017-06-06 22:09:37 +02:00
Olof hagsand
0d7351093b
rm printfs
2017-06-04 10:29:32 +02:00
Olof hagsand
3453dae0db
- removed api_path extension from internal netconf
...
- Strings in xmldb_put not properly encoded, eg eth/0 became eth.00000
2017-05-30 21:57:06 +02:00
Olof hagsand
e5e1568a3e
debugging text datastore, pretty-print datastore
2017-05-26 11:31:04 +02:00
Olof hagsand
7bda16eed5
init -> create
2017-05-06 14:28:44 +02:00
Olof hagsand
69ff0e3891
Refined netconf none semantics in tests and text datastore
2017-05-01 12:46:09 +02:00
Olof hagsand
c2f52845f8
rm xml index; added xml util functions; further xmldb development
2017-04-23 22:32:53 +02:00
Olof hagsand
d02015f456
datastore text works with replace
2017-04-17 19:47:32 +02:00
Olof hagsand
ee9b74d735
formalizing xmldb api
2017-04-16 19:06:19 +02:00
Olof hagsand
540cd96e74
datastore handles
2017-04-15 19:42:35 +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