Hello there,
I am working on a network management project and have encountered some issues with YANG model compilation using ConfD. I have been following the Tail-f documentation, but I am still running into problems that I cant seem to resolve.
When I try to compile my YANG models using confdc
, I receive a series of errors that I don’t fully understand. Here are a few examples:
The ‘type’ statement refers to an unknown type Imported module not found
These errors occur despite having the necessary import statements and ensuring that all referenced modules are present in the same directory.
Verified that all imported modules are in the correct directory and are correctly referenced in the YANG models.
Checked for syntax errors in the YANG models using an online YANG validator, which reported no issues.
Consulted the ConfD user guide and relevant sections of the Tail-f documentation but couldn’t find a solution.
Are there any common pitfalls or gotchas that I might be missing when compiling YANG models with ConfD?
Also, I have gone through this post: https://discuss.tail-f.com/t/basic-questions-on-the-[tableau](https://www.igmguru.com/data-science-bi/tableau-training/)-api-to-confd/4010 which definitely helped me out a lot.
Could there be version compatibility issues with the YANG modules and ConfD version I am using?
Is there a recommended way to debug these types of errors more effectively?
Thank you in advance for your help and assistance.