nokia / 7x50_YangModels

Other
61 stars 19 forks source link

Circular Dependencies #2

Open manny-atx opened 2 years ago

manny-atx commented 2 years ago

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

Seeing the same thing in the 19.10r2 models.

dpnm commented 2 years ago

Same problem with 21.7

TribuneX commented 9 months ago

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

ayseguldmrblk commented 1 month ago

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.