Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No yang files found matching "ietf-ip" in the list of CLICON_YANG_DIRs #458

Open
lxuechao opened this issue Oct 23, 2023 · 2 comments
Open
Labels

Comments

@lxuechao
Copy link

hello ,

I tried to hold onto it ./test_leafref.sh test script encountered this issue, and I found it in/clixon-6.3.0/example/main/ clixon-example@2020-12-01.yang Found ietf ip in, but executing make example install seems to have not been installed

<CLICON_YANG_DIR>${YANG_INSTALLDIR}</CLICON_YANG_DIR>
<CLICON_YANG_DIR>$IETFRFC</CLICON_YANG_DIR>
I printed the values for these two, which are /usr/local/share/clixon and /usr/local/share/yang/standard/ietf/RFC, respectively

sudo ./test_leafref.sh
Running test_leafref.sh
Test 1(1) [test params: -f /var/tmp/./test_leafref.sh/conf_yang.xml]
Test 2(2) [kill old backend]
Test 3(3) [start backend -s init -f /var/tmp/./test_leafref.sh/conf_yang.xml]
Oct 23 01:32:25: yang_parse_module: 1123: Yang error: No yang files found matching "ietf-ip" in the list of CLICON_YANG_DIRs when loading example.yang: No such file or directory
Oct 23 01:32:25: clixon_backend: 89656 Terminated retval:-1

Error in Test3 [start backend -s init -f /var/tmp/./test_leafref.sh/conf_yang.xml]:

@lxuechao
Copy link
Author

I checked and it seems that there is no second directory. Does this have any impact? If so, how do I get this directory?
ls /usr/local/share/yang/standard/ietf/RFC
ls: cannot access '/usr/local/share/yang/standard/ietf/RFC': No such file or directory

@olofhagsand
Copy link
Member

I think the info you are looking for is here:
https://github.com/clicon/clixon/blob/master/test/README.md#openconfig-and-yang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants