mbj4668 / pyang

An extensible YANG validator and converter in python
ISC License
537 stars 344 forks source link

PYANG UML tool bug? #154

Open sunseawq opened 9 years ago

sunseawq commented 9 years ago

Installed pyang 1.4.1 on windows 7,using python 2.7.9

We found the following warning flagged when run pyang uml tool. " $ pyang -f uml ietf-gen-oam.yang -o goam.uml Info: Did not find leafref target /if:interfaces-state/if:interface/if:admin-status Info: Did not find leafref target /if:interfaces-state/if:interface/if:oper-status Traceback (most recent call last): File "c:/pyang-1.4.1/bin/pyang", line 333, in run() File "c:/pyang-1.4.1/bin/pyang", line 328, in run os.rename(tmpfile, o.outfile)WindowsError: [Error 183] " admin-status and oper-status are two leaf instances of interface data tree defined in RFC7223 we are referencing in the ietf-gen-oam module. We are not sure this is PYANG UML tool bug.

svallin commented 9 years ago

Hi! Can you send me the exact YANG modules you are testing with br Stefan

On 03 Aug 2015, at 11:13, sunseawq notifications@github.com wrote:

Installed pyang 1.4.1 on windows 7,using python 2.7.9

We found the following warning flagged when run pyang uml tool. " $ pyang -f uml ietf-gen-oam.yang -o goam.uml Info: Did not find leafref target /if:interfaces-state/if:interface/if:admin-status Info: Did not find leafref target /if:interfaces-state/if:interface/if:oper-status Traceback (most recent call last): File "c:/pyang-1.4.1/bin/pyang", line 333, in run() File "c:/pyang-1.4.1/bin/pyang", line 328, in run os.rename(tmpfile, o.outfile)WindowsError: [Error 183] " admin-status and oper-status are two leaf instances of interface data tree defined in RFC7223 we are referencing in the ietf-gen-oam module. We are not sure this is PYANG UML tool bug.

— Reply to this email directly or view it on GitHub.

sunseawq commented 9 years ago

Sure, please attached.

-Qin 发件人: svallin [mailto:notifications@github.com] 发送时间: 2015年8月3日 17:19 收件人: mbj4668/pyang 抄送: Qin Wu 主题: Re: [pyang] PYANG UML tool bug? (#154)

Hi! Can you send me the exact YANG modules you are testing with br Stefan

On 03 Aug 2015, at 11:13, sunseawq notifications@github.com<mailto:notifications@github.com> wrote:

Installed pyang 1.4.1 on windows 7,using python 2.7.9

We found the following warning flagged when run pyang uml tool. " $ pyang -f uml ietf-gen-oam.yang -o goam.uml Info: Did not find leafref target /if:interfaces-state/if:interface/if:admin-status Info: Did not find leafref target /if:interfaces-state/if:interface/if:oper-status Traceback (most recent call last): File "c:/pyang-1.4.1/bin/pyang", line 333, in run() File "c:/pyang-1.4.1/bin/pyang", line 328, in run os.rename(tmpfile, o.outfile)WindowsError: [Error 183] " admin-status and oper-status are two leaf instances of interface data tree defined in RFC7223 we are referencing in the ietf-gen-oam module. We are not sure this is PYANG UML tool bug.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/mbj4668/pyang/issues/154#issuecomment-127174432.