Subject: [Lime] lime-bfd-extension.yang in draft-wang-yang-bfd-oam-04.txt: doesn't compile

From: Benoit Claise <[email-masked]>
Date: Fri, 23 Oct 2015 14:31:04 +0200

Dear authors,

Note that your lime-bfd-extension.yang YANG model doesn't compile

_pyang produces:
_
lime-bfd-extension.yang:8: warning: imported module ietf-inet-types not used
lime-bfd-extension.yang:137: error: prefix "if" is not defined (reported 
only once)
ietf-gen-oam.yang:1: error: unexpected modulename "ietf-trill-oam" in 
ietf-gen-oam.yang, should be ietf-gen-oam

_pyang --ietf produces:_
lime-bfd-extension.yang:1: warning: RFC 6087: 4.1: no module name prefix 
used, suggest ietf-lime-bfd-extension
lime-bfd-extension.yang:1: error: RFC 6087: 4.7: statement "module" must 
have a "contact" substatement
lime-bfd-extension.yang:1: error: RFC 6087: 4.7: statement "module" must 
have a "organization" substatement
lime-bfd-extension.yang:1: error: RFC 6087: 4.7: statement "module" must 
have a "description" substatement
lime-bfd-extension.yang:8: warning: imported module ietf-inet-types not used
lime-bfd-extension.yang:14: error: RFC 6087: 4.7: statement "revision" 
must have a "reference" substatement
lime-bfd-extension.yang:78: error: RFC 6087: 4.12: statement "augment" 
must have a "description" substatement
lime-bfd-extension.yang:79: warning: RFC 6087: 4.12: statement "when" 
should have a "description" substatement
lime-bfd-extension.yang:80: error: RFC 6087: 4.12: statement "leaf" must 
have a "description" substatement
lime-bfd-extension.yang:88: error: RFC 6087: 4.12: statement "augment" 
must have a "description" substatement
lime-bfd-extension.yang:89: warning: RFC 6087: 4.12: statement "when" 
should have a "description" substatement
lime-bfd-extension.yang:102: error: RFC 6087: 4.12: statement "augment" 
must have a "description" substatement
lime-bfd-extension.yang:104: warning: RFC 6087: 4.12: statement "when" 
should have a "description" substatement
lime-bfd-extension.yang:109: error: RFC 6087: 4.12: statement "augment" 
must have a "description" substatement
lime-bfd-extension.yang:110: warning: RFC 6087: 4.12: statement "when" 
should have a "description" substatement
lime-bfd-extension.yang:127: error: RFC 6087: 4.12: statement "augment" 
must have a "description" substatement
lime-bfd-extension.yang:129: warning: RFC 6087: 4.12: statement "when" 
should have a "description" substatement
lime-bfd-extension.yang:133: error: RFC 6087: 4.12,4.14: statement 
"notification" must have a "description" substatement
lime-bfd-extension.yang:137: error: prefix "if" is not defined (reported 
only once)
ietf-gen-oam.yang:1: error: unexpected modulename "ietf-trill-oam" in 
ietf-gen-oam.yang, should be ietf-gen-oam

Note that I compile all YANG models extracted from drafts at 
http://www.claise.be/IETFYANGPageCompilation.html

Regards, Benoit

---

From: wangzitao <[email-masked]>
Date: Mon, 26 Oct 2015 01:16:01 +0000

Thank you! We will fix it as soon as possible.

Best Regards!
-Michael

发件人: Lime [mailto:[email-masked]] 代表 Benoit Claise
发送时间: 2015年10月23日 20:31
收件人: [email-masked]
抄送: [email-masked]
主题: [Lime] lime-bfd-extension.yang in draft-wang-yang-bfd-oam-04.txt: doesn't compile

Dear authors,

pyang produces:

lime-bfd-extension.yang:8: warning: imported module ietf-inet-types not used
lime-bfd-extension.yang:137: error: prefix "if" is not defined (reported only once)
ietf-gen-oam.yang:1: error: unexpected modulename "ietf-trill-oam" in ietf-gen-oam.yang, should be ietf-gen-oam

pyang --ietf produces:
lime-bfd-extension.yang:1: warning: RFC 6087: 4.1: no module name prefix used, suggest ietf-lime-bfd-extension
lime-bfd-extension.yang:1: error: RFC 6087: 4.7: statement "module" must have a "contact" substatement
lime-bfd-extension.yang:1: error: RFC 6087: 4.7: statement "module" must have a "organization" substatement
lime-bfd-extension.yang:1: error: RFC 6087: 4.7: statement "module" must have a "description" substatement
lime-bfd-extension.yang:8: warning: imported module ietf-inet-types not used
lime-bfd-extension.yang:14: error: RFC 6087: 4.7: statement "revision" must have a "reference" substatement
lime-bfd-extension.yang:78: error: RFC 6087: 4.12: statement "augment" must have a "description" substatement
lime-bfd-extension.yang:79: warning: RFC 6087: 4.12: statement "when" should have a "description" substatement
lime-bfd-extension.yang:80: error: RFC 6087: 4.12: statement "leaf" must have a "description" substatement
lime-bfd-extension.yang:88: error: RFC 6087: 4.12: statement "augment" must have a "description" substatement
lime-bfd-extension.yang:89: warning: RFC 6087: 4.12: statement "when" should have a "description" substatement
lime-bfd-extension.yang:102: error: RFC 6087: 4.12: statement "augment" must have a "description" substatement
lime-bfd-extension.yang:104: warning: RFC 6087: 4.12: statement "when" should have a "description" substatement
lime-bfd-extension.yang:109: error: RFC 6087: 4.12: statement "augment" must have a "description" substatement
lime-bfd-extension.yang:110: warning: RFC 6087: 4.12: statement "when" should have a "description" substatement
lime-bfd-extension.yang:127: error: RFC 6087: 4.12: statement "augment" must have a "description" substatement
lime-bfd-extension.yang:129: warning: RFC 6087: 4.12: statement "when" should have a "description" substatement
lime-bfd-extension.yang:133: error: RFC 6087: 4.12,4.14: statement "notification" must have a "description" substatement
lime-bfd-extension.yang:137: error: prefix "if" is not defined (reported only once)
ietf-gen-oam.yang:1: error: unexpected modulename "ietf-trill-oam" in ietf-gen-oam.yang, should be ietf-gen-oam

Note that I compile all YANG models extracted from drafts at http://www.claise.be/IETFYANGPageCompilation.html

Regards, Benoit