Re: [Softwires] Issue with ietf-dslite@2017-11-15.yang and yangdump-pro

Mahesh Jethanandani <mjethanandani@gmail.com> Fri, 29 December 2017 11:25 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: softwires@ietfa.amsl.com
Delivered-To: softwires@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2E22F12D84F; Fri, 29 Dec 2017 03:25:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vmn2Um1aChOQ; Fri, 29 Dec 2017 03:24:59 -0800 (PST)
Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 569EC120726; Fri, 29 Dec 2017 03:24:59 -0800 (PST)
Received: by mail-oi0-x234.google.com with SMTP id y75so28607323oie.4; Fri, 29 Dec 2017 03:24:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:mime-version:in-reply-to:content-transfer-encoding :message-id:cc:from:subject:date:to; bh=4rPUqa6yLP9WXAM9oK6yRi46KTRcofhnYdAND1a1khs=; b=J3HHERIM9AoIxg2L/7VPGzMv6aAWxKL2JNq0fDDbsS8FI92aqxuOCDKV/IDwDIlxPJ WrdIZppOGQjCAhz1DrLwPiIV/ljugxqjqsl6uFjQjKR3d24ccO4OTfmnLttbSGex4tu1 Np8EHcA6mzF1nz1kZUUvq7g0uPDad10k1MygEFPR6g+9rtihlenvjaNuQm2I/j68EsS9 +gWSIuibGnLQUkkeMPoU2xH88S7xNeHGyCN4CA7McQuEy6nBb/UiPvPotoO1mQbQuY1d ZwDbCTnMMec4V/0MFptnhxVWDCX9q7xKkCDIOnL7kM0ApSjo3M1Cxck5CVFqE7KJagy9 SiEw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:mime-version:in-reply-to :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=4rPUqa6yLP9WXAM9oK6yRi46KTRcofhnYdAND1a1khs=; b=X0uq3yyqgwZlp0fChPWTl6ZmoqpIenv9oNAi+2wI2px5iXxPn6wyPaOqBt7aQoIyDS /opafQvnz6Upfdt4tuDGm59IorMb04JwEKlHP1u3tZYSfY9ShRanDlbhqj4cpvH9rVaD KYIZWQnWC2IYszw3RNSjCG46Ecqp4eU8zKXkh+6Ic2ku0HAXsDUA/O6agbPEBWGMzFuR 6Nx1XW4ipf/GBU2Bc9xnSNSQsZkoA+Zr88VLUBcoVgQgEasTpA/wIjnmClT2s+MQDfQY WREi9hnTbgK2EBuceLEA7tUHHPfZjT/xSDP8xLvunx0Ig/MjNCPKd9BWVJjOom2kRB6M YO3Q==
X-Gm-Message-State: AKGB3mJKya4TiCfFXUDl7rup85a7X87hv1S3JnHqwNHn43UWaJP9UOtn gyk6mpWXzDTP6tnynfaRzshV3rnK
X-Google-Smtp-Source: ACJfBoueYZ8878Wvq3hFlFRO1Js3zqLO0zpNqDSmBue0ga8FO93hWEIqZuHiw3j0i3IBCSXdm6t1cg==
X-Received: by 10.202.194.67 with SMTP id s64mr25895427oif.182.1514546698516; Fri, 29 Dec 2017 03:24:58 -0800 (PST)
Received: from [172.20.10.2] ([172.56.7.255]) by smtp.gmail.com with ESMTPSA id r33sm18448174otr.58.2017.12.29.03.24.55 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Dec 2017 03:24:56 -0800 (PST)
References: <10bf60a6-84bb-af3d-1789-09ca02794f46@cisco.com> <CABCOCHQkjNSte2ONpT4zRzbEzNtm7sUtEd9TwPcmoe_nz09fJA@mail.gmail.com> <787AE7BB302AE849A7480A190F8B93300A07D70F@OPEXCLILMA3.corporate.adroot.infra.ftgroup> <2afbabf4-2538-ed09-1bd5-419c7f984e0c@cisco.com>
Mime-Version: 1.0 (1.0)
In-Reply-To: <2afbabf4-2538-ed09-1bd5-419c7f984e0c@cisco.com>
Content-Type: multipart/alternative; boundary="Apple-Mail-161534C0-B8AA-4F30-B042-DB01B07697E7"
Content-Transfer-Encoding: 7bit
Message-Id: <ADD62C12-6BE7-4ACA-BE05-CB2FC4463C70@gmail.com>
Cc: mohamed.boucadair@orange.com, Andy Bierman <andy@yumaworks.com>, "draft-ietf-softwire-dslite-yang@ietf.org" <draft-ietf-softwire-dslite-yang@ietf.org>, "softwires@ietf.org" <softwires@ietf.org>
X-Mailer: iPad Mail (13G36)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Date: Fri, 29 Dec 2017 08:24:29 -0300
To: Benoit Claise <bclaise@cisco.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/softwires/fEsuiwE3MHbA6ByBM7w1J-CsvC0>
Subject: Re: [Softwires] Issue with ietf-dslite@2017-11-15.yang and yangdump-pro
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/softwires>, <mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/softwires/>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/softwires>, <mailto:softwires-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Dec 2017 11:25:02 -0000

Hi Benoit,

I do not know if it is me only, but the link that the e-mail points to is for -12 version of the draft which has a PASSED status on the page. The error you are seeing is with -14 version of the model, and I cannot see what the error is. Could you update the page with the -14 run?

Thanks.

Mahesh Jethanandani
mjethanandani@gmail.com

p.s. I do not have access to a computer to download the model and compile it myself.

> On Dec 27, 2017, at 11:29 AM, Benoit Claise <bclaise@cisco.com> wrote:
> 
> Hi Med,
> 
> Thanks.
> With the latest yangdump-pro, there is a new error for ietf-softwire-ce@2017-11-14.yang
> See http://www.claise.be/IETFYANGPageCompilation.html
> 
> Regards, B.
>> 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:andy@yumaworks.com] 
>> Envoyé : samedi 18 novembre 2017 22:23
>> À : Benoit Claise
>> Cc : draft-ietf-softwire-dslite-yang@ietf.org; Mahesh Jethanandani
>> Objet : Re: Issue with ietf-dslite@2017-11-15.yang 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 ietf-dslite@2017-11-15.yang and ietf-nat@2017-11-15.yang
>>  
>> When I change 'natp44' to 'nat:natp44' in both when-stmts:
>>  
>> andy@andy-homedev:~/Desktop/FD1289/IETF$ yangdump-pro ietf-dslite@2017-11-15.yang modpath=.
>>  
>> *** /home/andy/Desktop/FD1289/IETF/ietf-dslite@2017-11-15.yang
>> *** 0 Errors, 0 Warnings
>>  
>> andy@andy-homedev:~/Desktop/FD1289/IETF$ 
>>  
>>  
>> Andy
>>  
>>  
>> On Sat, Nov 18, 2017 at 11:07 AM, Benoit Claise <bclaise@cisco.com> wrote:
>> Hi Andy,
>> 
>> Can you please have a look at ietf-dslite@2017-11-15.yang 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
>> 
>