Jan-Olof Carlson
71fe10a057
with-defaults=trim does not work due to dodgy handling of state data marked as default
2022-08-29 18:27:07 +02:00
Jan-Olof Carlson
dcb78bbc26
Test performed using internal RESTCONF server
2022-08-29 18:27:07 +02:00
Jan-Olof Carlson
6bee1746e0
RFC8040 4.8.9. RESTCONF with-defaults Query Parameter
2022-08-29 18:27:07 +02:00
Jan-Olof Carlson
9647177165
Correct NETCONF error-tag when operation not supported
2022-08-29 18:27:07 +02:00
Jan-Olof Carlson
0a20348b3b
rfc6243 with-defaults Capability for NETCONF
2022-08-29 18:27:07 +02:00
Olof Hagsand
70ed85f413
Various typos
2022-08-26 12:22:30 +00:00
Olof hagsand
a516ee173d
Fixed: [YANG ordering fails for nested choice and action](YANG ordering fails for nested choice and action)
2022-08-24 13:02:38 +02:00
Olof hagsand
795ac0cc7d
Clixon-netconf: Redirect logs to syslog by default, instead of stderr
2022-08-23 19:41:02 +02:00
Olof hagsand
ba39f88936
Fixed: [YANG min-elements within non-presence container does not work]( https://github.com/clicon/clixon/issues/355 )
2022-08-23 19:40:16 +02:00
Olof hagsand
ba9b313295
Restconf callhome: idle-timeout for periodic callhome
2022-08-22 11:27:02 +02:00
Olof hagsand
9a5504eed0
Fixed: [Issues with ietf-snmp modules]( https://github.com/clicon/clixon/issues/353 )
2022-08-18 18:07:29 +02:00
Olof hagsand
74da966096
Fixed: [Missing/no namespace error in YANG augments with default values]( https://github.com/clicon/clixon/issues/354 )
...
Tests: ensure all netconf requests with identityref have declared namespaces.
* This is part of fixing [Yang identityref XML encoding is not general](https://github.com/clicon/clixon/issues/90 )
2022-08-18 16:38:24 +02:00
Olof hagsand
b748d68912
RESTCONF callhome, periodic and persistent connection-types, multiple clients
2022-08-18 16:38:24 +02:00
Olof hagsand
7e783952eb
Restconf callhome: Added YANG connection-type, test: added NACM
2022-08-12 15:05:18 +02:00
Olof hagsand
9de052c144
Test: modified test for fix [Validation of mandatory in choice/case does not work in some cases]( https://github.com/clicon/clixon/issues/349 )
2022-08-10 13:38:15 +02:00
Olof hagsand
d1553471f7
Fixed: [Validation of mandatory in choice/case does not work in some cases]( https://github.com/clicon/clixon/issues/349 )
2022-08-10 13:25:30 +02:00
Olof hagsand
3a9b276deb
Fixed struct sockaddr memory issues
...
Test: fixed docker yang repo copy
Test: disable restconf-callhome for fcgi
2022-07-31 11:33:02 +02:00
Olof hagsand
7d8ddf7697
Restconf RFC8071 call-home first working prototype
2022-07-31 09:59:52 +02:00
Olof hagsand
6f5149cc32
Clixon 5.8.0 release
2022-07-28 19:15:00 +02:00
Olof hagsand
bb069aa7b8
Test: fixed snmp for docker/fcgi
2022-07-27 18:28:24 +02:00
Olof hagsand
9d65fb81d7
* Break-out RFC 7950 Section 6.1 tokenization
...
* This enables full string lexical parsing of some rules previously not fully compliant, including:
* refine
* user-augment
* if-feature
* Also solves previous tokenization issues
2022-07-25 09:25:11 +02:00
Olof hagsand
aaa18897ef
Test: remove obsolete test_ openconfig_system
...
Add branch with-defaults to github workflow
Check in parameter in yang_extension_value
2022-07-22 16:57:46 +02:00
Olof hagsand
4514f2a538
Fixed: ["autocli:hide-show" extension cause bug in xmldb_put method #343 ]( https://github.com/clicon/clixon/issues/343 )
...
As a side-effect, added extra "autocliext" parameter to:
- clixon_xml2file()
- clixon_json2file()
- clixon_json2cbuf()
- clixon_txt2file()
2022-07-22 16:06:28 +02:00
Olof hagsand
e724dd7f40
Test: Added detail env var to sum.sh, Changed make test to include detailed test
2022-07-21 09:08:18 +02:00
Olof hagsand
42efb59a75
Example main -v/-V issues breaking previous commit tests
2022-07-21 08:07:48 +02:00
Olof hagsand
89f8567f75
Refactoring of if-feature parse code
...
Moved if-feature sub-parser to clixon_yang_parse_sub.[ch]
2022-07-20 22:48:09 +02:00
Olof hagsand
1d78241115
Merge branch 'snmp'
2022-07-15 15:54:44 +02:00
Olof hagsand
96c6cef9a0
Fixed: [YANG mandatory statements within case nodes do not work]( https://github.com/clicon/clixon/issues/344 )
2022-07-15 13:05:01 +02:00
Olof hagsand
9537596a67
Fixed again: [Nested YANG choice does not work #342 ]( https://github.com/clicon/clixon/issues/342 )
...
Previous fix only for some sub-cases. New fix should work for all reecursive cases
2022-07-14 22:24:44 +02:00
Olof hagsand
657ddf9e87
Fixed: [Nested YANG choice does not work #342 ]( https://github.com/clicon/clixon/issues/342 )
2022-07-11 12:35:24 +02:00
Olof hagsand
49d19b263c
SNMP: Internal cache handling for rowstatus
...
Test: prefix SN=0 instead of CS=0 for override clixon_snmp start
2022-07-11 10:07:48 +02:00
Olof hagsand
5175cb8223
SNMP: Added rowstatus destroy logic
2022-07-10 12:17:01 +02:00
Kristofer Hallin
7ecfd69398
Include the full snmpd command line in the tests readme.
2022-07-09 21:32:26 +02:00
Olof hagsand
714e41c627
SNMP: rowstatus for go and wait
...
Remaining: destroy and internal state
2022-07-09 16:41:21 +02:00
Olof hagsand
d79d0aa933
SNMP Support for display-hint "255t" for fixed string translation
2022-07-09 12:41:58 +02:00
Olof hagsand
4cf1d04cb7
Added XPATH function boolean()
...
* This caused problem for new NTP YANG in RFC 9249
Fixed segv on anydata for http parser
2022-07-08 15:12:28 +02:00
Olof hagsand
38027c8331
Added XPATH function boolean()
...
* This caused problem for new NTP YANG in RFC 9249
Fixed segv on anydata for http parser
2022-07-08 15:11:56 +02:00
Olof hagsand
d9cdd669d2
SNMP: Add IPaddress scalar to clixon mib and fix ipv4 set translation
2022-07-08 10:32:25 +02:00
Kristofer Hallin
1b66dfe1b9
RowStatus tests.
2022-07-05 21:58:20 +02:00
Kristofer Hallin
a0e266befb
New MIB and implementation with clixonInetTable.
2022-07-04 17:12:40 +02:00
Olof hagsand
d82d08b4ac
Merge branch 'snmp' of github.com:clicon/clixon into snmp
2022-06-26 11:51:08 +02:00
Olof hagsand
4dd633ba31
SNMP: ifStackStatus test
2022-06-26 11:31:28 +02:00
Olof hagsand
f6fe9f6a64
SNMP: fix SNMP set access of table entries
...
[Conversion of ethernet address (PhysAddress) and IP address (IPAddress) crashes agent](https://github.com/clicon/clixon/issues/340 )
Hwaddress and IP adress for scalar and table set should now work
2022-06-26 11:31:28 +02:00
Kristofer Hallin
ebf251455f
Bugfix.
2022-06-26 11:30:29 +02:00
Kristofer Hallin
5962852e9f
More table tests for IF-MIB.
2022-06-26 11:30:29 +02:00
Kristofer Hallin
4cece83e32
Tests for IF-MIB::ifRcvAddressTable with double indexes.
2022-06-26 11:30:29 +02:00
Kristofer Hallin
5194514993
New type, Timeticks.
2022-06-26 11:30:29 +02:00
Kristofer Hallin
a768e8db5d
Don't use the NetSNMP names from the old MIB.
2022-06-26 11:30:29 +02:00
Kristofer Hallin
9f48b491c1
Added range for INTEGER type in CLIXON-TYPES-MIB.
2022-06-26 11:30:29 +02:00
Kristofer Hallin
97cec9daec
More updates to CLIXON-TYPES-MIB.
2022-06-26 11:30:29 +02:00