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

clixon_cli failing with error #23

Closed
ngashok opened this issue May 27, 2018 · 3 comments
Closed

clixon_cli failing with error #23

ngashok opened this issue May 27, 2018 · 3 comments

Comments

@ngashok
Copy link

ngashok commented May 27, 2018

When example is run the following error is shown up

clixon_cli -f /usr/local/etc/example.xml
May 27 22:21:31: yang_parse_recurse: 1704: Yang error: No matching item-netconf-acm yang files found (expected module name or absolute filename)

@olofhagsand
Copy link
Member

Thanks for reporting the problem.
The file ietf-netconf-acm@2018-02-14.yang should be in /usr/local/share/clixon/.
The error seems to indicate that it isnt.
Clixon should be installed via:
cd clixon; ./configure; make; sudo make install; sudo make install-include
This should install the yang file there.
Please check and see if it isn't there, or whether the instructions are wrong?

@ngashok
Copy link
Author

ngashok commented May 29, 2018

Yes this was installed as mentioned above. After copying the file ietf-netconf-acm@2018-02-14.yang to /usr/local/share/example/yang MANUALLY it worked.

olofhagsand added a commit that referenced this issue May 29, 2018
  * The example included a reference to nacm yang file which did not exist and was not used
* Added clixon-config@2018-04-30.yang
olofhagsand added a commit that referenced this issue May 29, 2018
  * The example included a reference to nacm yang file which did not exist and was not used
* Added clixon-config@2018-04-30.yang
@olofhagsand
Copy link
Member

The example included a reference to nacm yang file which did not exist and was not used

olofhagsand added a commit that referenced this issue Sep 22, 2023
Improved diff algorithm for XML and TEXT/curly, replaced UNIX diff with structural in-mem algorithm
Fixed: ["show compare" and "show compare | display cli" differs #23](clicon/clixon-controller#23)
Changed parameters of example clispec function `compare_dbs()`
Added show2cbuf functions for TEXT/CLI
Renamed clixon_txt2file to clixon_text2file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants