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

Brian E Carpenter <brian.e.carpenter@gmail.com> Sat, 09 April 2022 20:46 UTC

Return-Path: <brian.e.carpenter@gmail.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 B527A3A10DA for <ipv6@ietfa.amsl.com>; Sat, 9 Apr 2022 13:46:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=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=gmail.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 H_sGyFzT6PnD for <ipv6@ietfa.amsl.com>; Sat, 9 Apr 2022 13:46:17 -0700 (PDT)
Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 294223A10D1 for <ipv6@ietf.org>; Sat, 9 Apr 2022 13:46:17 -0700 (PDT)
Received: by mail-pg1-x534.google.com with SMTP id r66so10798486pgr.3 for <ipv6@ietf.org>; Sat, 09 Apr 2022 13:46:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=tJS3TilKzUjVn8vHXTBVb083teY0KbssiIywZFPmoXs=; b=QpAhFGyq0MbeYLuN6YP9fElxCvhJV3lLKzqeIRiP1lCqP7oVLCfgEouGg4XuyQnLT9 jN/NrsNJ7nkfBDAVvsO0i3XsBdzXrHV9FbihTcTgGBLvpO23e8JxSmtYVpjguxWeuGZv Hjj/20uEGqj7BjG3lH0o5fRpTB4udyPI/Cl4Gz0oDh2aipqkKQSWP/ivvNBDtBqO2MGj xha9QQkWS1KU40y2kEYiPRMlT+twu4IpSFRc1qD2phhycWUX3L5t7W066l87n2eAiNux zoKkwyUBabkmECAlHIy3CqfES6rw5Q82qtc6HYyUJTyr48jos5Lj9Z8qidugkRtlIwSL DZ0w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tJS3TilKzUjVn8vHXTBVb083teY0KbssiIywZFPmoXs=; b=TVBe1XZPrLIDr5Vbo2aX8vDcDYAv2OF6sz5hM+xqkQDcuq+BWFspQZfXvHO/k7IEFV QrzVNz4AoQFZ0dYrJR6qfLhT3DM5RWDMjd4HH+LfZS+auN/pQiwXAscn4ECgUFHM3UxM P7LZSvRxEaUG06e7Doa6dMq2QsAJ4uVnM85QS8gdrwSeCCPcnAYGu2qX1IHmTgUNaF08 JarTDTDHkjpL4TcnC0vpMB4WIxn86yGX2P9KMk3CbsBii81L6giMOoc8dwSM/fHwYftp DQZ4sg/QH1gxdINQXeZhlmqe31ELsVcwt4ZkdCaQfaW3aWamSK1fZWuSZRyuhRxSnpBn k/lg==
X-Gm-Message-State: AOAM531W1516YC9JkxbyGduhjFCx38UqXgJL0MEEea4zhv+mdSjvCZyV FsBgqherwQEr8iPqCwtR4JCQR7uNekteOQ==
X-Google-Smtp-Source: ABdhPJxJY2sgIEwiGLWm9Gb9PCBxg4CI1SCC2PFBUbjqgq2FLg6/+TFVKxpoT71wdYsRX0yHJw5F4A==
X-Received: by 2002:a05:6a00:198a:b0:505:91ad:782f with SMTP id d10-20020a056a00198a00b0050591ad782fmr7095448pfl.20.1649537175816; Sat, 09 Apr 2022 13:46:15 -0700 (PDT)
Received: from ?IPv6:2406:e003:1005:b501:80b2:5c79:2266:e431? ([2406:e003:1005:b501:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id f14-20020a056a0022ce00b004fabe9fac23sm31621837pfj.151.2022.04.09.13.46.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Apr 2022 13:46:15 -0700 (PDT)
Subject: Re: I-D Action: draft-ietf-6man-rfc6874bis-01.txt - YANG
To: tom petch <ietfc@btconnect.com>, "ipv6@ietf.org" <ipv6@ietf.org>
References: <164938402532.17740.11717866110301931501@ietfa.amsl.com> <b1780128-2069-b32e-7ca5-86977c119f0c@gmail.com> <AM7PR07MB6248BB6582F8BB4E7430D374A0E89@AM7PR07MB6248.eurprd07.prod.outlook.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <bbe3192b-f79a-bde8-345b-c2281bc1b596@gmail.com>
Date: Sun, 10 Apr 2022 08:46:13 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <AM7PR07MB6248BB6582F8BB4E7430D374A0E89@AM7PR07MB6248.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/hpSeVTaGqA2G7QWOWdTaI6tyL-s>
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 20:46:20 -0000

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?

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