Olof hagsand
e1b94d94d2
* Ensure all fopen check for NULL (not -1)
...
* Improve test-perf cycles
2020-12-07 13:33:21 +01:00
Olof Hagsand
344dcacf6f
* Second fix of https://github.com/clicon/clixon/issues/158
...
* Actually there is an error of duplicate rpc-replies, but it should be detected in the backend not here
2020-12-06 11:22:26 +00:00
Olof hagsand
a71e8aaceb
* minor edits make datastore=nocache pass tests, and ensure generic copy-config works
2020-12-04 14:47:55 +01:00
Olof Hagsand
99c570e278
test/vagrant fixes
2020-12-03 14:23:59 +00:00
Olof hagsand
d045e8abce
* Fixed: [namespace prefix nc is not supported in full #154 ]( https://github.com/clicon/clixon/issues/154 )
...
* edit-config "config" parameter did not work with prefix other than null
2020-12-02 14:21:17 +01:00
Olof hagsand
2b9f19a19f
test rpc keyless wrong order
2020-12-02 09:53:33 +01:00
Olof hagsand
4d5c428b79
* Test fixes
...
* cligen hist file size test
* clixon-example.yang update
2020-12-01 22:34:24 +01:00
Olof hagsand
e46f6f4a36
* Error-type changed from protocol to application for data-not-unique netconf/restconf errors
...
* Added new revision of main example yang: `clixon-example@2020-12-01.yang`
* Fixed [YANG: key statement in rpc/notification list #148 ](https://github.com/clicon/clixon/issues/148 )
* Do not check uniqueness among lists without keys
2020-12-01 18:58:20 +01:00
Olof hagsand
1cd6d37fa1
test copy yang from /usr/local/share
2020-12-01 14:07:46 +01:00
Olof hagsand
c32950c8a9
* Added message-id attributes in error and hello replies
...
* See [namespace prefix nc is not supported in full #154 ](https://github.com/clicon/clixon/issues/154 )
* Removed mandatory loading of clixon_restconf.yang
2020-12-01 12:14:30 +01:00
Olof hagsand
26a4b14060
revert travis
2020-11-30 20:12:07 +01:00
Olof hagsand
a337955847
travis set -eux
2020-11-30 16:22:48 +01:00
Olof hagsand
76474ba151
travis nginx sudo
2020-11-30 13:43:36 +01:00
Olof hagsand
66e1d81609
travis again
2020-11-30 13:00:13 +01:00
Olof hagsand
cb10d4b552
travis test wait
2020-11-30 12:06:46 +01:00
Olof hagsand
cdc851e5ce
travis again
2020-11-30 11:16:53 +01:00
Olof hagsand
f34b61cf6a
travis again
2020-11-30 10:35:47 +01:00
Olof hagsand
0d3321756d
travis again
2020-11-30 10:05:15 +01:00
Olof hagsand
1080ef9d20
try native travis test #8
2020-11-29 23:32:50 +01:00
Olof hagsand
632314364b
try native travis test #7
2020-11-29 23:26:24 +01:00
Olof hagsand
993c5efe87
try native travis test #5
2020-11-29 23:03:13 +01:00
Olof hagsand
b8f987e3f3
try native travis test #2
2020-11-29 22:46:16 +01:00
Olof hagsand
bccad164ae
try native travis test
2020-11-29 22:33:15 +01:00
Olof hagsand
542c0495b3
autocli sub fixes
2020-11-28 18:17:32 +01:00
Olof hagsand
75f85e0253
revert yang2cli sub code, use existing yang2cli solution
2020-11-27 15:31:27 +01:00
Olof hagsand
f69daf773e
more test and vagrant for nginx checks
2020-11-25 19:48:42 +01:00
Olof hagsand
4f5b0178cc
fix test sleep/loop problem
2020-11-24 22:29:48 +01:00
Olof hagsand
ccadd3f9ea
test: sleep 0.5s; vagrant centos: ipv6 enable
2020-11-24 18:29:04 +01:00
Olof hagsand
8d8a37d18e
test and vagrant fixes
2020-11-24 10:38:58 +01:00
Olof hagsand
ae8e287dd9
test / restconf /vagrant fixes
2020-11-21 16:10:38 +01:00
Olof hagsand
87d9b7776e
test_restconf IPv6 typo
2020-11-21 14:21:59 +01:00
Olof hagsand
0b948248e4
* Reworked evhtp restconf config to only use clixon-restconf.yang and marked local restconf options as obsolete
...
* Extended clicon-config with clixon-restconf for local config
* Removed obsolete CLICON_TRANSACTION_MOD
2020-11-21 13:16:29 +01:00
Olof hagsand
3d10c3bfcb
evhtp debugging: memleaks, test errors, etc
2020-11-19 18:06:20 +01:00
Olof hagsand
c0ad6d3f8f
remove global ssl-enable in clixon-restconf.yang
2020-11-18 21:52:47 +01:00
Olof hagsand
9016dde319
Modify tests so they all work with evhtp and backend config, eg that CLICON_RESTCONF_CONFIG is default true.
...
Note that some tests are forced to CLICON_RESTCONF_CONFIG is false due to test complexities.
2020-11-18 13:57:25 +01:00
Olof hagsand
daaf3f17df
revert clixon-err on XML
...
restconf backend config
2020-11-18 13:57:25 +01:00
Olof Hagsand
eb549b4c21
Merge pull request #150 from benavrhm/topic_benavrhm_fixups_20201112
...
Topic benavrhm fixups 20201112
2020-11-17 15:45:08 +01:00
Olof hagsand
4eee00101c
Disabling IPv6 per default due to failing docker tests
2020-11-15 18:16:06 +01:00
Olof hagsand
a5d56f1cb7
disable IPv6 restconf test by default
2020-11-15 17:00:35 +01:00
Olof hagsand
6eb18da5e9
* Multi-socket feature (eg IPv4/IPv6 http/https) to restconf evhtp
...
* Added by-ref parameter to `ys_cv_validate()` returning which sub-yang spec was validated in a union.
2020-11-15 12:34:40 +01:00
Jonathan Ben-Avraham
b37cec53fb
Added sanity test of TIMEFN
...
This commit adds a sanity check of the test script TIMEFN, which is by
default 'time -p', for the scripts that define it. The scripts are
currently written such that if there is no 'time' executable, such as in
Debian 9, then some of the scripts fail and some don't but should. This
commit fixes that problem.
2020-11-14 21:36:32 +02:00
Jonathan Ben-Avraham
b1c742ff41
Test script documentation fixup
...
This commit provides a scriptable headline for the octal dump output.
When the received output of a test is empty or only whitespace, this
commit makes it clear that the octal dump putput is not the expected
output.
2020-11-12 19:02:40 +02:00
Olof hagsand
a0006075c3
Merge branch 'topic_benavrhm_rfc8527a_20201103' of https://github.com/benavrhm/clixon into benavrhm-topic_benavrhm_rfc8527a_20201103
2020-11-11 13:41:05 +01:00
Olof hagsand
4ecffa6885
test systemctl; better rpc namespace errormsg
2020-11-11 13:09:58 +01:00
Jonathan Ben-Avraham
a1f54d71ac
Update yang/mandatory files for rfc8527 compliance
...
Updated the yang/mandatory files and test scripts for rfc8527.
2020-11-07 22:06:05 +02:00
Jonathan Ben-Avraham
e6899cc3f5
Additional documentation for test scripts
...
Added documentation in comments in test scripts, added example site.sh,
moved evaluation of site.sh later in lib.sh to allow site.sh to override
more lib.sh variables.
2020-11-07 21:44:59 +02:00
Olof hagsand
5088f23e6a
disable nginx systemd check
2020-11-06 20:11:01 +01:00
Olof hagsand
6ecb0d5232
tests for restconf backend configure
...
rm client-cert-ca
2020-11-06 11:41:59 +01:00
Olof hagsand
7a0838da3a
* Restconf configuration has a new configure model: clixon-restconf.yang enabling restconf daemon configuration from datastore instead of from config file.
2020-11-03 21:26:34 +01:00
Olof hagsand
fab261cb53
* Added XPATH functions position
2020-10-27 09:40:45 +01:00