Fix for issue #284, do recursive lookup when reading YANG files from directory.

This commit is contained in:
Kristofer Hallin 2021-11-08 20:04:35 +01:00
parent 063e6d6faa
commit 057abe56e0
No known key found for this signature in database
GPG key ID: 5A2B21943DE5C500
50 changed files with 181 additions and 84 deletions

View file

@ -17,7 +17,7 @@ cat <<EOF > $cfg
<clixon-config xmlns="http://clicon.org/config">
<CLICON_CONFIGFILE>$cfg</CLICON_CONFIGFILE>
<CLICON_YANG_DIR>/usr/local/share/clixon</CLICON_YANG_DIR>
<CLICON_YANG_DIR>$dir</CLICON_YANG_DIR>
<CLICON_YANG_DIR>$dir_tmp</CLICON_YANG_DIR>
<CLICON_YANG_DIR>$IETFRFC</CLICON_YANG_DIR>
<CLICON_YANG_MAIN_FILE>$fyang</CLICON_YANG_MAIN_FILE>
<CLICON_CLISPEC_DIR>/usr/local/lib/$APPNAME/clispec</CLICON_CLISPEC_DIR>