frank feng

Results 9 comments of frank feng

Martin: I download Huawei yang from https://github.com/Huawei/yang/tree/master/network-router/8.20.10/ne8000-m8 And I try to compile all yang files of this dictionary, and so many errors are reported: I’m trying to modify the pyang’s...

I suggest the validation phases can be divided to 3 main phases, static_validation, process_not_supported,and reference_validation. when a pyang context is validated, all modules will execute static_validation (only tag not-supported node,don't...

I have checked it, most of errors are caused by not-supported. I will simplify it.

[yang.zip](https://github.com/mbj4668/pyang/files/7352446/yang.zip) martin: I have provide a small yang files set. please see attachment. It still has error. ./yang\huawei-pic.yang:55 Error: node huawei-devm::lpu-boards is not found

please sort the files. complie huawei - devm or huawei-devm-deviations firstly.huawei-pic should be compiled at last. ________________________________ 冯冲 Feng Chong Mobile: +86-13776612983 Email: ***@***.******@***.***> 发件人:Martin Bjorklund ***@***.***> 收件人:mbj4668/pyang ***@***.***> 抄 ...

I write a code to compile the whole directory yang files. the code will list all yang files,and I create a pyang context and call CTX.add_module for every yang file,...

I don't think so. martin. our user don't know the dependency of yang files. the same yang files will be always got the same compilation result regardless it's order. in...

martin. I don't know the order. if you require a user to know the correct order, user might need rewrite a yang parser. I think it's pyang's issue. ________________________________ 冯冲...

Should this question be reposted to NETMOD WG?