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

tom petch <ietfc@btconnect.com> Sun, 10 April 2022 10:53 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 952A53A11C5 for <ipv6@ietfa.amsl.com>; Sun, 10 Apr 2022 03:53:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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 iQOYW8tpL9UJ for <ipv6@ietfa.amsl.com>; Sun, 10 Apr 2022 03:53:17 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on072d.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::72d]) (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 9AE0F3A11C3 for <ipv6@ietf.org>; Sun, 10 Apr 2022 03:53:16 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kn13EeuxzXt7ywLzjVUGjkKx2jp/edrbpi9bhsnbo2hHs13BLfDO4fmxrBKy+dkjsz4b/+WBdlk0zUAl2RcsAzdlZcUNCVfbw1ASfVFq2MQP/+j5K0/CdigCXuN2rUMcRhdDJgPvaM3/8w4Tvfhr9CL4NQiBq66TT9DRiW9ISU6r6iKwKE28D8OUDvj0Z3U8vsKuUtB9/enI7iPxfkEUyTqodio5z9IWBm9lRcK+hVM7+effxEFyfdXvUldDFQw4FPOM0FgZddBWfoMpj07HlgJAdKrNh5pzljrlK4khe4pPX8F0aGefHcaOjoTqxiD9xc4xQZNgiU4UuiyxVQTuvg==
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=x+buNTfEQUlsSd9Zamb8dtI+0J5JXEkYOTsHwt8ikT4=; b=Yc8gS1LRg7lX1BknO/VlCaR8nncs9aW8fnAquylunPcsFGSSHDTOG6ofa6aa3B/J0mH59I/jIkz78BXt/lRDHSs7k/qE2hc4te0+Bet0PE4vtT8BJ0xqTYeiPFT2bRE/aQG6mZJb2p3X/BpjPqVb20MVZ5e0+0oDYVINLwvOJvWpfwk9zvL8+XlaL262Xm2Sm6iparfHfNMU1MleX4rtItuG0fasDcAUpsxenjYtfHTTB2Am22zJqgta5/j4ZrcWY7+sSP3wfnfs/K9hLUVYuJi7EnlvaAyNwdPUkVM5O99YNYIzUMvbShXVLf/gO/DJU5EcUk5w1rkWoK4KNN67Bw==
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=x+buNTfEQUlsSd9Zamb8dtI+0J5JXEkYOTsHwt8ikT4=; b=D6TzAeC1NvigZOp2yx1sNm3gjSM56NBHOIVZih+GtqSOR9H+lIDgWckCI/TEYUUO61LJXvXWskoC34UcptQXU0YEV4dQCVSiU2xG74cMPdK2Pkig5+Op4aCUBdmqoUUUtAFG0HYasHRuZjoaFbGvNnfxcM0Zzy3nHUdYuyMNPAE=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by PR1PR07MB5738.eurprd07.prod.outlook.com (2603:10a6:102:7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.14; Sun, 10 Apr 2022 10:53:11 +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.016; Sun, 10 Apr 2022 10:53:11 +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: AQHYTAW4e2pBIzrsYUGj3yv3ccTmuKzoDaeAgADqLAw=
Date: Sun, 10 Apr 2022 10:53:11 +0000
Message-ID: <AM7PR07MB62483C2DFF3C1F51C2262397A0EB9@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <164938402532.17740.11717866110301931501@ietfa.amsl.com> <b1780128-2069-b32e-7ca5-86977c119f0c@gmail.com> <AM7PR07MB6248BB6582F8BB4E7430D374A0E89@AM7PR07MB6248.eurprd07.prod.outlook.com> <bbe3192b-f79a-bde8-345b-c2281bc1b596@gmail.com>
In-Reply-To: <bbe3192b-f79a-bde8-345b-c2281bc1b596@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: e152870c-6e26-4829-fd50-08da1ae04e78
x-ms-traffictypediagnostic: PR1PR07MB5738:EE_
x-microsoft-antispam-prvs: <PR1PR07MB5738D2F3B391028C855D08ECA0EB9@PR1PR07MB5738.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: 1mL8FUulLel2X7sUhERjG1wi42ng0aSoEKLIgToWtajzDQETilAJPqyBVZmJnUpEmekks2TkEh0kARmGLfpa9uO8J2UIlfcErrqyn7SkiPtlnhIBAD7pdgUqbFbk6gtQdgGNm/It+6VYPgVykI8TmLoAnpaWIvWSlFlHJ94znCh9bfG2HAg6SHy3qfZEHTXLuL/jq37azALvZD5dfcA2mFyNdppcVTN/YqnzfSdBRiDGecPIUDR8oBH9+I/hHOYhc1V19ffK/K7UJhvEsOae6qo1qUujvotWd9eBjChKSDflZnFFiE52ebauN3mkdUA9XFYx2o3GW1pc6iyCzqxNN+Cc2c8B0TJqx3bmnyIGn2FRmKBpbFt6g+iPCFmDx6BZ03PP2a4PJSPtOQMSOnq8PwJ+dXDh+UO7FppP108GnSYHS0DRhaktahFkRFd0pVHCkECSE6heXgSsH/VCmqujE1J1NIkfgB0HYUiDOYsZ3doyAnF0hljaKHKLBOG6Q0zMbXfnKKTZPmCdDA3xAsRPQYv7vuU/nocseLTjrAuTLx6OnHA+WPCr4AnSSKyegh5eJqM6ZYdsx/vTDNwXPmD4yQOC3C5Wxm9Hz3XZgjJ5QmOAdqknLziz07c2BQH8fV0H9HGHlH2Ouh4t7w25v2BvPS6ytoJq4ZRQGxr9Eoogw9daniHhm8hbaMWK8GUCesJsD/rymXkcQQaPiZu1uhFuZ4AgJUHv6SEsPYh4yNGkvY85MabwZ/AszlPmchoSKPt8yHVgriIvsz90RH9LKqqyO3BIrqs2h4LEpo+2f5Fy1F0LVhP/JwPGH3VE1eVb3Lh2
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)(7696005)(6506007)(5660300002)(8936002)(86362001)(8676002)(91956017)(53546011)(38070700005)(82960400001)(2906002)(122000001)(9686003)(38100700002)(186003)(55016003)(316002)(966005)(71200400001)(66574015)(83380400001)(26005)(110136005)(33656002)(45080400002)(66446008)(66946007)(66556008)(64756008)(76116006)(52536014)(66476007)(508600001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: ocnRYi+XpLB5Z1DfaRTIl6Rl6ZiRwW7fzUdqtnX+03bvWsZkryWg3EybvSqkBowil+h5KA08ONMmgLG6DvLmxKOfFNxIFcxdAiPBc9+Zmt76/r5UJ2HSvlr2DkYsKwtwj1gcJQo42J+AuOsq/LS1y1NBVv65wmq7Lm8VEjxtprThY5aCFBt/tuSrT0jBKhMT9TExtig6bhks1XfePm5K3p9+SSSq8So53hl8dTgMLx6ccPZYp0muEwTybGmlmYwPYqAXIfbOhGH5WTSEEqrLjYZVc3S6qTLFGyEpuyB9yS/jo3teoMi7XImLelZ62rjBer9tuSlj7Zwk4pX31AH5bofb5uIF/uAkkItgoWWJCrP4LZMVUF3W2LVLLDigk7zJA1n2ORmn3Q/W1CHOeeh9cicPrHcYJ+OlIeHsSwcooOQvDFkbyWNWM6lJA5M1ocGJ63QCk5TNzAuxbyMmlVzv9m+cnn+doedp41Nxo789RGkLBec6Bam3QYDWSLok1mb7z+bCBxk7OeqmhWh7AH/g8fTE6UqiB2z4bwHfiQ9s3DSJNMeyza56chAK9XpLJL7RuIqaH0X5nYaIsWncsu8y+WrSu2KH1uxk9IR9w/H6zFkcbDYacOqpQr/fXhYvkCFT0W07YyvqZawNoJtKP04b1htJJOQ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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: e152870c-6e26-4829-fd50-08da1ae04e78
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2022 10:53:11.5349 (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: G9o9fQSRHwSddQu4bD88BPAU/QPkfYYktM+f2sqM6dCQFsjmJAcBZ8UM/55NRZVzj2WFXIqbMcWNIJH0Ty6HIA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR1PR07MB5738
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/yo72GS9tzwi1aXM2G4-2CdDVAo8>
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: Sun, 10 Apr 2022 10:53:20 -0000

From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Sent: 09 April 2022 21:46

Hi Tom,

> 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.

That really sounds like storing up trouble, unless there is some absolute assurance that the relevant YANG usage will never, ever, apply to a host with more than one IPv6 interface that may need to be addressed with a link local address. A link local address without a zone is simply incomplete (and the notion of a default zone is not universally supported even when there is only one interface).

However, I don't believe we need to address this issue in 6874bis, do we?

<tp>

No, no need to amend this I-D.

Rather, it suggests to me that many if not most people authoring YANG I-D do not know about zones, do not care about them, until it is pointed out to them what the consequences of their choice is (the authors of web browsers may be the same:-).  In many if not most cases, the protocol that is being modelled does not allow for a zone, having a field that is a fixed length, catering for an IPv4 address or an IPv6 address but with no allowance for a zone, the address being global not link local.

I have not checked on the exceptions where the YANG model allows for a zone but suspect that they lie with such as multicast, local printing, trouble shooting and such like where the protocol calls for a zone.

Tom Petch

Regards
    Brian

On 09-Apr-22 23:34, tom petch wrote:
> 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
> --------------------------------------------------------------------
>