7x50_YangModels
7x50_YangModels copied to clipboard
Circular Dependencies
Hello, when trying to use the yang models for version 20.10 I'm seeing multiple circular dependencies in the YANG files.
A few examples include:
yang/7x50_YangModels/latest_sros_20.10/nokia-conf-isa.yang:14', 'CIRCULAR_DEPENDENCY', ('module', 'nokia-conf-aaa')
yang/7x50_YangModels/latest_sros_20.10/nokia-conf-log.yang:13', 'CIRCULAR_DEPENDENCY', ('module', 'nokia-conf-python')
yang/7x50_YangModels/latest_sros_20.10/nokia-conf-router.yang:19', 'CIRCULAR_DEPENDENCY', ('module', 'nokia-conf-filter')
Seeing the same thing in the 19.10r2 models.
Same problem with 21.7
I had similar issues in the past. As far I am aware it should be fixed in newer SROS yang models > 22.x.
I recently had similar circular dependency error from libyang library for 22.10 models.
libyang.util.LibyangError: cannot load module: A circular dependency (include) for submodule "nokia-conf-aa-group".: Submodule "nokia-conf-application-assurance" parsing failed.: Including "nokia-conf-application-assurance" module into "nokia-conf-aa-group" failed.: Submodule "nokia-conf-aa-group" parsing failed.: Including "nokia-conf-aa-group" module into "nokia-conf" failed.: Module "nokia-conf" parsing failed.