7x50_YangModels icon indicating copy to clipboard operation
7x50_YangModels copied to clipboard

Circular Dependencies

Open manny-atx opened this issue 2 years ago • 4 comments

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')

manny-atx avatar Apr 04 '22 15:04 manny-atx

Seeing the same thing in the 19.10r2 models.

Enochsoul avatar May 09 '22 16:05 Enochsoul

Same problem with 21.7

dpnm avatar May 09 '22 18:05 dpnm

I had similar issues in the past. As far I am aware it should be fixed in newer SROS yang models > 22.x.

TribuneX avatar Dec 06 '23 13:12 TribuneX

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.

ayseguldmrblk avatar Jul 24 '24 13:07 ayseguldmrblk