Re: I-D Action: draft-ietf-6man-rfc6874bis-01.txt - YANG

tom petch <ietfc@btconnect.com> Sat, 09 April 2022 11:34 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A61C83A0CE2 for <ipv6@ietfa.amsl.com>; Sat, 9 Apr 2022 04:34:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_BLOCKED=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 (1024-bit key) header.d=btconnect.onmicrosoft.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 lp-GSHfFtuRV for <ipv6@ietfa.amsl.com>; Sat, 9 Apr 2022 04:34:11 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0715.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::715]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7495C3A0C27 for <ipv6@ietf.org>; Sat, 9 Apr 2022 04:34:11 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ngNY1hm2NKqd1zRm2oIW3ZmFPxRzLDhyBpb2Y8XYQ14Bzq+u8LFN8FdLxtJiftgwz0VFWlzSEq2lA3GMHVBlBDwUg7J8bNyWLw204mu183Tfcm5M17+qNRWrKf7TiR8Gf6uLCQfIMw5HMZkZHYG0RYz9aAoMcMXcyrZ6NzIQAW730//Izv8EhVRRnrktRejqACH7j6s1PDbcozagYnDNjlwvuIlFCA/kWiD2Ifcsc3u8JT238JiMK+M9B1P3GLK3YzVDBeVW0R1S5kY2TDmsk6UNY1oxh+DZSBfumk2NhUSzwv4Wc2td9KTi3ABRXj5qGkWMgjxm0mowVleWqZk/bg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Nby8hgslI8WITEuMD0ur2qoZb4za8tJiR0ENGHb3GHk=; b=T4m6yxC/ol6/bGNKkJkPmnaOCLVW9MWHO+XJvSeugHIctgTuZWZClLpcPuJZba9+eawq0PUzlMemKDs6iYJwnLzdWMCNGODae334pO8aY51Y8PdzMfjH0TNDAtzdFAHL69iWLFojhKHHK9SmSjQQ0pGeEn3OQ7p8baKDs0fUYOhseC2cx7UMXaU2EQDjayHtrPEXqdw0IUAqVzN8Gbrd+gS683gUlBqSpUjJAK/kPcTbRIk2y5+PwXP67fVMeJXkYYVl/1pS7WE5YixaA5HOG8+gKm7l2MIkDQNErJz9J0icWuziwtQe4+aLjUsH6UwDKOjuVWYZQIou6NmbnPLEbQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Nby8hgslI8WITEuMD0ur2qoZb4za8tJiR0ENGHb3GHk=; b=IX8vgrWoT163hk6wLKYV0ys1HX3YleODMuov3P1i+EzMMcQuonDc0gignaSP5+0APLSHaGGg92HjAryeT3T7FxcsoeI/9WU9GS76LFkQJ1K3kAqQjWvZDMbggcn67dYRtNI+PxYE0zPpLC3RQ2uR3H/wo8gxnEs0CKb+OeKrLeU=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by HE1PR07MB4187.eurprd07.prod.outlook.com (2603:10a6:7:98::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.13; Sat, 9 Apr 2022 11:34:06 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b1c5:beb7:ddbf:b358]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b1c5:beb7:ddbf:b358%9]) with mapi id 15.20.5164.013; Sat, 9 Apr 2022 11:34:06 +0000
From: tom petch <ietfc@btconnect.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, "ipv6@ietf.org" <ipv6@ietf.org>
Subject: Re: I-D Action: draft-ietf-6man-rfc6874bis-01.txt - YANG
Thread-Topic: I-D Action: draft-ietf-6man-rfc6874bis-01.txt - YANG
Thread-Index: AQHYTAW4e2pBIzrsYUGj3yv3ccTmuA==
Date: Sat, 09 Apr 2022 11:34:05 +0000
Message-ID: <AM7PR07MB6248BB6582F8BB4E7430D374A0E89@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <164938402532.17740.11717866110301931501@ietfa.amsl.com> <b1780128-2069-b32e-7ca5-86977c119f0c@gmail.com>
In-Reply-To: <b1780128-2069-b32e-7ca5-86977c119f0c@gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: bc2f3404-7086-4eb2-f8e5-08da1a1cdae3
x-ms-traffictypediagnostic: HE1PR07MB4187:EE_
x-microsoft-antispam-prvs: <HE1PR07MB41875B6356D23CDB8A2270D3A0E89@HE1PR07MB4187.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: qd10pKKJjukd93fSdIFMuyDwL9K/QFGrMiHdovT0xaOdGbF0ps+wJntRkONkdowSdLqCzmj8xdT9bYfDkegdPk1wDiUkJAYx7aEwVZ915XUUoFJZ+VqFI4OcLVhKizJy0OUQH6un0qGxHUfUMh03GNHP0RZ+KlaL+8RvEJA+17Cjes9pqVAcSigYA+DDp69PGYu89xX9iH2sdSxB6ojCvB8ynCFdgPWh/n0EK3PnzEXlUNE8G2RTuCfcnqirE5GqgBVoaUjKgO5vw521EOT+/9X/mjWpjKKtlc+Acba2wn+4AhPEBddC8lJ13ccpHkk40Nc1NMZOYWWGwL/OVzHUVeTXSX4kxMlvuz5/7kmd2tbUWlIRVcWCsMfgZ6IiZ3mWtuf61eLRZ2GTAR1qNsfZhRoNB3JEbEFBTDt7gtKuqRMHcdoj9Vm/grExiOmsT4gHF8alY05mtoWh5AMmfYDoAkvWW9STT65I4NuKV7dVhonrulSN+tccXRWkKoooLD9HtOnrbv38H1WaFCN/7Fp4DnZNIzOZ2D/65icUgG00TFZEQX2lbBiLkp+KXupFLlKTO7sd7x7Ku+DueMB5FnvWjsWQ8zuC0LD3PkQVA1D/91VIZAmqtz2ozFUafeRMNN1KfnujzYn+Pcj1Qy65IlbeycWGrawOiNl8btpMYs9EYgqGWRmD7AYFBRKt+X3x3oqc6nHc4Y/Lt0Fq7NZsHsFdqSsOPzswJuViVErcedTQPMkeyZiXqoTliEYxTHcLnc3Mrtpp/fKnGC9FD25aCRF/Yo5lviG0mdZ+V0Yg6ZBgeWuswkGXOStoP+SIQ4tevOxlkU1uFeuv8kmpdnUhqwYIgg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(6506007)(7696005)(53546011)(9686003)(66574015)(83380400001)(55016003)(26005)(52536014)(186003)(66476007)(8936002)(66556008)(66946007)(8676002)(64756008)(66446008)(2906002)(5660300002)(76116006)(71200400001)(508600001)(45080400002)(91956017)(110136005)(38070700005)(316002)(122000001)(82960400001)(38100700002)(33656002)(86362001)(966005); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: RxbacH+TQzYSpHiGNvfJocMdnO4ITa5H2arv8ua3RBG2TPwxoX4l5UtjfNBY9APYGaP5DLc7nI+eJ2hB38liUg1syppFlTJfZu0Vkwnk2KQaZbp5aHtapKjEAlFQHA4E8AShvjdkPI8VeOL6tTlMRcOp7dv2jl1yGJe9RhLrhFYALBYYSHt/wch9giFZlRell5/ygSlbb0vIqygaZA58SA3F0n5yO9xOEBf45R1ePvWsqs0HsQSM6Flh5aeTacgIsQN8XvD320x33YFIBhP9ckYifD68Q/0U/e63dswyDjYeR6aZfjpMF2knAHPcRfAdVhgd2DXWGCtcxs9n4azW7UL/GYAtyodb4smZ7pfMniHQQaeOXmhMiYzXSLXCjyO4YrnvmX98RjXUuk2CQhzr1RiLZLiaAtmGXqIeq73FO9H81k4qfjq1zGK6SW8yebQcm2UQ1ItUhOUFGByR9tgiM1Z6LuD5l7Dq9o3dRArWp/MDZ6p/Yf/Uu0GS/zDGaz2JqxNc4H10c6QDbegkJTOM/Z8WzgAVVO/p7Vi3udOMl3tYVbE/9P9kGG7G62FR8R7qZL+BbgR+9hgNy0N9ktCHjftCZBujPFBYP4H5FXojNpPk7g6vZzRdpRhPXARMbqzMltZbMDhaY4AX8bDRp6anrO+4MmLDK0QmWIkIDptuteqNrfyGHRcp21MEtd5NOEdUsRDaMuQLpUu8Jee8NBVnmhlHZrpvc16ALNkZcHyGzOvC+eXfLefXkBgasGxmlzCXk7uHmScRPJIvoVh7BBAOi0WUgKjeij1Oc4ur532RA5kdNnwkBsUDNAb72TnvZzsAb+iPhovsBCr0YIAoOupSD/HR2ohJv+gJWPVXMy7yku8WTC+c4jdYWa+dkveY3729JyZm7L5/oSJdFnOz6bUJVY4Z5ItXxjtUnZfEV5gVdEOQrB6wLbYkqIrq//yyKwjH+GmRAyrnlaSpsl2l1DExrrB4WP/1lhVirA0bY0M07jIPD6cpRFCfaY+scm5FJTnpHnuyoygdDFrp2m4QsZ+na/QS3l+3nGKvsvzi1eZYx2arVZK2URAjjDohUSiAatdqNEYkgjCC5DfSSe3ObOnrzpq4RoO4LcYI7eRHlg4lAU72wKb+9Ib+V+smbVnhmzrouI4ouYIHejSAskWNPEgdYRWfuEcvLpVZZcGzhozpPU520QoS2VmLk+bFEb8SnAozU/kgft7Qwb/69GfzC8eiQI0nZXzamU03j46blOQe+3fnQTSwT92R3ayRCo7tXNgvOqDLTiD9kJc6MEKZd4aJ53W6GuSKCdx3mi2e+34We/5mNTmnIbDKm7RLx8tUSqAloe0JM1DpKmQTx2LWqWeob73ONaSfJZB/Hs9e9fcN+vomawNv8QVGXCPY9H82QEGvMTdBpwLZrn0eukI0ifiOcuwMb/DtXZUEsitHfrKVzAuZEBRtft2lNsr8wN0YJOrzXg1tDbqG6xjP0SPMw+gqlsqAnM0VlgG3FivvghbzfJGHwicjSnFBBUS0Nl/Wgm7K57XjQcgCD+t0SwWEWKQ35e8qL8vIQM/QuIolWCwltis/FOj94EhoX5mzFhCJTHyHtY7BGaVCqbrOqo8UkFAGquMusFYL0N1KuZG9CBttpTt00CPVULuH4C/NUfE01buw13a4oWwBgccR+n1AocpJQXQc3KnQYfqhP310c0xzhcopSHbYHJu0D2fuvW+z7QynwdhURHA10yw61tRQzkXnDQ==
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: bc2f3404-7086-4eb2-f8e5-08da1a1cdae3
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2022 11:34:05.8551 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: nLnP86IZ9J4WZJ3/11VSRUTHbRmhpcgttd9wAFcx7DLNWvqj5EJsqQHmlzgGMqCumD4KxmWk17qwO54fiGvo9g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4187
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/EwmW0F5LdxuedFlBrWzQ1Lw4xdI>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Apr 2022 11:34:15 -0000

Top posting and tweaking the subject slightly for a different slant on zone ...

The YANG data modelling language defines types - int, string, ... - and allows derived types based on them which RFC6021 does to define such as gauge, counter, URI .. and ip-address.  This last was defined as a string with a regex that allowed for an optional zone.  This was seen as too limiting so rfc6021bis, i.e. RFC6991, added variants such as ip-address-no-zone.

Now an rfc6991bis has passed WG LC and was about to go forward when the comment was made that the identifier 'ip-address' misleads authors, who take it as literal, and should be redefined to exclude the optional zone. Certainly reviewers of YANG modules, such as YANG doctors, know well that when it is pointed out to the author that 'ip-address' allows for a zone, then most, but not all, authors switch to the no-zone type.

Such a change breaks the backwards compatibility rules of RFC7950 and will break any YANG module whose author has read the documentation and has used 'ip-address' because
the zone is required.  Such modules exist.

By contrast, I have seen no reference to the existing formulation causing problems.  It could, with a server or client inserting a zone which the client or server does not expect and cannot interwork with.   Such a failure is, at present, hypothetical.

The discussion on this started on the LSR WG list and is now also on the NETMOD WG list with a Subject:  of Re: I-D Action: draft-ietf-lsr-ospfv3-extended-lsa-yang-10.txt.  The AD has indicated that he thinks the change should be made.

Isn't it fun how after all these decades IPv6 can still generate discussion on such issues?

Tom Petch
 
From: ipv6 <ipv6-bounces@ietf.org> on behalf of Brian E Carpenter <brian.e.carpenter@gmail.com>
Sent: 08 April 2022 03:29
To: ipv6@ietf.org
Subject: Re: I-D Action: draft-ietf-6man-rfc6874bis-01.txt

Hi,

This version reflects comments at the IETF and on the list.
Change log:
* Extended use cases (added Microsoft WSD)
* Clarified relationship with RFC3986 language
* Allow for legacy use of RFC6874 format
* Augmented security considerations
* Editorial and reference improvements

Note that some of the text about RFC3986 that Shang Ye
suggested to remove has been retained, but modified. Further
comments about this, or any other aspect, are very welcome.

Regards
    Brian + co-authors

On 08-Apr-22 14:13, internet-drafts@ietf.org wrote:
>
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the IPv6 Maintenance WG of the IETF.
>
>          Title           : Representing IPv6 Zone Identifiers in Address Literals and Uniform Resource Identifiers
>          Authors         : Brian Carpenter
>                            Stuart Cheshire
>                            Robert M. Hinden
>       Filename        : draft-ietf-6man-rfc6874bis-01.txt
>       Pages           : 13
>       Date            : 2022-04-07
>
> Abstract:
>     This document describes how the zone identifier of an IPv6 scoped
>     address, defined as <zone_id> in the IPv6 Scoped Address Architecture
>     (RFC 4007), can be represented in a literal IPv6 address and in a
>     Uniform Resource Identifier that includes such a literal address.  It
>     updates the URI Generic Syntax and Internationalized Resource
>     Identifier specifications (RFC 3986, RFC 3987) accordingly, and
>     obsoletes RFC 6874.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-6man-rfc6874bis/
>
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-6man-rfc6874bis-01.html
>
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-6man-rfc6874bis-01
>
>
> Internet-Drafts are also available by rsync at rsync.ietf.org::internet-drafts
>
>
> _______________________________________________
> I-D-Announce mailing list
> I-D-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/i-d-announce
> Internet-Draft directories: http://www.ietf.org/shadow.html
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------