Closed sbarguil closed 3 years ago
I believe this is a problem caused by the YANG file being edited under Windows.
You could try the following command first, and then re-run your pyang:
dos2unix -o ethernet-container-2-0.yang
It worked for me.
pyang -f tree ethernet-container-2-0.yang ethernet-container-2-0.yang:9: error: module "core-model-1-4" not found in search path module: ethernet-container-2-0
In EthernetContainer_2.0.0-tsp.191123.1240+yang.1, only ethernet-container-2-0.yang found. No core-model.yang found.
The core-model-1-4.yang model is under the core repository.
Issue resolved. Able to compile YANG using pyang. Thanks.
YANG has already been corrected. Existing implementations are basing on the corrected YANG.
Decision on the 5G-xhaul call on 21st of April: Just closing the issue
There are errors in Yang File. Not able to compile it using pyang.