Subject: Re: [Softwires] Issue with [email-masked] and yangdump-pro

From: <[email-masked]>
Date: Mon, 20 Nov 2017 13:31:29 +0000

Hi Andy, Benoit,

Thank you for investigating this.

A new version which fixes this issue is available online. A diff is available at: https://www.ietf.org/rfcdiff?url2=draft-ietf-softwire-dslite-yang-11

Cheers,
Med

De : Andy Bierman [mailto:[email-masked]]
Envoyé : samedi 18 novembre 2017 22:23
À : Benoit Claise
Cc : [email-masked]; Mahesh Jethanandani
Objet : Re: Issue with [email-masked] and yangdump-pro

Hi,

yangdump-pro is correct. Every other compiler missed it...

9.10.2.  The identityref's "base" Statement

   The "base" statement, which is a substatement to the "type"

   statement, MUST be present at least once if the type is

   "identityref".  The argument is the name of an identity, as defined

   by an "identity" statement.  If a prefix is present on the identity

   name, it refers to an identity defined in the module that was

   imported with that prefix.  Otherwise, an identity with the matching

   name MUST be defined in the current module or an included submodule.

Using [email-masked]<mailto:[email-masked]> and [email-masked]<mailto:[email-masked]>

When I change 'natp44' to 'nat:natp44' in both when-stmts:

andy@andy-homedev:~/Desktop/FD1289/IETF$ yangdump-pro [email-masked]<mailto:[email-masked]> modpath=.

*** /home/andy/Desktop/FD1289/IETF/[email-masked]<mailto:/home/andy/Desktop/FD1289/IETF/[email-masked]>
*** 0 Errors, 0 Warnings

andy@andy-homedev:~/Desktop/FD1289/IETF$

Andy

On Sat, Nov 18, 2017 at 11:07 AM, Benoit Claise <[email-masked]<mailto:[email-masked]>> wrote:
Hi Andy,

Can you please have a look at [email-masked]<mailto:[email-masked]> at http://www.claise.be/IETFYANGPageCompilation.html .
yangdump-pro reports a new error, while the other validators are fine.

Copying Mahesh, as YANG doctor.

Regards, Benoit