clicon / clixon

YANG-based toolchain including NETCONF and RESTCONF interfaces and an interactive CLI
http://www.clicon.org/
Other
215 stars 72 forks source link

Recursive search CLIXON_YANG_DIR #284

Closed pheller closed 2 years ago

pheller commented 3 years ago

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 commented 2 years ago

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

pheller commented 2 years ago

Looks good, thanks.