RE: changes in draft-ietf-cbor-network-addresses-05.txt

Dave Thaler <dthaler@microsoft.com> Mon, 02 August 2021 21:47 UTC

Return-Path: <dthaler@microsoft.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 688F23A1DF2; Mon, 2 Aug 2021 14:47:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.553
X-Spam-Level:
X-Spam-Status: No, score=-2.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 j5TwDEC1J-nw; Mon, 2 Aug 2021 14:47:42 -0700 (PDT)
Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08on2123.outbound.protection.outlook.com [40.107.100.123]) (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 A2DAD3A1E25; Mon, 2 Aug 2021 14:47:40 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GRsXN8Aq4pLyjgLesiOjVJHA0tp5o4lWS1thPTWY5oKmkZ1635/X4IMsXOy+OaM0xdYnWlG2UMyfJRcr3pr6xth1ofN4yNnmOs7xiT1c20ur1SKZh79dwQSfcHbq5A7NUhRNzfu1phmEpvXdThcs1c86EWRsguBVHSRjlgA3G/SXriQ+J4qPV9tuawUnwRxcDWZgZguIFHkM8Kv77F3lXRoBtLWJK32ZlL8y/uahg/g7VOszAHaAGDbv0XwanABaeR8/cpz5tMt6syfZnf9x9W50L1PanFbNtdyxm3pYWKvJ2RrUUerjZn6Pvx/LLjvzG7M8sY0hjF5moFa7HHVDoA==
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-SenderADCheck; bh=SBB0VpiKUgWFzZ2J8y+PmOIXsVyJwSNgZfWzfnvzD4E=; b=UVBfX5jEAvXuyCn5VbU5D6/TKlXwb0N2ZM3v/ta0FKkS79PSEOpJ+IxK05Js2tfjvaeYRm+vBjZKSC3vQlhP0PX0bOFm65J/JFPSLHSjwokHac64mvnxfBbiZxlI65p5K5fC+kywmunCjJdVaoiyH3x/MPV7DrNFU3RlKOCX0fvbo07FBcXZKsK5CMUxbAk2z+SRaVf0efhYIop6Pgo0L8aVwZcUaEMBXoIOpsYG1nsDybzF4X2PzR89ZRY6CoSmnCBChVOTge+z/Lz/bfvgDg263Cd//DI9v+IUHQ07Tg1ya4oZF8h8Ct8lS+ztGiRtaBt6YzFUY2/i70loD8EUlA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SBB0VpiKUgWFzZ2J8y+PmOIXsVyJwSNgZfWzfnvzD4E=; b=CDLshy4Iu9EhjYixvV61NtxhnULcQ6Pf1mwRPwSyBLomE4EoF9co6MSSRuTMd8sFnpN54eyFbCQTNqhO4PZ3LTvZAibS16/o7j5EFzXbPqY/wRWw2wu4nyvgriyb/9NZGR4uddKP0peZoMCl/tdJUkxT+GsB5zYjfd8PVopjf6U=
Received: from CH2PR21MB1464.namprd21.prod.outlook.com (2603:10b6:610:89::16) by CH2PR21MB1445.namprd21.prod.outlook.com (2603:10b6:610:8d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.2; Mon, 2 Aug 2021 21:47:38 +0000
Received: from CH2PR21MB1464.namprd21.prod.outlook.com ([fe80::cd73:748d:5b7:e2c5]) by CH2PR21MB1464.namprd21.prod.outlook.com ([fe80::cd73:748d:5b7:e2c5%9]) with mapi id 15.20.4415.002; Mon, 2 Aug 2021 21:47:38 +0000
From: Dave Thaler <dthaler@microsoft.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Brian E Carpenter <brian.e.carpenter@gmail.com>
CC: "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>, tom petch <ietfc@btconnect.com>
Subject: RE: changes in draft-ietf-cbor-network-addresses-05.txt
Thread-Topic: changes in draft-ietf-cbor-network-addresses-05.txt
Thread-Index: AQHXdxLtKaDb/EZnnkuM9WPXwRrMdatSzBcAgAARfICAAlzOAIACHKAAgAARjgCAAA7jgIAHK4mAgACjpYCAAKWpgIAA9FuQ
Date: Mon, 2 Aug 2021 21:47:38 +0000
Message-ID: <CH2PR21MB146488629EE616B6AB1BB906A3EF9@CH2PR21MB1464.namprd21.prod.outlook.com>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com> <20210802070839.g2tjn3pqu5lpbd54@anna.jacobs.jacobs-university.de>
In-Reply-To: <20210802070839.g2tjn3pqu5lpbd54@anna.jacobs.jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=2e17ad40-bba8-4ce3-86a0-6b2ade87423d; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-08-02T21:43:13Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b818070f-2938-4b48-58ae-08d955ff2571
x-ms-traffictypediagnostic: CH2PR21MB1445:
x-microsoft-antispam-prvs: <CH2PR21MB14459210FC373C4262F99741A3EF9@CH2PR21MB1445.namprd21.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: rdhGdwO8pncM5yu8nspdl9MBCd96Ws1tF6SqqzdMVJoVpRqTNZweq5xaPIFgukVzopChjT4TEP53QvtWJ3hDXkMgYiShqsQ7Ds9AY+RBlRnWOyGc8nk/UXpBXjOiK0Q4KD56qDp1zGvmge+V76/+/FEppLOY3vlPahvEf1XQNHyXJ6M9YJqPivLscc06LFeJNhx830src3bcbHsE08tdz4SMo3mLhXMOv8kF2XtQL9JfYxmkjuX6qnRuTtymVfJmWMj2oFtG00HU+DV5dsj92Vg4hyJOimnE5QeBPU4L/EGSKzYo5TF1un1SdsOQSObRAZGKtAY0RWcDBy0WXYidY55oYAgkPPxtJoawUfoBQOjE4qZntaqrWvUk6lbkyxK4OmyTkixGp+w4M8Mqo9DIC/CxCuLlT275WxvY94fL0H11FehnUEE73lBvW3pyWUZpkVTLxOmg6vASfcPk3rfF5aU3ximkllc9EAu0lssVkxr9i4yBwW6aZWtXx8Go/+b+NSvZP0CbXoxy6dWC7N5SZd5lTm1+3qKnUjcLAVbgcUSqCLBUWhJgmsr9bAOj9+mbF1tWNfYZz6L7loOR8NpSOq2NPyV3gsjMow8ZafvZwt4GxjH1Ut0hF/PSmofHGSbVGJa0USJk/jZKiMnGQWvgWJ4qBUVUoNh38MTGLLxxIuPEJJNCeBrfnb+v88S/cqE0vRv3EuEq8Ndlj7WOSRk5D/I+u/viEJeUXPh7ud7caLRxTGqareoypJT7A14ZhRdBDRlCD8ddq1pTPMKSnK2jifNV29ti0YgcC4vb21ZtNhWBqrgw/AiG9p2nkLL/L5/AMEhG4Fa7QLVCiVzqSJzrbA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR21MB1464.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(26005)(55016002)(186003)(2906002)(9686003)(83380400001)(66574015)(508600001)(10290500003)(8990500004)(66446008)(64756008)(38100700002)(6506007)(8676002)(53546011)(71200400001)(54906003)(52536014)(966005)(4326008)(82960400001)(82950400001)(86362001)(33656002)(316002)(7696005)(110136005)(66476007)(122000001)(66556008)(66946007)(5660300002)(38070700005)(8936002)(76116006); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?JnTIBZsQi5EMPELLFj+lJdmqJ5KhZfMitYlM3j0JGD2yTVfj/pfzDt9yMH?= =?iso-8859-1?Q?pcZmyA5mh20vyYdbYNfbtWfCJ/dD4SDDPD6a8Cy9sWnESO3ciNyEE/KcBE?= =?iso-8859-1?Q?+1E2l7PPaw7qaUM2H9kxelYDQegCiMd8e4fJVRNlyTzPdMeDrNVGWfZLO4?= =?iso-8859-1?Q?8Yfmc+6EN3beOmwiyT3LMKnGw0KZYmWxj21xsU+cznDjerFnbFU/pAlBAH?= =?iso-8859-1?Q?lHgXx4QwDMAUFT3f++57uZQ14cyvnRDIr5rRqSiNLLZ3+qfm/ZBhZKV5X5?= =?iso-8859-1?Q?oIs+yisnTighsmgfkU3jPDmwdO+jHTKvBLQo6AyR4UwY/47/rO74nTx3hI?= =?iso-8859-1?Q?YEVpiy+rO3BotiD1Fzpn6X/aDVgapYox3mKMUzOxu48ld2HxJDlZ/2muIu?= =?iso-8859-1?Q?nQAYIQp4rMB4WRT3KlZiCV8JcC/IweQtC9DkI081lQ3Dr5iUkkm9cXXge8?= =?iso-8859-1?Q?ZEAsJVSGQchUY+/HZ1PxVCoGs9zjnJB5B+oVEPxPZT7KKAVid0BiD6S039?= =?iso-8859-1?Q?onRHiwsvk4Arjs1CYgT23DLUxQcXBpaJF6znBxhHmeysW6+gHcCYojci3X?= =?iso-8859-1?Q?Yh0ubOf6kjSsHQGcptSCrfF5vgB/wy4SENnk5ttgq6Rm4HwsH7Uz8xEZdj?= =?iso-8859-1?Q?GdkstE5E3exnO7CtOC7teasSIiEBq/vBLj5WJKt+/wplqld+G/zo31tT9H?= =?iso-8859-1?Q?7MrxgU1dkxcMyEDlm97F8mF6wFcfrQ8xUTTEZFYYQ9g/02LWeTY947ppAA?= =?iso-8859-1?Q?9huHeJGmMmVrlhVOv6R4H/JYyOxsS8xhdG2A5dTD/z7I4QObMN7E7DtIRH?= =?iso-8859-1?Q?IGDod5U9zC7x6+hTGUdkhE332DCaOnul56AqFR5IwEO+drCKaXXvFcW9yy?= =?iso-8859-1?Q?ZJtoSwSbbqPCUs4xEYjg4y/1dDNNZh1uRc+wL0Yqm6MxVi2fBdt0RBu+X+?= =?iso-8859-1?Q?CLDV/W9Neus2ulPbpFIkKbyAp4z7IZgLiJ1zVZ9lgazV5ucFwCtvjArhPv?= =?iso-8859-1?Q?nrzt0x/ZQRu1wQ9g/w724wMf812D9F8pxVXLER4/foLFtWiGdct9sf2B27?= =?iso-8859-1?Q?1TPqK46EvmJkH+ZASSjQYYb6IrKzNOBhoJZAnEAYGrF7Z04J2hMgRg0P6n?= =?iso-8859-1?Q?aOZjg1nG+RXbguR0gE0Pzgw9zGNChlKM46WvDfy9KFL+8GFajjuXFZi62Y?= =?iso-8859-1?Q?sLS0vmDh/BukJdawgpNEvLCRuP5tKCTWHI+vodSL/teX1w/oLzyr+NE7p9?= =?iso-8859-1?Q?o9kdH+lUfTAP9t9fS2A0jCZ+2MH4123LoLEEQPlq40xVSYm36hR4LgVkxo?= =?iso-8859-1?Q?8pWCIH7etySD1WP23dEMNW9zxv95GU8LPDLlbApx4teXJzlg8gD85FTKaH?= =?iso-8859-1?Q?Jr5G6x2ngo?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CH2PR21MB1464.namprd21.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b818070f-2938-4b48-58ae-08d955ff2571
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Aug 2021 21:47:38.2364 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: c27pEZFs177CMtwlXi6SFdAUAPaqAON6pe9vUjBssJ5WqNkHAiIoyJTT8AO5UPgJtJrgzBGFIlkN4DkF9+RBmRIDI3svD6LzXbqag5a44ME=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR21MB1445
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/txY8Y4g8RU3pVqHT_JXohHgOPTM>
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: Mon, 02 Aug 2021 21:47:48 -0000

I can say that Windows uses integers only, it does not use (non-integer) strings for zone-ids, and so does not have ambiguity.
Note that the zone id on a link local like fe80::1 is NOT an interface index per se, it's a link index as explained
in RFC 4007.  On Windows (and most other platforms, I suspect), the link index defaults to be identical to the interface index,
as recommended in that RFC.

Dave

-----Original Message-----
From: ipv6 <ipv6-bounces@ietf.org> On Behalf Of Jürgen Schönwälder
Sent: Monday, August 2, 2021 12:09 AM
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: cbor@ietf.org; 6MAN <6man@ietf.org>; tom petch <ietfc@btconnect.com>
Subject: Re: changes in draft-ietf-cbor-network-addresses-05.txt

Brian,

let me see whether I understand your concern. You seem to be concerned that assigning the name "5" to an interface with interface index 7 leads to an ambiguity. Well, thats likely true since we do not syntactically distinguish between the number 5 and the name "5". I would expect that implementations interpret fe80::1%5 as referring to interface 5 and not 7 (but this perhaps deserves to be clarified, if it is a number the number is interpreted as an interface index and not as an interface name). I assume the same 'ambiguity' may exist on CLI tools, I would have to go and try out what they actually do.

Regarding your statement "Remotely, there is no way to know that on my Linux machine, %wlp2s0 and %3 are the same thing.", please note that applications having access to the IF-MIB or the ietf-interfaces YANG module or a proprietary API exposing interface information will understand how interface names map to interface indexes.

/js

On Mon, Aug 02, 2021 at 09:15:43AM +1200, Brian E Carpenter wrote:
> On 01-Aug-21 23:30, Jürgen Schönwälder wrote:
> > The description statements in RFC 6991 talk about a zone index, 
> > i.e., they assume the zone index is numeric (which kind of follows 
> > from my reading of RFC 4007).
> > 
> > The pattern is flexible enough to accept a string as well (e.g., an 
> > interface name). In other words, a server may accept 'fe80::1%lo0' 
> > as valid input on an edit-config put it will return 'fe80::1%0' on a 
> > get-config since the numeric zone index is the canonical format 
> > (assuming the lo0 interface has the interface index 0).
> 
> This still makes me uncomfortable. The zone identifier syntax definition.
> in RFC4007 is pretty vague. If an implementer chooses to ignore the 
> SHOULD on page 16, it seems that a valid name for interface index 7 
> could be "6". That's why "canonical" is a bit weak. (Neither Windows 
> nor Linux allow anything that silly, of course.)
> 
> To be precise, consider these statements in RFC4007 page 16:
> 
>    An implementation SHOULD support at least numerical indices that are
>    non-negative decimal integers as <zone_id>.
>    ...
>    An implementation MAY support other kinds of non-null strings as
>    <zone_id>.
>    ... the format MUST be used only within a
>    node and MUST NOT be sent on the wire unless every node that
>    interprets the format agrees on the semantics.
> 
> Remotely, there is no way to know that on my Linux machine,
> %wlp2s0 and %3 are the same thing.
> 
>    Brian
>  
> > 
> > /js
> > 
> > On Wed, Jul 28, 2021 at 10:00:23AM +1200, Brian E Carpenter wrote:
> >> Jürgen,
> >>
> >> We are not disagreeing. These are exactly the sort of use cases 
> >> that also motivate RFC6874 and RFC6874bis.
> >>
> >> But I have a question. In the management plane, do you think that 
> >> the zone index (an integer) is the item of interest, or a zone 
> >> identifier (a string)? The description at
> >> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fd
> >> atatracker.ietf.org%2Fdoc%2Fhtml%2Frfc6991%23page-20&amp;data=04%7C
> >> 01%7Cdthaler%40microsoft.com%7C97af2d86016a459f696e08d9558475ae%7C7
> >> 2f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637634849687636890%7CUnkn
> >> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha
> >> WwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=chsLlIl1jF0ur69C40qQmykxHdMOFVVm
> >> n%2F76Dz5Tels%3D&amp;reserved=0 only says that the numerical format 
> >> is "canonical".
> >>
> >> Regards
> >>    Brian
> >>
> >> On 28-Jul-21 09:07, Jürgen Schönwälder wrote:
> >>> On Wed, Jul 28, 2021 at 08:04:16AM +1200, Brian E Carpenter wrote:
> >>>> On 26-Jul-21 23:49, tom petch wrote:
> >>>>> From: ipv6 <ipv6-bounces@ietf.org> on behalf of Brian E 
> >>>>> Carpenter <brian.e.carpenter@gmail.com>
> >>>>> Sent: 25 July 2021 00:44
> >>>>>
> >>>>> There's an "interesting" issue there, especially for IPv6, which 
> >>>>> is
> that the interface ID (or "zone index", per RFC4007) has no meaning 
> outside the host. So it really shouldn't need to be sent on the wire in normal circumstances.
> >>>>>
> >>>>> (The conversation around RFC6874bis is slightly relevant.)
> >>>>>
> >>>>> <tp>
> >>>>> Brian
> >>>>>
> >>>>> As I may have said before, the YANG Types RFC6991 provides types 
> >>>>> for IPv4 and IPv6 addresses both with a zone index.  It also 
> >>>>> provides no-zone
> >> types with a suffix 'no-zone' on the type name.  I see evidence 
> >> that most authors of YANG modules do not realise that a reference to 'ip-address' per se is a reference to the format that includes the zone and so have specified that format in many if not most cases.  Thus it seems likely that many of the addresses on the wire are in the zone format, even if the zone is rarely present.  With hindsight, it might have been better to have specified 'ip-address' and 'ip-address-zone' rather than ip-address' and io-address-no-zone'.
> >>>>
> >>>> Makes sense. The reply I just sent to Christian Amsüss probably
> applies to YANG too. Sending a zone index to another host is rarely meaningful or useful.
> >>>>
> >>>
> >>> YANG was designed for network management purposes and there are 
> >>> quite some use cases where communicating the zone index is somewhat essential:
> >>>
> >>> - If you want to debug a problem, you likely need to know to which
> >>>   link a link-local address belongs.
> >>> - If you want to generate statistics for protocols using link-local
> >>>   addresses, you likely need to know to which links the link-local
> >>>   addresses belongs.
> >>> - If you want to configure a service to use a certain link-local
> >>>   address on a certain link, you may have to include the proper zone
> >>>   index.
> >>> - If an IP address is used to index lists, things can fall apart if
> >>>   you end up with duplicate link-local addresses on different links.
> >>>
> >>> Whether we should have picked different names for the types may be 
> >>> debatable but at the end it is the YANG module author's 
> >>> responsibility to pick the appropriate types.
> >>>
> >>> In other words, network management applications often need to be 
> >>> aware of zone indexes in order to do the right thing. This is 
> >>> different from end user applications (that usually have no topological awareness).
> >>>
> >>> /js
> >>>
> >>
> >> -------------------------------------------------------------------
> >> - IETF IPv6 working group mailing list ipv6@ietf.org Administrative 
> >> Requests: 
> >> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw
> >> ww.ietf.org%2Fmailman%2Flistinfo%2Fipv6&amp;data=04%7C01%7Cdthaler%
> >> 40microsoft.com%7C97af2d86016a459f696e08d9558475ae%7C72f988bf86f141
> >> af91ab2d7cd011db47%7C1%7C0%7C637634849687636890%7CUnknown%7CTWFpbGZ
> >> sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn
> >> 0%3D%7C1000&amp;sdata=Ft619aB5dy1pEjf%2BKLuLROiYuvDZzdzsLtnF8tZ43sQ
> >> %3D&amp;reserved=0
> >> -------------------------------------------------------------------
> >> -
> > 
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: 
> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> ietf.org%2Fmailman%2Flistinfo%2Fipv6&amp;data=04%7C01%7Cdthaler%40micr
> osoft.com%7C97af2d86016a459f696e08d9558475ae%7C72f988bf86f141af91ab2d7
> cd011db47%7C1%7C0%7C637634849687636890%7CUnknown%7CTWFpbGZsb3d8eyJWIjo
> iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp
> ;sdata=Ft619aB5dy1pEjf%2BKLuLROiYuvDZzdzsLtnF8tZ43sQ%3D&amp;reserved=0
> --------------------------------------------------------------------

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.jacobs-university.de%2F&amp;data=04%7C01%7Cdthaler%40microsoft.com%7C97af2d86016a459f696e08d9558475ae%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637634849687646845%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9lZP9EDMFdnwqoZK5R07PNAfgk5SjhTjKVWEscnBBWI%3D&amp;reserved=0>

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fipv6&amp;data=04%7C01%7Cdthaler%40microsoft.com%7C97af2d86016a459f696e08d9558475ae%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637634849687646845%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=WiI313YbpnNllsVBQ4u0jNCA5yf7owmWWyU74lr49IU%3D&amp;reserved=0
--------------------------------------------------------------------