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

Jürgen Schönwälder <jschoenwaelder@constructor.university> Fri, 24 March 2023 23:32 UTC

Return-Path: <jschoenwaelder@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 7D824C151522; Fri, 24 Mar 2023 16:32:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.797
X-Spam-Level:
X-Spam-Status: No, score=-6.797 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTTP_ESCAPED_HOST=0.1, HTTP_EXCESSIVE_ESCAPES=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-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 (1024-bit key) header.d=jacobsuniversity.onmicrosoft.com
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 tG9lnZ9lYcY8; Fri, 24 Mar 2023 16:31:58 -0700 (PDT)
Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2062f.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eaf::62f]) (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 C56C5C151547; Fri, 24 Mar 2023 16:31:53 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iy/N+2Ly/dnBUMrd3ZNYpas9hNhHy9EV7SHCD3y6ln9ha2is/H9QQ+Q+2U+LfpGNx4X4qqFDI/RJgRgkYPbR3KA9ewk6reI0Kz5Me3fxJG0JUVbAuGux0XL0acJYdakVvjKMwy+iUCnivcFzfvNVaTaz06P7RhHs+RmUUenG1mlnTy/JtiGcBYCm2GEUtgAww6GTFWCBACytZVlItTVoAzEvlNsFYduxe3E2yHSpTeGsM6twkRmdpLhrc6SoyDjZlxS6OhlSr3pF8Wb09oK1NSuN8Tnl4xz0IYpPZEeU37Eg6qUJN9wVnfsaJNcbF/NtawmIQZfBeRDxMBjp+ByhWA==
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=6NYwZCJOad8DguMb5iJ7Fk11Ldkhv4R9NpJJD6WZi4I=; b=G7n17K8X/L/3XOoLVjddPzjPywD1BJNojTDnPYd9aWtEVjhVk9pEUceDj4EZGKiEtfDBZQhGB+7nlfe6EZOfkSOkcG5aTniqpFCtZHTZkFzKSbdDHdb9KFrkmdhWLEwjK1qNwK19F6cvUdrOOytk/K8uCY1r2HyaC+gkLtGHjkZL8yFRLkZ3uHlGvbIl//gB9giNt+u2NF/y/NhfpvhwL70WWcPAnpJqHDBsH/3shWJKzeUo3twirZJ8CIx7UjltAjudq/VckkYsYbsRPidNVMnkJWA8kDMLPW/CyiLqhN1e35l0jS4gQaYnFR0ISuJBdPLIeKOxgBaJzJyBUojD+A==
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=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6NYwZCJOad8DguMb5iJ7Fk11Ldkhv4R9NpJJD6WZi4I=; b=TOhBDFqXIRhmFozbFwpdcaoSh1waQGe6hibYSn2n3PgYgVq34TWh5fZde60wn2n7FqAbD8aDaBC1oJPj9ju/+7RIaXk0Y1FQ6DL35YRyfoiJA/k9CYZBctZmECeHRHw0HlY3hZr7HFOdkn1P/xC5OG7eI2tL1mUWOeT26ds+jAE=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=constructor.university;
Received: from AS8P190MB2007.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:529::13) by PA4P190MB1054.EURP190.PROD.OUTLOOK.COM (2603:10a6:102:102::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.40; Fri, 24 Mar 2023 23:31:49 +0000
Received: from AS8P190MB2007.EURP190.PROD.OUTLOOK.COM ([fe80::9619:2abd:f241:d39f]) by AS8P190MB2007.EURP190.PROD.OUTLOOK.COM ([fe80::9619:2abd:f241:d39f%4]) with mapi id 15.20.6178.038; Fri, 24 Mar 2023 23:31:49 +0000
Date: Sat, 25 Mar 2023 00:31:47 +0100
From: Jürgen Schönwälder <jschoenwaelder@constructor.university>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: "Rob Wilton (rwilton)" <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>, "draft-ietf-netmod-rfc6991-bis.all@ietf.org" <draft-ietf-netmod-rfc6991-bis.all@ietf.org>, "draft-ietf-6man-rfc6874bis.all@ietf.org" <draft-ietf-6man-rfc6874bis.all@ietf.org>
Message-ID: <20230324233147.gp3fs4c7xogaq4i6@anna>
Reply-To: Jürgen Schönwälder <jschoenwaelder@constructor.university>
Mail-Followup-To: Brian E Carpenter <brian.e.carpenter@gmail.com>, "Rob Wilton (rwilton)" <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>, "draft-ietf-netmod-rfc6991-bis.all@ietf.org" <draft-ietf-netmod-rfc6991-bis.all@ietf.org>, "draft-ietf-6man-rfc6874bis.all@ietf.org" <draft-ietf-6man-rfc6874bis.all@ietf.org>
References: <BY5PR11MB41966FD2ECEFB84708C5A325B5869@BY5PR11MB4196.namprd11.prod.outlook.com> <20230324132956.pzv3c6dp66ugulxh@anna> <42574e30-a95a-8a79-611c-b9db03f6e98d@gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <42574e30-a95a-8a79-611c-b9db03f6e98d@gmail.com>
X-ClientProxiedBy: AS4PR09CA0011.eurprd09.prod.outlook.com (2603:10a6:20b:5e0::13) To AS8P190MB2007.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:529::13)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: AS8P190MB2007:EE_|PA4P190MB1054:EE_
X-MS-Office365-Filtering-Correlation-Id: b8fd15d5-972d-4e40-b6ca-08db2cbff06f
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: Fe/AWLkFhXxLAb3oDhrKB3aEVQE6ZerPiQSQaBUZroThF8Kc4AM2rs+hrlSld6GSh+knwFv+ocfvJ1OyqkNtd2PCfZRpNLor8NmIzHK7vSZTOIfhFkbSM2zHqZlFp9+xDvG3oPC9/evAPSSyGNoJ/Q2avTCKptudsNMtU0/LTnVEeTGoMSFiZV9e9qzq1PUqpVaAOmbluvFGNvqgz+a1uqJkJu9wwYu0+4kthLQolZVmOm+sB6rDWUpn7Cxketw6q3Yfbnkr4bqJQJIbOdBFUjdfMLZXqmGmjqyPKHUHNEd0GVhr0znfoK3+zjO0SH8KyGqdrb6dW/f2Hlv7f4u/F6XfLa1ccP1h6eu2o8pkMRx1GOkCkOYJwyLCM62g5Iqyx4Kpt+g4iTExAQNFIUU9prXYw4RTxvu9lLOhJfxjAJAPnxLvway3f6UBKhxEz6eO852ctNol/AVAjVSXHQGIrHGpNze8P8MYKL5pUsjct8iby2xyHik+KD4EsymSSlDDV44c7+AFAcX76H0UDRN0PHJWbbuwhTUlwuIvocr5cUgvMBVlFFEa9bjOU3fiJofn1y/Wi9H1GHmkIpPFw88hn7EuxMJXdTae3skDi5wYt2EhFJ6kp9nLKq18NmzA8biu
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8P190MB2007.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230028)(7916004)(136003)(376002)(346002)(39860400002)(396003)(366004)(451199021)(9686003)(6512007)(6506007)(1076003)(26005)(33716001)(2906002)(478600001)(3450700001)(54906003)(53546011)(186003)(66899021)(86362001)(966005)(52116002)(6486002)(4326008)(85202003)(38100700002)(38350700002)(6916009)(8676002)(66946007)(66476007)(66556008)(41300700001)(786003)(316002)(40140700001)(41320700001)(5660300002)(8936002)(85182001)(46492015); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: sEuGbKqtymhjv4B73BlyED9l1VDh8ewTCZTcNZQAXh/8lyBCqOsawpVlwDxHHYJtDe+2orEVKvjlXZqLFrTNBIWHjYCYD7lCOTb0DA/Ce77pE6P0815ItAjWM3o9a6oTtP+wFNSjDDZTKlq7HdD34r7RzthNwaJtUdTsNKos9F4h29uhEZUAzWpXlu89sb7DPQs6sjiMMrJ6YHCjn5yBavg5iCqAJ0rRcb7H/pZqJuvOkgquD/BtSHUNGGzrKeCnzLfxpK7QbfTPoLLbhwCXk3FocPSZI5BDCCWf2be5++juUoeJl4Km3lQB6VeZYAOXwNGtj3TELaSFsqhcm8QZSFJkllSRWf4izZrY25KdH0gHjroWMkELdVeXI360M0ry/Tolm31PFd8xSvy3k+R+XTu4Dg0/lQ1LlGuPgP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RA/Gqg6JxDt9pzNPMugEAy7DsHE4wbw+u7Iogk2aIxt6PYrcNy73XFM/kj08IDHLSPFpVSvWw4Pq51EuFd5igxuoVfFLDuhgLipH60QlrWmnUSreyVdoUaGHPYUTyVxppGdBjeY9BDIQ=
X-OriginatorOrg: constructor.university
X-MS-Exchange-CrossTenant-Network-Message-Id: b8fd15d5-972d-4e40-b6ca-08db2cbff06f
X-MS-Exchange-CrossTenant-AuthSource: AS8P190MB2007.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2023 23:31:48.9160 (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: vfN0HcFy7fK6NAMZLEHsnMZebPxoFbEwvpxUXtHphOqrFujcR7+KM6hE/HkH5GV02wW9AfmJUCQ4fGP4m2pIhoIii1wcHIeJ7dW58QsIR/8=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4P190MB1054
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/J0I8IyrJ_uuZt3MBESE-ZdVLwcA>
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: Fri, 24 Mar 2023 23:32:03 -0000

On Sat, Mar 25, 2023 at 08:31:28AM +1300, Brian E Carpenter wrote:
> On 25-Mar-23 02:29, Jürgen Schönwälder wrote:
> > Rob,
> > 
> > using '"(%.+)"' in the IP address types may be the most liberal answer
> > and in line with the interface YANG module. Applications using
> > draft-ietf-6man-rfc6874bis will have to resort to %-encodings to deal
> > with forward slashes and the like, which likely is OK in the web
> > context.
> 
> But they can't, under the ABNF proposed by rfc6874bis. It isn't obvious
> to me that percent-encoding is "legal" anywhere in the host part of a URI
> (although https://w%57w.ietf.org does appear to work, which demonstrates
> both percent-encoding and case-folding). Current practice for "%" inside
> an IPv6 literal varies between browsers.

Yes, you are right.
 
> > I do not think we can make the assumption that interface names are
> > case insensitive. On Linux, it seems very well possible to have
> > interfaces that only differ in case. But this would be more an issue
> > for draft-ietf-6man-rfc6874bis and not for YANG data models.
> 
> Agreed. But the case-insensitivity of the host part of a URI is
> 100% clear. So even if Linux allows this, it's never going to work
> in the URI context (and the draft already makes that clear).

Yes, but in the YANG context, we can support case-sensitive names.

For the URIs, we got IPvFuture but that there could be case-sensitive
elements in an address was likely not anticipated. Future-proofing is
hard.

> > I do not think that defining a new zone name type and then to have
> > mappings to this new type makes sense. Existing implementations and
> > APIs use interface names. Deploying a new indirection may take
> > forever.
> 
> Agreed. That's why the draft says what it now says, as a practical
> matter. Jürgen, have you checked this paragraph?
> https://www.cs.auckland.ac.nz/~brian/draft-ietf-6man-rfc6874bis-06X.html#section-1-5
> > Concerning your second question, I believe that changing the canonical
> > format of typedef is a backwards incompatible change and hence I kept
> > the numeric version. At the end, both, the zone name and the zone
> > number have only local significance. The main difference may be that
> > the name may be more stable than the number across device reboots.  If
> > I would start from scratch, I would prefer to use the name for this
> > reason.
> 
> I'm not sure why the name is intrinsically more stable than the number;
> in Linux (today) the name will change if the MAC address changes when
> a card is replaced, for example.

I was alluding to systemd, which tries to provide predictable
interface names. There is no 100% stability guarantee but apparently
some people do care about keeping interface names predictable.

/js

-- 
Jürgen Schönwälder              Constructor University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://constructor.university/>