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

Recursive search CLIXON_YANG_DIR #284

Closed
pheller opened this issue Nov 3, 2021 · 2 comments
Closed

Recursive search CLIXON_YANG_DIR #284

pheller opened this issue Nov 3, 2021 · 2 comments

Comments

@pheller
Copy link
Contributor

pheller commented Nov 3, 2021

It would be convenient if Clixon recursively searched each specified CLIXON_YANG_DIR for required yang modules. The particular use case would be for OpenConfig which has a relatively broad directory hierarchy.

Not a problem to combine them in a single directory, or enumerate the list of directories with multiple instances of CLIXON_YANG_DIR, just would be more concise to use the directory as cloned from upstream and only add one configuration line to search it.

olofhagsand added a commit that referenced this issue Nov 9, 2021
Fix for issue #284, do recursive lookup when reading YANG files from directory
olofhagsand added a commit that referenced this issue Nov 10, 2021
…ANG_DIR recursively](#286)

Which was a PR for [Recursive search CLIXON_YANG_DIR](#284)
@olofhagsand
Copy link
Member

This should work now @pheller, please verify it works as intended.

@pheller
Copy link
Contributor Author

pheller commented Nov 12, 2021

Looks good, thanks.

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

No branches or pull requests

2 participants