Re: [netmod] WGLC on draft-ietf-netmod-rfc6991-bis-11

Martin Björklund <mbj+ietf@4668.se> Tue, 08 March 2022 10:21 UTC

Return-Path: <mbj+ietf@4668.se>
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 A60CB3A0780 for <netmod@ietfa.amsl.com>; Tue, 8 Mar 2022 02:21:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=4668.se header.b=FCr4Lgqd; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=JE40or/i
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 LX0vMwAM5Wxq for <netmod@ietfa.amsl.com>; Tue, 8 Mar 2022 02:21:09 -0800 (PST)
Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 689C33A05F0 for <netmod@ietf.org>; Tue, 8 Mar 2022 02:21:03 -0800 (PST)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id D573F3200E5F; Tue, 8 Mar 2022 05:21:00 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 08 Mar 2022 05:21:01 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=4668.se; h=cc:cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; bh=nfGUYG81bb5gGo DS3AZ2MSNw8eebtfcDx+jsqybIcBc=; b=FCr4Lgqdg+0nFLNhi6nDY/ELmJ/KPo kDDMqstXQs8VjYA4uJxZnqsyAsH31AJIlKOa1Qbmqj9tOnhNfcpsuFarLjyJzf3C ip//hvhsVLBw7I9IjuXqTmQ6SBa3Oua9TR/lxlCyrCpPkakawAPF714t+KXOQnKT KHq2jioHfXj7bVYoNDd4hqcoblyXcvPZlUQ5lOmIaKxa5DJHGXF/wj5HUhLaaV6o dOQQt6tUo8CQSPL+jH6c6n4mjKq1NqzkD4AEwBeFc2oMw3N4vQBAiZoiubv0WY5X UfwOGqu/Peb87kfgZ59iTKgPkHi7NtjtcG25VeHbz7e5b+y0f6c5tH9w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=nfGUYG81bb5gGoDS3AZ2MSNw8eebtfcDx+jsqybIc Bc=; b=JE40or/iq1kVAvd9ZUrTeoaz4hbLVxV5lJ93hQScq2APFU07ryW0qeEZ5 7rbbmiBFxL5NChkvCp3q4SNQaFjGC3bkBfTIU4DgHTeAH1YasYIxHuTKAAmSpOqo Kbij2Jab3jzh6KQ2SEimFVZgDe6+oNsxtqn9IrsMWDhbA2co/5Or6XXVUeNNnB5W GeQcM2HaHjy/c6LAr5RXY2U+A/VPBGVnPgTnbYAqD6lzW/8w2XG5/JHZhprzTPZ3 fgdVM8V+ocn9fg8Er1vfNkHfIu93WYd6DNXENqiDccKhcMCFfBbS1PhDn/cDb2/7 XzclB2NnUgnlGT8x3QWHbIB6Z5OPA==
X-ME-Sender: <xms:Cy4nYk3s5pn6P_IRokUbCYiVqxw4vnOkPGsrKkTOXEElHzbLyy5N4A> <xme:Cy4nYvHmkeQ7ziTWvSjfxxGChcUrmkeecdN51ayd_7q_j2HJmkarjjhq2zXyCIwVo ci2bm9xOcgej01rBP4>
X-ME-Received: <xmr:Cy4nYs4yKEPAWXelVgYJwZZfUVcfpLvvpHaMjle1rl7tuYBfiBc9pX1B2EVNH-JaFg42SaAzzcF0rXuHmgNqkL1fKiNPaAENGg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudduiedgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffkffvuffhjghfofggtgfgsehtqh ertdertddunecuhfhrohhmpeforghrthhinhcuuehjnphrkhhluhhnugcuoehmsghjodhi vghtfhesgeeiieekrdhsvgeqnecuggftrfgrthhtvghrnhepkeelvefhvedtuddvhfduvd dvfeduvdeufedtgfehleegffejieetleffiefgteejnecuffhomhgrihhnpehjrggtohgs shdquhhnihhvvghrshhithihrdguvgenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehmsghjodhivghtfhesgeeiieekrdhsvg
X-ME-Proxy: <xmx:Cy4nYt0hjnRp-rNt1RZR-eAjduu0VrM1ynsXJQeZua3Rx4NjUzwhOA> <xmx:Cy4nYnG98GwSaOiKe_MVkS_cH-7vFYOZfdM0AC2oFUJ5Vlktq9HY-A> <xmx:Cy4nYm_Lxs9BB64Y-CODLA-FrdowlnMZkQ0XcznbXtmMm1YyavUgqQ> <xmx:DC4nYtOropDjwNlc4i0vI5xUXxYgRW31KcjILqyjtsoZol3LtdogCQ>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Mar 2022 05:20:59 -0500 (EST)
Date: Tue, 08 Mar 2022 11:20:57 +0100
Message-Id: <20220308.112057.1061584807956330336.id@4668.se>
To: j.schoenwaelder@jacobs-university.de
Cc: kent+ietf@watsen.net, netmod@ietf.org
From: Martin Björklund <mbj+ietf@4668.se>
In-Reply-To: <20220308090156.4pmggby2jvew25ll@anna>
References: <20220307161053.old2vgmopuyhxvla@anna> <20220308.095223.147674740748964741.id@4668.se> <20220308090156.4pmggby2jvew25ll@anna>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ZeojkSnTpzc3dRBxfoNIaPpJbfw>
Subject: Re: [netmod] WGLC on draft-ietf-netmod-rfc6991-bis-11
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: Tue, 08 Mar 2022 10:21:15 -0000

Hi,

You didn't answer my first question about what we actually mean - do
we mean the "URI"


I agree with you re the problem with pattern in this case.

The simplest pattern would be:

      pattern "[a-z][a-z0-9+.-]*:.*"; // matches the mandatory scheme

but I think you will say that either we have a complete correct
pattern, or no pattern at all ;-)


/martin


Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de> wrote:
> Martin,
> 
> the problem is finding a pattern that is guaranteed to not exclude
> anything valid and which is simple enough to be understood and put in
> a YANG module. People on the Internet tried to literally capture the
> ABNF rules of RFC 3986 leading to regular expression monsters.
> 
> I am open for concrete suggestions. ;-)
> 
> /js
> 
> On Tue, Mar 08, 2022 at 09:52:23AM +0100, Martin Björklund wrote:
> > Hi,
> > 
> > While reviewing draft-ietf-opsawg-sap-02, I had to study the type
> > inet:uri again.
> > 
> > I assume that the type "uri" is supposed to mean the type that is
> > defined by the ABNF rule "URI" in RFC 3986.  If my assumption is
> > correct I think we should make this clear in 6991bis.  If my
> > assumption is not correct, then we definitely should add some text
> > that describes what is meant.
> > 
> > Since (?) inet:uri is defined simply as "string" w/o any pattern, some
> > RFCs have been published with URIs such as "D1" and "1-0-1" (RFC
> > 8345).
> > 
> > 
> > 
> > /martin
> 
> -- 
> Jürgen Schönwälder              Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>