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

sysrepoctl YANG parse issue #3270

Closed
awesomenode opened this issue Apr 16, 2024 · 1 comment
Closed

sysrepoctl YANG parse issue #3270

awesomenode opened this issue Apr 16, 2024 · 1 comment
Labels
is:bug Bug description. status:completed From the developer perspective, the issue was solved (bug fixed, question answered,...)

Comments

@awesomenode
Copy link

Hi!

I've noticed when installing a YANG module with a specific pattern to
sysrepo, it broke the context. Any further sysrepoctl command failed
with:

[ERR] Invalid identifier first character '.' (0x002e). (path "/")
[ERR] Parsing module "test" failed.
[ERR] Loading "test" module failed. (path "/")
sysrepoctl error: Failed to connect (libyang error)

Although it seems like a libyang error, I've produced it with
sysrepoctl, that's why I opened the issue here.

I've attached the relevant module.
test_yang.zip

Thanks!

@michalvasko
Copy link
Collaborator

That is some pattern. Should work now but it will change the string formatting, NBC changes would be required to store the string exactly as it is in the input.

@michalvasko michalvasko added is:bug Bug description. status:completed From the developer perspective, the issue was solved (bug fixed, question answered,...) labels Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:bug Bug description. status:completed From the developer perspective, the issue was solved (bug fixed, question answered,...)
Projects
None yet
Development

No branches or pull requests

2 participants