Re: [netmod] ID submission YANG validation errors?

Benoit Claise <bclaise@cisco.com> Thu, 23 January 2020 16:42 UTC

Return-Path: <bclaise@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 64225120903 for <netmod@ietfa.amsl.com>; Thu, 23 Jan 2020 08:42:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, 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 4aAwZ63wbu-S for <netmod@ietfa.amsl.com>; Thu, 23 Jan 2020 08:42:12 -0800 (PST)
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 15C431208FF for <netmod@ietf.org>; Thu, 23 Jan 2020 08:42:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1303; q=dns/txt; s=iport; t=1579797732; x=1581007332; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=trenJJP/M0075uyClC+WejXL61rEpWw+JZ2++whbN/4=; b=FtddQBN9rVQOO4oa0W58+oWBfKd4DAj/6cCN1XVb1b5kVXlZ6Rqc2YTi a/RdyAQ0lqPWYAzqk2UnslQh4ZCCMK7bStMMZoDWa9Nq5nYiYLoFK0aeM IMnhMW2azcK2K40j0U1f7Nz9u+DLeDO4UyXB1IFKMIKxJIp7Vcm+5f0pI o=;
X-IronPort-AV: E=Sophos;i="5.70,354,1574121600"; d="scan'208";a="22482519"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 23 Jan 2020 16:42:10 +0000
Received: from [10.55.221.36] (ams-bclaise-nitro3.cisco.com [10.55.221.36]) (authenticated bits=0) by aer-core-2.cisco.com (8.15.2/8.15.2) with ESMTPSA id 00NGg8D1025997 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NO); Thu, 23 Jan 2020 16:42:10 GMT
To: "Acee Lindem (acee)" <acee@cisco.com>, Christian Hopps <chopps@chopps.org>, "netmod@ietf.org" <netmod@ietf.org>, miroslav.kovac@pantheon.tech
References: <sa6h80nmu4v.fsf@stubbs.int.chopps.org> <FBA5BC7A-71B6-43F6-8579-766C5612DE4E@cisco.com>
Cc: Henrik Levkowetz <henrik@levkowetz.com>, Robert Sparks <rjsparks@nostrum.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <5ef95923-8b53-5165-6d7c-218c9064cde6@cisco.com>
Date: Thu, 23 Jan 2020 17:42:08 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <FBA5BC7A-71B6-43F6-8579-766C5612DE4E@cisco.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Authenticated-User: bclaise
X-Outbound-SMTP-Client: 10.55.221.36, ams-bclaise-nitro3.cisco.com
X-Outbound-Node: aer-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/NVXTWQn0-oLgNWkm4L1WBa5UvWo>
Subject: Re: [netmod] ID submission YANG validation errors?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jan 2020 16:42:15 -0000

Fixed, thanks to Miroslav, in cc.
Yangvalidator is working now, and correctly saying that there are no 
errors.
Datatracker is still not using the yangvalidator API to validate modules 
and therefore it is saying that there are errors.
This task is on our todo list.

If you find more issues like the one below, open an issue:
https://github.com/YangCatalog
(or https://github.com/YangCatalog/bottle-yang-extractor-validator)

Regards, Benoit
> Also, the YANG validator tool is broken - https://www.yangcatalog.org/yangvalidator/
>
> On 1/22/20, 9:41 AM, "netmod on behalf of Christian Hopps" <netmod-bounces@ietf.org on behalf of chopps@chopps.org> wrote:
>
>      
>      I've just submitted a YANG module draft and received what i think to be a bogus validation error:
>      
>        https://datatracker.ietf.org/doc/draft-ietf-lsr-yang-isis-reverse-metric/
>      
>      It's saying it can't find the ietf-isis module. Has anyone else experienced this issue with referencing draft modules? It seems broken that we can't refer to works-in-progress, inside our works-in-progress.
>      
>      Thanks,
>      Chris.
>      
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod