Re: [netmod] YANG 'when' with absolute path

Robert Varga <nite@hq.sk> Wed, 02 February 2022 00:01 UTC

Return-Path: <nite@hq.sk>
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 8BD033A16E7; Tue, 1 Feb 2022 16:01:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.814
X-Spam-Level:
X-Spam-Status: No, score=-2.814 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.714, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=hq.sk
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 X36-LNSRYSwa; Tue, 1 Feb 2022 16:01:03 -0800 (PST)
Received: from mail.hq.sk (hq.sk [81.89.59.181]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3695F3A16E8; Tue, 1 Feb 2022 16:01:00 -0800 (PST)
Received: from [192.168.1.147] (chello085216197060.chello.sk [85.216.197.60]) by mail.hq.sk (Postfix) with ESMTPSA id A8F91246E56; Wed, 2 Feb 2022 01:00:56 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hq.sk; s=mail; t=1643760056; bh=LczkrEXYRkSKwzRvKyDaqeb/26xgNE5YXwuPfLevfmc=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=QjVKbAh/4myOuQllIjpqrYpSEHNFWe3vgZqzHX3FkQjb9dYQJMBNA2xKe3L3uX0dK MuZpAkIzW/9fXY9NiZzk+O9zkvY8n5EUT7HkYOH7QU3u95BzRBR5FriiVi1hFGDXMB Nee28bBqiEc5a2/YVjU9MIGp941/As822/+daHdQ=
Message-ID: <b9ed9eba-0ff9-1510-e0f5-6d73869e84e8@hq.sk>
Date: Wed, 02 Feb 2022 01:00:55 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0
Content-Language: en-US
To: Italo Busi <Italo.Busi=40huawei.com@dmarc.ietf.org>, 'Michal Vaško' <mvasko@cesnet.cz>, "netmod@ietf.org" <netmod@ietf.org>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
Cc: "'draft-ietf-ccamp-flexigrid-yang@ietf.org'" <draft-ietf-ccamp-flexigrid-yang@ietf.org>
References: <010ba32d4f934498be4a032b864a65bc@huawei.com> <49b-61e66700-61-555dec00@38936218> <150e7ecee5d24bbb9ddc77cf7c71929d@huawei.com>
From: Robert Varga <nite@hq.sk>
In-Reply-To: <150e7ecee5d24bbb9ddc77cf7c71929d@huawei.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="------------yeZ4G35tPxO6h4L0Kcc0hHXw"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/HgEW08KZ1VCj2hmabeSfuVCFSPI>
Subject: Re: [netmod] YANG 'when' with absolute path
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: Wed, 02 Feb 2022 00:01:09 -0000

On 28/01/2022 12:12, Italo Busi wrote:
> The YANG code is correct (at least it passes pyang validation) but it fails yanglint validation just because yanglint does not support axes, so we expect that as soon as we upload the updated draft, the IETF datatracker will signal yang validation errors
> 
> Is there any guideline/suggestion from Netmod WG and YANG doctors on how to deal with such a case?

I do not believe a deficiency in one tool should hold back publication. 
Tools are updated more easily than SDO documents after all and one would 
hope this will create a bit of an incentive to fix the tool.

Regards,
Robert