Olof hagsand
558a0df1f3
Fixed proper restore of cttl-C in msg rcv
...
Rename and move plugin_context_check to clixon_resource_check
2023-12-21 15:00:12 +01:00
Olof hagsand
f25a77734e
More updates for Error/Log/Debug API changes
2023-12-18 17:19:14 +01:00
Olof hagsand
24a4991ec8
Restructured error,debug anf log API
...
Renamed functions clicon->clixon, replaced global variables w access functions
Unified clicon_netconf_error with clixon_err()
2023-12-18 08:29:14 +01:00
Olof hagsand
261469be16
Feature: [Add support for -V option to give version]( https://github.com/clicon/clixon/issues/472 )
2023-12-14 23:10:51 +01:00
Olof hagsand
2f81a086c8
Fix for the previous netconf_err2cb commit
2023-12-14 11:24:53 +01:00
Olof hagsand
7713e79dc2
Netconf error callback resilient to prefixes
...
Reformat json code
2023-12-14 10:08:34 +01:00
Olof hagsand
e619632ac7
Optimization: Added mountpoint cache as yang flag YANG_FLAG_MTPOINT_POTENTIAL
...
Filter state-data w xpath
2023-12-12 14:12:50 +01:00
Olof hagsand
012158fb24
Optimization of yang_find()
2023-12-10 21:03:46 +01:00
Philip Prindeville
d76adf51d2
Check for final prompt in pagination
2023-12-09 16:14:15 +01:00
Olof hagsand
4d91ce0995
Fixed: [Using the characters '<' and '>' might cause an invalid diff]( https://github.com/clicon/clixon-controller/issues/73 )
2023-12-09 14:11:18 +01:00
Olof hagsand
574106125f
Added reference count for shared yang-specs (schema mounts)
2023-12-06 13:48:41 +01:00
Olof hagsand
9bd1b8994c
Test docker: dont expose ports
2023-12-06 13:46:27 +01:00
Olof hagsand
f64c9016a1
6.6.0.PRE
2023-12-06 13:45:52 +01:00
Olof hagsand
d85f7c0032
Clixon 6.5.0
2023-12-05 16:10:23 +01:00
Olof hagsand
054ffccb31
test:vagrant nginx fix, CHANGELOG
2023-12-05 15:04:01 +01:00
Olof hagsand
1ac5086c6a
Tests: updated cli fuzz, vagrant, valgrind
2023-12-04 22:28:18 +01:00
Olof hagsand
8d3d39319e
Test: vagrant configure clixon changes
2023-12-03 21:49:52 +01:00
Olof hagsand
5e84ad8008
Test: vagrant clixon-util upgrade, sudo -g not work 18.04
2023-12-03 12:08:00 +01:00
Olof hagsand
01fbf764e7
more clixon-util rm effects
2023-12-02 17:46:43 +01:00
Olof hagsand
a3a7624a11
CI: adjusted to removed utils
...
Autoconf: updated config-aux
2023-12-02 17:28:05 +01:00
Olof hagsand
80a10b694c
All clixon test utilities in util/ moved to separate repo: clicon/clixon-util
2023-12-02 17:11:16 +01:00
Philip Prindeville
631ebaa759
Fix issues with valgrind w/ sudo
2023-12-01 09:31:50 +01:00
Olof hagsand
c46872c3fd
Fix mount memory leakage, Add YANG_FLAG_MOUNTPOINT
2023-11-29 18:59:13 +01:00
Olof hagsand
81b4fdb274
Added SSHD_BIN in configure.ac
2023-11-28 17:02:13 +01:00
Philip Prindeville
b9ed302de1
Remove hardcoded paths to commands, configs, etc. in source
2023-11-28 16:42:33 +01:00
Philip Prindeville
72db8edf3f
Build even implicit targets with $(INCLUDES)
2023-11-28 16:42:33 +01:00
Philip Prindeville
bf26ccb8db
Apparently missed one of the docker files
2023-11-28 16:42:33 +01:00
Olof hagsand
f3ae28b938
Test: replace namespace with variable
2023-11-28 15:04:13 +01:00
Olof hagsand
bbcb4a7b03
Creator attribute changes: added as xmldb metadata
...
clixon-config.yang: New revision and Added `CLICON_NETCONF_CREATOR_ATTR` option
clixon-lib.yang: Added creator meta
Changed return value of xml_add_attr
2023-11-28 14:44:01 +01:00
Olof hagsand
be3001acf5
XML: Add XML_FLAG_ANYDATA to mimic an xml node to be ANYDATA
2023-11-23 18:44:17 +01:00
Olof hagsand
cafbe7d200
Docker: enable ssh tests
...
Test: restore tty after restconf start
2023-11-20 09:55:37 +01:00
Olof hagsand
8601690c91
Test: added write tests for nacm mount
2023-11-17 08:54:04 +01:00
Olof hagsand
aaab8a4920
Fixed: [NACM paths don't work for mounted YANG models]( https://github.com/clicon/clixon-controller/issues/62 )
2023-11-15 16:47:33 +01:00
Olof hagsand
2e6d9167f2
Mount-point support for restconf
2023-11-15 12:12:42 +01:00
Olof hagsand
597cbe882b
Yang schema mount fix: canonical paths and register on conatiner instead of unknown
2023-11-14 19:35:17 +01:00
Philip Prindeville
a98bbf0ec6
Fix use of --with-cligen in docker files
2023-11-05 11:38:42 +01:00
Philip Prindeville
30fbb82fc6
Revert "fix --with-cligen build option"
...
This reverts commit ea14b4fa24 .
2023-11-05 11:38:42 +01:00
Philip Prindeville
f5a2c0b182
Fix race condition
2023-11-05 11:36:06 +01:00
Olof hagsand
2f88ef3ed6
Fixed: [cl:creator attribute must be persistent]( https://github.com/clicon/clixon-controller/issues/54 )
2023-11-03 14:06:41 +01:00
Olof hagsand
c703e89bc8
Moved and split install of main example config file
2023-11-02 17:25:11 +01:00
Olof hagsand
16a7fa3837
SNMP union leak (see https://github.com/clicon/clixon/pull/461 )
...
Added docker-snmp-mem test
2023-11-02 16:26:21 +01:00
Olof hagsand
e9c5287c36
Debug: improved debug level 2 with socket-description, also for notification
2023-11-01 13:48:41 +01:00
Alexander Skorichenko
71431dcd82
Let restart-plugin RPC pick up on yang's defaults
...
In the transaction that applies plugin's config don't include
yang's defaults in the transaction source.
2023-10-31 14:57:20 +01:00
Philip Prindeville
878764b6f3
Avoid additional 'eval echo ...' sequences
2023-10-30 11:17:51 +01:00
Olof hagsand
978586a493
Fixed customized errors: fcgi and snmp
2023-10-26 15:32:25 +02:00
Olof hagsand
5bdad1870e
New feature: [Customized NETCONF error message]( https://github.com/clicon/clixon/issues/454 )
...
* Added new callback `.ca_errmsg`
* Changed signature of `clicon_netconf_error()` and `netconf_err2cb()`
2023-10-26 14:59:51 +02:00
Olof hagsand
e7313fc9a2
New clixon-lib@2023-11-01.yang revision with ignore-compare extension
2023-10-25 18:09:40 +02:00
Olof hagsand
62348fc9c7
C-style update: Unified comment, retvals in order, remove trailing spaces
...
Changed function name for `clicon_debug` functions
2023-10-23 09:58:13 +02:00
Philip Prindeville
6e314dd96f
Log if restconf started w/o configuration
2023-10-21 18:29:23 +02:00
Philip Prindeville
4a3fef4946
Always log execs
2023-10-21 18:29:23 +02:00