[Yang-multicast] Move to yanglint -i : Updated draft-ietf-pim-yang-09

Benoit Claise <bclaise@cisco.com> Thu, 05 October 2017 10:50 UTC

Return-Path: <bclaise@cisco.com>
X-Original-To: yang-multicast@ietfa.amsl.com
Delivered-To: yang-multicast@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3E603134226 for <yang-multicast@ietfa.amsl.com>; Thu, 5 Oct 2017 03:50:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.489
X-Spam-Level:
X-Spam-Status: No, score=-14.489 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 T5U-QdCIg-4N for <yang-multicast@ietfa.amsl.com>; Thu, 5 Oct 2017 03:50:05 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C063A126C0F for <yang-multicast@ietf.org>; Thu, 5 Oct 2017 03:50:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=12404; q=dns/txt; s=iport; t=1507200604; x=1508410204; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to; bh=Ot0g8FsrjMX8Ap4rlDqgoEkxIoPGszR3f4beVj6VTD4=; b=AiAJzpOU0hK1/YiNSvOjms6tz6ORDcAT8iVkpHtiomnfSEXXE2SMzFeV Ky9ZdDwh+S04Y5A3/x2/P42uFsNq2t1N8wIRYslhNG4LE0uLaM4V0qpR5 8AsWYcaxwSd+W84kMiLc+XterfmzBooiIhFiMA13z8YjgQby3AFwmfXp3 Q=;
X-IronPort-AV: E=Sophos;i="5.42,481,1500940800"; d="scan'208,217";a="655242318"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Oct 2017 10:50:03 +0000
Received: from [10.55.221.36] (ams-bclaise-nitro3.cisco.com [10.55.221.36]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id v95Ao2lY009635; Thu, 5 Oct 2017 10:50:02 GMT
To: Xufeng Liu <Xufeng_Liu@jabil.com>, "Stig Venaas (svenaas)" <stig@cisco.com>, Liuyisong <liuyisong@huawei.com>, "yang-multicast@ietf.org" <yang-multicast@ietf.org>
Cc: Stig Venaas <stig@venaas.com>, Guofeng <guofeng@huawei.com>
References: <BN3PR0201MB0867E22586959F42CA00D28FF1660@BN3PR0201MB0867.namprd02.prod.outlook.com> <070976c0-ac0b-7021-6f9a-e6496e8d1147@cisco.com> <BN3PR0201MB0867A8EC07B0E26F600F5808F17F0@BN3PR0201MB0867.namprd02.prod.outlook.com> <c7b56b1e-4915-7fad-603c-4287d5dcb355@cisco.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <36a0e1b2-aac2-fa27-8515-2535821e639e@cisco.com>
Date: Thu, 05 Oct 2017 12:50:02 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <c7b56b1e-4915-7fad-603c-4287d5dcb355@cisco.com>
Content-Type: multipart/alternative; boundary="------------B2CC8E5E391A28CDD1E38220"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-multicast/C_HAxiIoX5UoVCp9Mb_FU1lsnKI>
Subject: [Yang-multicast] Move to yanglint -i : Updated draft-ietf-pim-yang-09
X-BeenThere: yang-multicast@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: YANG Multicast <yang-multicast.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-multicast>, <mailto:yang-multicast-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-multicast/>
List-Post: <mailto:yang-multicast@ietf.org>
List-Help: <mailto:yang-multicast-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-multicast>, <mailto:yang-multicast-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Oct 2017 10:50:08 -0000

Dear all,

I implemented yanglint -i part of my daily scripts.
       -i, --allimplemented  Make all the imported modules implemented.

That improved the validation stats significantly 
<http://claise.be/IETFYANGPageCompilation.png>.
     24 YANG modules now passes validation.

I thought I would let you know

Regards, Benoit
> Xufeng,
>
> I updated yanglint to the latest version this morning and the message 
> is now clearer.
> From the tool developer:
>
>     the most recent version of libyang (0.13.73) should have improved
>     XPath warnings including a specific message when an identityref
>     value was found in a non-implemented module for easier fixing of
>     such problems.
>
> See http://www.claise.be/IETFYANGPageCompilation.html
>
> I checked that all your YANG modules passes with yanglint -i
> So there are no more errors related to your YANG modules. :-)
>
> Regards, Benoit
>
>
>> Hi Benoit,
>>
>> We have fixed the warnings from yumadump-pro, but the latest version 
>> of yanglint is enforcing some rules that are not clear to us, so the 
>> yanglint warnings have not been cleared. It would be good to get more 
>> information from the tool’s owner.
>>
>> Thanks,
>>
>> - Xufeng
>>
>> *From:*Benoit Claise [mailto:bclaise@cisco.com]
>> *Sent:* Wednesday, September 27, 2017 8:22 AM
>> *To:* Xufeng Liu <Xufeng_Liu@jabil.com>; Stig Venaas (svenaas) 
>> <stig@cisco.com>; Liuyisong <liuyisong@huawei.com>; 
>> yang-multicast@ietf.org
>> *Cc:* Stig Venaas <stig@venaas.com>; Guofeng <guofeng@huawei.com>
>> *Subject:* Re: [Yang-multicast] Updated draft-ietf-pim-yang-09
>>
>> Hi Xufeng,
>>
>> It still see some warnings, coming from yumadump-pro and yanglint
>> http://www.claise.be/IETFYANGPageCompilation.html
>> Can you please have a look.
>>
>> Regards, Benoit
>>
>>     Hi All,
>>
>>     Attached please find the planned draft-ietf-pim-yang-09, which has been updated to be NMDA compliant. Please review and provide comments. If no objections, I'd submit it on Monday.
>>
>>     The draft, model files, and tree views have been checked in to the Github:
>>
>>     https://github.com/mcallisterjp/pim-yang
>>
>>     Thanks,
>>
>>     - Xufeng
>>
>>
>>
>>
>>     _______________________________________________
>>
>>     Yang-multicast mailing list
>>
>>     Yang-multicast@ietf.org <mailto:Yang-multicast@ietf.org>
>>
>>     https://www.ietf.org/mailman/listinfo/yang-multicast
>>
>