Re: [netmod] inet:ipv4-address

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Mon, 10 May 2021 14:14 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
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 39FE83A1E3E for <netmod@ietfa.amsl.com>; Mon, 10 May 2021 07:14:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, 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=jacobsuniversity.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 FZvTn83Sju6o for <netmod@ietfa.amsl.com>; Mon, 10 May 2021 07:14:12 -0700 (PDT)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50081.outbound.protection.outlook.com [40.107.5.81]) (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 DBB3F3A1E40 for <netmod@ietf.org>; Mon, 10 May 2021 07:14:11 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T8SBtfaMPjRFFNwJl/YvTFnGgjuohPtK/bU4nrxbN4s7cyq6NwukqoYI0hEVgy5iO8MYwPdCvGxsPS+ISddH8+PTFK4TLTp/w+dKIWe0S8+56KARVH95sNsjtgQ7cwOIgrNWPkK3P8pyZd2Got9d3+xPYi5zpv4sq2KMMy7ucvxKhXOIDgTe9ZVuP3i5DIjufmG3QOLL7fvKau2v5qD3bVuL2nII6v1fOjcNL27iCGK+kI9sGCtiGDRNFYHq8ZaOfouLOJ2cWLzUxflO1vL8Uj++MFihsuHttCEhowLWt2IYXo76JwHe+rCsTAdQJ9q5WkV5XQW4ErPSkoer6OUNoQ==
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=iMFmCRvDqzh831qqEVIOxADN3x6DG7XRCmeCNgmeT+M=; b=UGU+Hy+jAwscpL0o4I7IQmlaCLHwSxSyS3mMJSKIcU3YNVxCifPkSb1uEAVcRPfxZ8ugqbBBuLnq++KzhSSwZZoYpTr3Bw7u1Bu54g+2YSok/JZ3UBJrV43jyvx++MQ4slDQJhzoYEwMdC66S74o7Zf+MfvsYmtrwxmIjCj8T1INcu9GHYJssKtDPS2tM/4GkJV7mw00SGF0/YcuCuqTDpxSEef2YWsmrVYCh9LovQqKk8dn0MhAPWD86MJU0Ed7wRGzTPxkc09lTk6WxjgelMVeKjMgXj41qeV3Nux/opEeBUSkaZmF76d8HPdvM4hS3pHuGvGV/r0JiXHrhPPADg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; 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=iMFmCRvDqzh831qqEVIOxADN3x6DG7XRCmeCNgmeT+M=; b=RyR7qBYpBfpkDEwLFSl7kTjyZXOvvC1+Gl1TxwvZ+NGdRcek4E7kq8G0ZdVSLS78nEqAtqxcy1N25L57aaCEygQ3lCL/GpeG8LjBAvGY6Uqa/nSAiQ1rpSUwI8dM3AV4l5W3eqH64TX3Wd/FxWXno4rQrm/rrIy8XA9TT1QGqEo=
Authentication-Results: labn.net; dkim=none (message not signed) header.d=none;labn.net; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM8P190MB0804.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:1d2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.24; Mon, 10 May 2021 14:14:09 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::fd93:9b33:ac92:ea58]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::fd93:9b33:ac92:ea58%9]) with mapi id 15.20.4108.031; Mon, 10 May 2021 14:14:09 +0000
Date: Mon, 10 May 2021 16:14:08 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Don Fedyk <dfedyk@labn.net>
Cc: Christian Hopps <chopps@chopps.org>, Ladislav Lhotka <ladislav.lhotka@nic.cz>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20210510141408.pwkmm753xrmpc2xt@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Don Fedyk <dfedyk@labn.net>, Christian Hopps <chopps@chopps.org>, Ladislav Lhotka <ladislav.lhotka@nic.cz>, "netmod@ietf.org" <netmod@ietf.org>
References: <m235uw6bo6.fsf@ja.int.chopps.org> <146567e9-3515-a3fb-7b8d-c30210385fc1@nic.cz> <m2wns73x2z.fsf@ja.int.chopps.org> <MN2PR14MB403067EF1355E0472A863BC8BB549@MN2PR14MB4030.namprd14.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <MN2PR14MB403067EF1355E0472A863BC8BB549@MN2PR14MB4030.namprd14.prod.outlook.com>
X-Originating-IP: [212.201.44.244]
X-ClientProxiedBy: PR3P193CA0048.EURP193.PROD.OUTLOOK.COM (2603:10a6:102:51::23) To AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from localhost (212.201.44.244) by PR3P193CA0048.EURP193.PROD.OUTLOOK.COM (2603:10a6:102:51::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 14:14:09 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 6ef1dc49-4f40-4982-aafa-08d913bde0e6
X-MS-TrafficTypeDiagnostic: AM8P190MB0804:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM8P190MB08049959DF8FA006D47E2449DE549@AM8P190MB0804.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:9508;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 8bapV/7zNQ8OlQ6PdcncXvMd5w4OpjAlZmchMFtBCho417c5N2VDjvGqNRJHRBYx8RsuHyoiTNrfr+gdUiWASW9WfkvuhVuWUTk57vSO9hbrsugNUg4RqF31ZBns7LnLbJFqDzK+SICHRZN/L25rGCoosfOPY8KeHDHa0jbIx+uYcQUDutnTtoPk1Wgz6JKO9cxoZ+tX932UQgzVgKcrvuz0Tb9OG5Gvmh8OeOYpq4VESXLX2sq9KGXRsA7uvKmzdqlbTWe6DbVBWlAJCAZcJni9l5UIUrRtXuXPBONL64Wm1fRv2Nber/+gBDeEV+DJ3ROnXZUfaJpc7gBo2lDE+nWk6BPfZ1i5gqx9v/WbnnlGZoWng5z5Uh2Mrrxj2L0NSF0C5LEh9LuKilkGEczJMAb09Jrd4yuLxLMOqlsBeqzln3RWCcr0xAFaKKyYHpdAgaVDPUEJZRImfdTOWek/oPNHs1PIKJd0ZsQXOmW3+R6a+e0GI6UHr5ykkXIYZ4BDvNeC9BJtujS9rEZxMfE2iBRTAL/ji65F9y8MZ3iwGxwT5rQdZ3r0+0gZD1J3HrJ+LA2dKscUB3ZVcfu5yBdyXIpjX17ZWKCshEGUL4t1H9KKminAKS1CHv/Q0YRbTUiI3dUP7uTJtYzUkew2JvHXmi4PB9TvJHGUPBAkMC/fkjWBCDLvRd0v78+BhDLeBPH5fV+oKDeKR7PvB01VXRWaJvklUzVVCTJE+BARwwL+TOyNsI6XJtsX4ITBPcD/pC1q6woFLzV81Hg8ap2Ife8nCg==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0P190MB0641.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(346002)(39840400004)(136003)(396003)(376002)(366004)(5660300002)(3450700001)(66946007)(54906003)(786003)(38350700002)(26005)(6916009)(16526019)(186003)(86362001)(2906002)(316002)(66476007)(4326008)(66556008)(6486002)(8676002)(8936002)(478600001)(38100700002)(966005)(6496006)(52116002)(19627235002)(956004)(1076003)(83380400001)(53546011); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData: 1CFbwbdjpChsqrMIZCgRtTyaphoUOo9SErNQpqjoFc3cDJu0TDYp1pO/eSUwyi5MfbyMKxyfVu1RSdu+uHb0A8Wqd0QyfY3en8QYuvvCjIylQ3N2Y0fIvkWA8SPsWvof4vx/RuwlynqMYP5ZWjzfJA4cIPd02f/3g8gtHlUo6pL/L9zLPR0/GAynsG3C6Y+To5nlOoK7OXt2AmlqJ3/LFwArdTbIAQKbtypk4OF5Qds/obbxhf2TnG7mydcqnuVP1GVXNPdCsyaMEcTmOEJU1T+rfO0ZHITuZZ0i/MhEFynersgiaV8s004RY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-Network-Message-Id: 6ef1dc49-4f40-4982-aafa-08d913bde0e6
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 14:14:09.4129 (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: JmVqE60yHWYh2QsjnNNKN0ggjoHJXppYdpSA5pudwCalxvh+S7reKwpGGoPizxUnpj/2BhYCPFip8W4du59bKGAC165toW4NSNY43FyrK2U=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8P190MB0804
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/IR0MwPxlVzWWngVVBUs9IjBn6eo>
Subject: Re: [netmod] inet:ipv4-address
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 10 May 2021 14:14:17 -0000

The zone identifiers you find in practice are either numeric
(interface indexes) or symbolic interface names, this is also stated
in the description.

          The zone index is used to disambiguate identical address
          values.  For link-local addresses, the zone index will
          typically be the interface index number or the name of an
          interface.  If the zone index is not present, the default
          zone of the device will be used.

in other words, its 'not usually very long' but there is not concrete
restriction. Note that the interface name leaf in RFC 8343 also has no
restriction.

/js

On Mon, May 10, 2021 at 02:02:01PM +0000, Don Fedyk wrote:
> Thanks - In DetNet we have an ID in progress we should change from type inet:ip-address to inet:ip-address-no-zone. I did not know that. 
> 
> My other thought is since the ipv4-address (with the zone) is of format "127.1.1.0%AndAUnterminatedString..", shouldn't every use of ipv4-address type also have a maximum length restriction? - If not - what controls the Maximum length? It is good practice to have maximums on input strings and I have come across xml validation rules that require exceptions for long strings - and the definition long is not usually very long.
> 
> Thanks
> Don   
> 
> -----Original Message-----
> From: netmod <netmod-bounces@ietf.org> On Behalf Of Christian Hopps
> Sent: Monday, May 10, 2021 2:46 AM
> To: Ladislav Lhotka <ladislav.lhotka@nic.cz>
> Cc: netmod@ietf.org
> Subject: Re: [netmod] inet:ipv4-address
> 
> 
> Well you were right, ipv4-address is used all over the place and it probably shouldn't have been. Chalk another one up to sticking to the rules even when it harms us.
> 
> Thanks,
> Chris.
> 
> Ladislav Lhotka <ladislav.lhotka@nic.cz> writes:
> 
> > On 09. 05. 21 1:26, Christian Hopps wrote:
> >>
> >> How did we end up with "ipv4-address" being a zoned IPv4 address and 
> >> having to use the non-obvious "ipv4-address-no-zone" type to get the
> >> IPv4 address type used by everyone, everywhere?
> >
> > It was discussed e.g. in these threads:
> >
> > *
> > https://mailarchive.ietf.org/arch/browse/netmod/?gbt=1&q=subject%3A%22
> > draft-schoenw-netmod-rfc6021-bis-01%20(20130204)%22
> >
> > *
> > https://mailarchive.ietf.org/arch/browse/netmod/?gbt=1&index=gcMx6c-NF
> > t2UCbtBFi7BsUWf0EU
> >
> > Lada
> >
> >>
> >> I see that OpenConfig chose the opposite meaning for the "obvious" 
> >> names (i.e., you want zoned addresses you use "-zoned" types e.g., 
> >> "ipv6-address-zoned").
> >>
> >> Thanks,
> >> Chris.
> >>
> >> _______________________________________________
> >> netmod mailing list
> >> netmod@ietf.org
> >> https://www.ietf.org/mailman/listinfo/netmod
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>