* Optional yangs for testing have been removed from the Clixon repo
* These were included for testing
* If you want to run the Clixon test suite you need to point `YANGMODELS`, see test/README.md
* The following configure options have been removed:
* `configure --with-opt-yang-installdir=DIR`
* `configure --enable-optyangs`
* You may need to specify standard YANGs using configure option `--with-yang-standard-dir=DIR`
* Updated yang ietf models with fetures for tet
* Added option `CLICON_YANG_AUGMENT_ACCEPT_BROKEN` to accept broken yangmodels.
* This is a debug option for CI testcases where standard YANG models are broken
This commit is contained in:
parent
bc1f80b28e
commit
339b744835
28 changed files with 191 additions and 183 deletions
16
test/lib.sh
16
test/lib.sh
|
|
@ -138,17 +138,6 @@ fi
|
|||
# Start restconf user, can be root which is dropped to wwwuser
|
||||
: ${wwwstartuser:=root}
|
||||
|
||||
# Parse yangmodels from https://github.com/YangModels/yang
|
||||
# Recommended: checkout yangmodels elsewhere in the tree and set the env
|
||||
# to that
|
||||
#: ${YANGMODELS=$(pwd)/yang} # just skip if not set
|
||||
|
||||
# Parse yang openconfig models from https://github.com/openconfig/public
|
||||
#: ${OPENCONFIG=$(pwd)/public} # just skip if not set
|
||||
|
||||
# Standard IETF RFC yang files.
|
||||
: ${IETFRFC=../yang/mandatory}
|
||||
|
||||
# Some restconf tests can run IPv6, but its complicated because:
|
||||
# - docker by default does not run IPv6
|
||||
: ${IPv6:=false}
|
||||
|
|
@ -187,6 +176,11 @@ if [ -f ./site.sh ]; then
|
|||
done
|
||||
fi
|
||||
|
||||
# Standard IETF RFC yang files.
|
||||
if [ ! -z ${YANGMODELS} ]; then
|
||||
: ${IETFRFC=$YANGMODELS/standard/ietf/RFC}
|
||||
fi
|
||||
|
||||
# Check sanity between --with-restconf setting and if nginx is started by systemd or not
|
||||
# This check is optional because some installs, such as vagrant make a non-systemd/direct
|
||||
# start
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue