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

How to differentiate between local referenced 'uses' statements and foreign referenced one #906

Open
noviceAnkit opened this issue May 14, 2024 · 0 comments

Comments

@noviceAnkit
Copy link

a.yang

module a {
import b {prefix b}
container x {
leaf y {
}
uses b:z-top;
}
}

b.yang

module b {
leaf z{}
}

I am working with a.yang(Generating xpath without expanding foreign 'uses' statement), how can I differentiate between the local referenced and foreign referenced 'uses' statement, like in above example, I don't want to keep xpath expanded from "uses b" because it is not locally defined and defined in some other yang file.

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

1 participant