Re: [netmod] Changes to IPv6 zone definition in draft-ietf-netmod-rfc6991-bis-15

Jürgen Schönwälder <jschoenwaelder@constructor.university> Sat, 06 April 2024 06:52 UTC

Return-Path: <jschoenwae@constructor.university>
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 4F511C14F683 for <netmod@ietfa.amsl.com>; Fri, 5 Apr 2024 23:52:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=constructor.university
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QUnIYKcq_tdn for <netmod@ietfa.amsl.com>; Fri, 5 Apr 2024 23:52:19 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2132.outbound.protection.outlook.com [40.107.20.132]) (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 5B933C14F61B for <netmod@ietf.org>; Fri, 5 Apr 2024 23:52:18 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kmwrBau0H1xo3ilGAYou/pw0/nRRnoM4IV+xutApovckkigBq9giswFKjQZ3JyWgYYXLMf/GeesQJLLviwe9tdzkGhTZOV+YKi9N/oBuZxI6RDKztH4emACp4wWgN/VgRAky/Z6ra3/PT3d48++h7CI1wPqFNJ2FHvNoLVE2adaXdKFyswYkeHYc8yaxa0Wb01aXKzKMXvyo0R0qVZwzy6oK3Kd7MU4sbsrFZIE47F6wdxuin8rwItQPo6mjbLbXGTAxeLTv+Gcmb3Ycn6CQIVmnWweLGV9G6oEObqXuomzKGR+ULMbKzafukgAv+NNAeJ+cZGP9knz8a05EzYUS4Q==
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=DYL+XeSfTPvI4T68S6THwJVY2ChSan8fzxAodYypt9M=; b=KldFNSZykmKGRobn090ASvrH5Q6gC+hpiJGRc5WypbZ3QYLztBuPX6JWN/zW5w2Rswhp2WLm+sq4t32MFK1FgsK/3rD3dlMZx0PqxnN9zlPGJknUty/UTRjbMe+ZJa4+AlAT+YCsSK403RjTNipl0gUDxcaZeClaX9SSOtTYDsl38iEZP2Im3UU3P9RYCHQohHX9I7lIuCDgIxI1aHbZgREWS+90H2VmvOeBsANLPYgCn2CKUlxqhA5yUSWykD6L8uobto5VUvtT4YlLJAMLwjKGUg8iJ+rU4dBKqMX27jWMtRdLeTWXl/deX6IrvFejLVMoeoJ8S6BrKfj2qR7/5Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=constructor.university; dmarc=pass action=none header.from=constructor.university; dkim=pass header.d=constructor.university; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=constructor.university; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DYL+XeSfTPvI4T68S6THwJVY2ChSan8fzxAodYypt9M=; b=luum66MKrBn2R/+ASsGKUIy7bS64bPiZ7GjuVG4xuMChUM+IkUSJCjXETp0rpPBiw6K2PPZX2LwDs+sb7JDORl74jQcIlqwigPm7lhGKOb8xQPJMBIA6ws6p7OHGZOOlrKhO+WXoQxmzPny6vLsPddXNDZlXnKCjfjGFsp9i+pDqOCXZrD4V7iUkMKyXDeO198n5q4YDrxfPexJcXl6S1hU0eiVW9ob23KrPcwg1wYO6M3MdU5o1gYxnCQf62DYpSRNh0JkDmv9Xqt5P78AKhbng0pC0eDHqhLcaymZFBngTQr7GrsidNi9LhUAc8VEymcFcJE6I21smC+K+ZtmyPA==
Received: from GVXP190MB1991.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:3::6) by AS8P190MB1158.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:2b7::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Sat, 6 Apr 2024 06:52:15 +0000
Received: from GVXP190MB1991.EURP190.PROD.OUTLOOK.COM ([fe80::a279:5583:a8b:382e]) by GVXP190MB1991.EURP190.PROD.OUTLOOK.COM ([fe80::a279:5583:a8b:382e%3]) with mapi id 15.20.7409.042; Sat, 6 Apr 2024 06:52:15 +0000
Message-ID: <24f6a539-3abd-4d30-afd0-bc976ccbbd8d@constructor.university>
Date: Sat, 06 Apr 2024 08:52:12 +0200
User-Agent: Mozilla Thunderbird
To: Mahesh Jethanandani <mjethanandani@gmail.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: NETMOD Working Group <netmod@ietf.org>
References: <BY5PR11MB41966FD2ECEFB84708C5A325B5869@BY5PR11MB4196.namprd11.prod.outlook.com> <16d6f918-ea40-3596-9292-d2656eec8ad4@gmail.com> <8d491135-c720-228c-efad-f1f3fa113545@gmail.com> <B655FE46-F8B9-4BAD-A4AF-7E6E2627ACE9@gmail.com>
Content-Language: en-US
From: Jürgen Schönwälder <jschoenwaelder@constructor.university>
In-Reply-To: <B655FE46-F8B9-4BAD-A4AF-7E6E2627ACE9@gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-ClientProxiedBy: FR3P281CA0201.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a5::13) To GVXP190MB1991.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:3::6)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: GVXP190MB1991:EE_|AS8P190MB1158:EE_
X-MS-Exchange-AtpMessageProperties: SA
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 3Ak/vYN/ZQp34kV6CG2LJAdkSR2Lmux6IPbXzul/W5P2v7ammiwfNMz1GcFC8tG4nRyjDw0SblcC5JgL5FSPdjsjJgIE23xjQ1zMJeCyzmLB7W4srxsG8OmQvQKl3jOYrmlL62zqZd4IflqrMlmRnFdcjU8m9qIHvHfCUHjC1dYRpom2s/RyNnZT9vO8GNM8PLek+hAAC8PaFcTF8oBxvx3XFvlZT+M5fp66GH5CWBt0BQFi+BKS8Y3uK56UmOdWCr/67Rze2LKtQcoloKVfPeDmJpa5hqCFVGoqHJC+taOqpAOsyKgQpKsPGiq59yE/GXlhDO8iTadKZcvmHGIF4VKBsplI15aljbDnIz700W6x3gUXQZL4Tc8TQU/1/qQetrl5RdSKKoPjYf0suQAgs80apKe7s6UOeXsgU4URxhZO/Pfb29xPzqiUYIKrlEDT6vSDZrLiGZQYo84UBt2LHaXQ8CTJfoJf1IFsBfQ23WIS+sFpoLX7KxGpEL+dd6fBJWektCURQjYzSQkMuCRDPszrvz/p3+ZUl8sh9OkQZ+ClGNKcHyAgC4TQwln0+ikh3srmqwEBDetzcHCfaPLyft85NU6fO9OoyyUlUyADUYg=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:GVXP190MB1991.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(376005)(366007)(1800799015); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: g5JML6j6fh8iRDKQgUGq6DEiVqHA2QmcgNPc4h95WrJDr6UusZt4dNIpsR7a6k+a/JP7y1fvUeQmwf/2br8sCtAZrNF9jF30KnWkeOCQnApsL852vUPhIu53Vi8wm5HK1+UxRB9FjlueciYrmCkp3I1VTsCnyFR436jgaz5Wad+TtksJ8XNSTq9ja48D4y+bZ9HuC+b8M4wy7CgcoRapd5tObzxhP61GEjjpoSxmOAHKEseYpRAAmvhtvVo5kMHlyrkvWi9iuGiY3hW/eveVV3XCW7QEtQkqhxSym17qixd6PQwAVlq8ELhoTtZWKEOAePr729RMnucr/ZhcvT6S6FqPEwJfndkp4wYcO/qY9/EXFup7322l4tjEEn9ihRiOwnmUMheEaqlOC2ev2QCf/AEznt4yFNX4U6JwsBOdpvoKq1DWOsUEX/Le7V3P1C1gMuVCCyFcQchhuSULaTZTxeQv55/tigTnBE25zar6etI9OMl+ZCKc4CmMNY7oFoRyeN6GXRaZ1VkfPPTiD6VwF+gLM/N2TvfmVIFmG8b2A8wIWrXjQRjJUSeMcdbgdWDrnzicCz8aQx1Aq/NnkQS8H15HOxJ97wtPDaACKA5Z1mPwC5e8WsDNF6jxbAP75QPGm7Itw5IvZaipn6Xuiojxydj24UPoA6zgdweAuihktYfiGkhmUO9TnDG2V6FpycZzWODTC0Zmj4HSjP6VHYDkYsZukijRhy89rVdf+hdZTEcz/Y21VriW9MI2wwDBqoomEz0gdnRuDCAUA9qxL7bh51xIVEw79cCuUcCrjw9B9JmuoIz7IO5zueM6wCZDoP5JTnjYVG/V4Om5MWrmfh89UQHl6z5F8fJqaDijbJ8mj6bwnk60FaFDgctxa7n6XAiM4Vn7PvCjgQnaCT97LCB17acXOHjzPa6d8uMthIwsAs9m3TiVYdAs4L446AFeKemZneMV61r39oKsQplEas2G5iBWR+dmqahk+TXK4Uq/TyFV0xh60qEryUTnzy7XmRFtBTOsIHTofieO9zZLofxQaTp0uPIvSkNrS8vJmRK8gvgQG0A5C1oEuWG59VEcTkNBrSfx42vP4f/J549sUJ3hf5j1l9zd5b6mykL+jCPBe33gN3b+8j8WjMkWAfyg+IAbE9SkJ/wNu/9bm4e/9OwpaK2qret7nzP0nKePk7uQYF7VSU3HFvUx9iWjdMNyRQS7ye6wHIE0y6wIXDT2YvM/2E2EMz2ASyig7ksTTTn5TjobTGHThxh4NvYvFilvlSvvcN2Gu3uRNpexpyJSoX/L6vLgiyR+v7j8LdIk7JRuEBzlLLbPxefZ+CpGxiUwHcJEqi3N/xyRapEEG2+w37xstWOJRFb8UMddevppWCMgjiBV7ZGILfgf0UWzBZPF0vzcWoTVMSJmTj73BESjZcxz9PPaXg7fKobwK1dUEUOnCAJGd+WwCtXrnXuS/h6AwEtsHRTWUh8u9/YRYG3SETH3FIa8GCnRJoCtKTqQ7JR2FoFcRQqtuurrLtb40V+ayuwZo3qycME0JyZOnX+7q6S7tqm4ExJjhUMd1v7+XlNiZTJ/9scwGxgOy0hNMrLxxovlxvdjEjx2vOpoCntSgOuc7iyYpyRoa42UrlZOPCy9czI=
X-OriginatorOrg: constructor.university
X-MS-Exchange-CrossTenant-Network-Message-Id: dd785c7b-6a91-4bcb-2dd3-08dc56061834
X-MS-Exchange-CrossTenant-AuthSource: GVXP190MB1991.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2024 06:52:15.6768 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: a474A61OeJLdCxNGN9uDYC26cl/gKiZUBCrgZX9ktUkSAZ5JHVm144lnzWJhnppoIv8LPZF2VCki7VGhQ1YYO7OuE0hy93IEIU6wvkXvqTY=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P190MB1158
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/6hXwtL9B-ps_4VXTTdzQwHM6Trw>
Subject: Re: [netmod] Changes to IPv6 zone definition in draft-ietf-netmod-rfc6991-bis-15
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
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: Sat, 06 Apr 2024 06:52:24 -0000

Mahesh,

the main goal of these definition is compatibility with the
representations of zone names and identifeirs that systems use
natively (say on the command line), compatibility with what is
allowed in URLs is a lower priority issue. The changes that were
made were motivated by the fact that some vendors include
characters in their interface names that the existing definition
did not allow. (I consider this a bug.)

It is true that a zone name is not well defined. We can't fix
this but we have a definition that is apparently too narrow. So
what we can do is to address this limitation.

I believe numeric zone identifiers were always supported so they
always work as a fallback. I do not think we have any motivation to
introduce any % escape encodings. Our target is compatibility with
the native system representation of zone names, the representation
of zone names in URLs is a different problem (since URLs have more
restrictions than we have).

/js

PS: As it is too late to properly define zone names, perhaps all the
     IETF can do is to write a document about best practices that
     system designers should consider when choosing interface or
     zone naming schemes. Something along the lines "everything
     is possible but if you include x you will face problem X, if
     you include y you will face problem Y and so on.

On 06.04.24 06:18, Mahesh Jethanandani wrote:
> I notice that draft-ietf-6man-rfc6874bis has expired. What is the plan with that document? Was there any consensus on the zone identifier?
> 
> I ask, because I am interested in moving rfc6991-bis forward. Can we close on this thread with lowercase and % encoding of special characters as the consensus?
> 
> Thanks.
> 
>> On Mar 31, 2023, at 3:43 PM, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>>
>> I just put two and two together and got five. There are so many threads that I can't remember who brought this point up, but the editor's copy of draft-ietf-6man-rfc6874bis now includes this:
>>
>> "The mapping
>> between the human-readable zone identifier string and the numeric value is a host-specific
>> function that varies between operating systems. The present document is concerned only
>> with the human-readable string. However, in some operating systems it is possible
>> to use the underlying interface number, represented as a decimal integer, as an alternative
>> to the human-readable string. For example, on Linux, a user can determine interface
>> numbers simply by issuing the command "ip link show" and then, for example,
>> use "fe80::1%5" instead of "fe80::1%Ethernet1/0/1", if the interface number
>> happens to be 5."
>>
>> I don't know whether this work-around will apply in every type of device, but I certainly can't see any other solution, since the URI syntax is very insistent on lowercase normalization and special characters.
>>
>> Comments?
>>
>> Regards
>>    Brian Carpenter
>>
>> On 23-Mar-23 14:48, Brian E Carpenter wrote:
>>> Hi Rob,
>>> On 23-Mar-23 02:32, Rob Wilton (rwilton) wrote:
>>>> Hi Jürgen, Netmod, & rfc6874bis interested parties,
>>>>
>>>> In my AD review of draft-ietf-netmod-rfc6991-bis-15, Jurgen has proposed a change to definition of the zone-id in the ip-address, ipv4-address, and ipv6-address types.  These changes move the definition somewhat closer to what is in rfc6874bis, but they are still different enough that we don't have wide compatibility.
>>>>
>>>> I think that it may be useful to have a discussion to see if we can find a technical solution that works both for YANG models and that is compatible with being used in URIs.  Hence, I've separated my AD review comments for these two specific issues into this separate thread to try and ensure that interested parties can be involved in the discussion:
>>>>
>>>> (2) In RFC 6991:
>>>>        typedef ipv6-address {
>>>>          type string {
>>>>            pattern '((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}'
>>>>                  + '((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|'
>>>>                  + '(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}'
>>>>                  + '(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))'
>>>>                  + '(%[\p{N}\p{L}]+)?';
>>>>
>>>> In draft-ietf-netmod-rfc6991-bis-15, p 27, sec 4.  Internet Protocol Suite Types
>>>>        typedef ipv6-address {
>>>>          type string {
>>>>            pattern '((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}'
>>>>                  + '((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|'
>>>>                  + '(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}'
>>>>                  + '(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))'
>>>>                  + '(%[A-Za-z0-9][A-Za-z0-9\-\._~/]*)?';
>>>>
>>>> I'm not saying that this change is wrong, but this technically looks to be a non-backwards-compatible change (depending on whether interface names could ever use non-ASCII characters).  Where is the set of allowed characters for zone-ids defined?  I couldn't find them in an RFC, RFC 4007 section 11.2 seems to indicate that there is no restriction.
>>> RFC 4007 is woefully vague, but it does limit the character set to ASCII. The failings I have noted so far include:
>>> 1) No length limit - i.e. exposed to buffer overrun bugs and exploits;
>>> 2) NULL is not disallowed - i.e. exposed to NULL-terminated string bugs and exploits;
>>> 3) In fact, no statement about non-alphanumeric characters at all;
>>> 4) No statement about case sensitivity or case folding;
>>> [It's clear to me that RFC 4007 needs to be revisited after we have settled the current issues.]
>>> All of these are problematic in the URI context, not to mention the poor choice of "%" as a delimiter.
>>> The above doesn't tell me what is intended about case sensitivity, and it does include "/" which is troublesome in URIs.
>>> Maybe you could consider an even more complex definition that distinguishes general zone identifiers from URI-friendly zone identifiers? The latter would be something like
>>> '(%[a-z0-9][a-z0-9\-\._~]*)?'
>>> Then there could be a general recommendation to use the restricted character set if, and only if, there is an operational requirement to generate URIs for a given interface.
>>>>   draft-ietf-6man-rfc6874bis, which I'm currently holding a 'discuss' ballot position on, effectively limits the usable character set of zone-ids to the unreserved set in URIs, which seems to match those above except for '/' that is allowed above (and used in many interface names), but not in the URI's unreserved character set.  A further difference is that upper case characters are allowed in this typedef but are not allowed when used in the host part of URIs.
>>> Well, more precisely they will almost certainly be normalized to lower case by the URI parser.
>>>    
>>>> Update - I've now seen the thread 'ipv6-address in RFC 6991 (and bis)', and Jürgen has put together a useful blog post, thanks!
>>>>
>>>> Given that "interface-name" in RFC 8343, and the text in RFC 4007 section 11.2, then arguably the safest thing here would be to allow the zone-id to be unrestricted, i.e., "(%.*)?"  However, this would leave draft-ietf-6man-rfc6874bis as only being able to support a small fraction of interface names as zone-ids in URLs.  The authors of draft-ietf-6man-rfc6874bis seem to indicate that it works for all interface names that currently matter for their use case.
>>> That appears to be correct, as noted in the newly proposed text at
>>> https://www.cs.auckland.ac.nz/~brian/draft-ietf-6man-rfc6874bis-06X.html#section-1-5
>>>>
>>>> An alternative solution could be to somewhere define the zone-ids in YANG to match the restrictive set in draft-ietf-6man-rfc6874bis (i.e., lower case only, and disallow '/').  I think that this would then require that we recommend a conversion of interface names into draft-ietf-6man-rfc6874bis compatible zone-ids interface-names.  E.g., such a conversion could take the interface name, and change any uppercase characters to lower case, and replace any symbol that isn't in the allowed character set with '_'.  This conversion is effectively one way, and there is a theoretical risk that the converted interface names could collide, but this may be unlikely in practice.  Obviously, this conversation doesn't handle non-ASCII interface names, but I'm not sure how realistic it is that they would be used anyway.
>>> Remember there is a browser between the URI and the operating system, and the browser communicates with the operating system via a socket interface. So such a conversion is useless unless the socket interface in the device concerned is fully aware of the mapping. So even if there is a use case, there are a lot of moving parts here.
>>> Personally I think allowing non-ASCII would be disastrously complex and would have no real advantage for netops staff. Езернет1/0/1 instead of Ethernet1/0/1 doesn't seem worth all the resultant hassle.
>>>>
>>>> This general comment also applies for the same change for 'ipv4-address'.
>>> Fortunately this is 100% out of scope for the 6man draft.
>>>>
>>>> (3) draft-ietf-netmod-rfc6991-bis-15, p 28, sec 4.  Internet Protocol Suite Types
>>>>
>>>>            The canonical format of IPv6 addresses uses the textual
>>>>            representation defined in Section 4 of RFC 5952.  The
>>>>            canonical format for the zone index is the numerical
>>>>            format as described in Section 11.2 of RFC 4007.";
>>>>
>>>> Would it make sense to also change the canonical format for the zone index to be interface name (or converted interface name) rather than numeric id (when used in YANG models)?
>>> Please not. In a completely different context (RFC 8990) I've written code handling link local addresses and multiple interfaces, and driving it by interface index rather than by name is definitely the way to go. Humans may like the names, but the numbers are much better for programs.
>>> Regard
>>>      Brian
>>>>
>>>> This comment also applies for the same change for 'ipv4-address'.
>>>>
>>>>
>>>> Thoughts and comments on these two issues are welcome.
>>>>
>>>> Regards,
>>>> Rob
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
> 
> 
> Mahesh Jethanandani
> mjethanandani@gmail.com
> 
> 
> 
> 
> 
> 
> 

-- 
Jürgen Schönwälder              Constructor University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany