-
Notifications
You must be signed in to change notification settings - Fork 85
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
(*yang.Entry).Find() fails to find valid schema node identifiers #87
Comments
I am testing this with sonic but , did not see this problem with openconfig-acl.yang , But I am seeing this problem with other yang file . My yang file and annotation are as below yang-version 1.1; namespace prefix if; organization contact description revision "2020-01-03" {
container interfaces-ultra {
|
The new deviation support doesn't work with remote paths for us at all. Every one of our valid deviations fail to parse.
e.g.,
This deviation is found in a module importing
openconfig-acl
with prefixoc-acl
. This is the simplest example, but we see similar issues with augmented paths (where the namespace prefix change).RFC7950 section 6.5 says that:
As deviations are typically produced by a third-party to the original module author, this is the most common use case.
If you add some test cases to the previous change which include prefixes, you should see the error message above. e.g. a basic deviation module like this;
The text was updated successfully, but these errors were encountered: