Re: [netmod] YANG definition of MAC address

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 01 April 2020 11:01 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 C2CA73A08AB for <netmod@ietfa.amsl.com>; Wed, 1 Apr 2020 04:01:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=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 CycrW1HJxds0 for <netmod@ietfa.amsl.com>; Wed, 1 Apr 2020 04:01:16 -0700 (PDT)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-am5eur02on0616.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe07::616]) (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 97DF03A08AA for <netmod@ietf.org>; Wed, 1 Apr 2020 04:01:14 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZvqmGTS1nrlMjtaFleWHNMfn9X4yk7Wd7XSw3tR6APL7Z0fDjrCnI4tZQzEbVuJB4MJHzTz1Yvahy43poS9AyMCG71h8sIXn3OEWiL71mdYDaHzvcY+v7Dnqa1jktimkutZwHz+8BwxSp6Vjh7CdC3XRao4pBH9y/uAprnsPP1O1qAG+IX/kouSfkjmYjlSjU0n6jB4sVeSiwscFhIcNkVT8h05GaCN2LdjKc9l1uRz4L72eIHrXjq8p6g5QV4NaRf88ngTepCX605AZgMmaXv6QZtSvYfgVdERdDlzf36zyQBnrgTkahJFsK4/oP82k68KsCUMFptF4CnwmtI8ABQ==
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=M1VhXSzuI1eIheceWM/PnsOihyqQS1jt5SfkbzzHaDE=; b=aPuHg1/dd0i7W6cX4dz1wp72s/rEL53sUCngiNFhH8JewQjSU1g2ON+KHmSbtjFYKoixX+mRhd8RoFI/KjulFgpOSuV1gu2kMO9l7LKhGvoSY+EkgZHX9xE2X5Qfr0z1Dasw5OdICL70OcKEQ6teEe5VuAV9McXjNX9bfZ69rk4S76fhlXCWacreSMbDR5mt4A0nwyIWkHqudzbOUSBYbOuyJRuWXD5vWQFwLq6mGE2c2b/eIDLZiRTf9D002rKc5uCitD8mHhRnOULYMja1hUzbRIrIrjQNxKoyEwB+qoot6QxS+0DtU4J/7Kn9KsabwvDwy4h/KPEyH3/Zygtm+g==
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=M1VhXSzuI1eIheceWM/PnsOihyqQS1jt5SfkbzzHaDE=; b=sLFmURtSA74c2rP+lrnTZ/ie4l++8N+cc8JuvL1qXmZeqbONsTAU08JV9mBda/TLK/UcZu4M6dWFWPy1OF4grflydI9ZAIoljd7rrLjgZzjpch+AC58l7LOC9gxMWR7DOYhvQVIvzlgE5QKvFjJL4EsAB54wrRsTEAmLOnSdrdo=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=J.Schoenwaelder@jacobs-university.de;
Received: from DB6P190MB0310.EURP190.PROD.OUTLOOK.COM (10.165.186.141) by DB6P190MB0501.EURP190.PROD.OUTLOOK.COM (10.165.167.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Wed, 1 Apr 2020 11:01:09 +0000
Received: from DB6P190MB0310.EURP190.PROD.OUTLOOK.COM ([fe80::b999:3826:8a06:8653]) by DB6P190MB0310.EURP190.PROD.OUTLOOK.COM ([fe80::b999:3826:8a06:8653%6]) with mapi id 15.20.2856.019; Wed, 1 Apr 2020 11:01:09 +0000
Date: Wed, 1 Apr 2020 13:01:08 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>
Cc: NetMod WG <netmod@ietf.org>
Message-ID: <20200401110108.zpxbc5q7xis37dpy@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: "Rob Wilton (rwilton)" <rwilton@cisco.com>, NetMod WG <netmod@ietf.org>
References: <MN2PR11MB4366ABF427070927849E4A03B5C90@MN2PR11MB4366.namprd11.prod.outlook.com>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <MN2PR11MB4366ABF427070927849E4A03B5C90@MN2PR11MB4366.namprd11.prod.outlook.com>
X-ClientProxiedBy: AM4PR0101CA0045.eurprd01.prod.exchangelabs.com (2603:10a6:200:41::13) To DB6P190MB0310.EURP190.PROD.OUTLOOK.COM (2603:10a6:6:3e::13)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from localhost (2001:638:709:5::7) by AM4PR0101CA0045.eurprd01.prod.exchangelabs.com (2603:10a6:200:41::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15 via Frontend Transport; Wed, 1 Apr 2020 11:01:09 +0000
X-Originating-IP: [2001:638:709:5::7]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 70b518ac-56d2-4b6f-c1e0-08d7d62bfbee
X-MS-TrafficTypeDiagnostic: DB6P190MB0501:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <DB6P190MB0501B17B00515064834E6C2ADEC90@DB6P190MB0501.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:8273;
X-Forefront-PRVS: 03607C04F0
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6P190MB0310.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(39850400004)(346002)(376002)(396003)(366004)(136003)(5660300002)(81166006)(66556008)(66476007)(66946007)(4326008)(6486002)(86362001)(52116002)(6496006)(6916009)(186003)(1076003)(81156014)(3450700001)(786003)(316002)(966005)(8676002)(16526019)(2906002)(8936002)(478600001); DIR:OUT; SFP:1101;
Received-SPF: None (protection.outlook.com: jacobs-university.de does not designate permitted sender hosts)
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: rJKwAm9DGiYC3xBVk0r9eog0CqtrZeK3mHfe4SoqhYy5gu4lG7O9IufBwboI+sK94wvxHW81LXqQwr/zY/45QTWnG2RXTmDPLkfY0IdAu/Y2ViDqYYxsOTqT4UY+AZpr4JDCVLKeISJVRH06sJ8DArNGfQALcb11BlMTm+X0Q6/y9QbOQwYWZQCEx1p/LFjyIqjM43VHQHtvpXCzYk+PFeXv+Q3Fkh7N5BFj8Hk5TYo0DrIZKZYZLwX+ApWkmEHlkYUAHGw3AgHOur/CQGLpvp5Ca8E5mJ/XUfueNfYoSZWor52/21BjpmKq5tRieum6nvU3cz2iviAiKXA+y+VyKMHUP357a8p/mRiQcsc/pEf3K3WgcdO0/5wQkB09RfaQjn8PbTj0pdpBeqE9O1+Z7dfLzJYJBUinKG4LJNGwWs8wEFIGXCC3CFfyMHgnhAjzq6pvwoa3zf92naG8E91vd6A2oUCHOjl23Qi97eOGZt543smIxEhKgNUY5TQt1uoUfDOX4q2ARifkDA1ahhYXpw==
X-MS-Exchange-AntiSpam-MessageData: JAb/W/vJouQuH8Y/eLK+B1MV3zNIPGtfkjeFeHyzIGx1fQoypR1rCQVIdEIVV9lX3NWYC7GqYaNKC7V3DuJ8df6dkfmplstDVPuDpMr2jsU8NaYSgmnaTK7vwmMYthYFz864DllWSG5FRtQJR0NLTw3daNGzDFH5OgumAPFYN/Y=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 70b518ac-56d2-4b6f-c1e0-08d7d62bfbee
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Apr 2020 11:01:09.6299 (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: Ge8VH3Gh4+e16KxHeZNvjwTuuPiH5JBOzfcf/owXOFazhvDIYfSrdopr3xDIn3gRO5JTv0df6wBs20YRu5j5Jx1WmINfL5UaexSnIhQ1fYc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6P190MB0501
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/x4681JXijDlztu7q38tCuQFtucE>
Subject: Re: [netmod] YANG definition of MAC 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: Wed, 01 Apr 2020 11:01:18 -0000

On Wed, Apr 01, 2020 at 10:20:10AM +0000, Rob Wilton (rwilton) wrote:
> 
> IEEE has their own definition using dashes instead of colons, i.e. the pattern is "[0-9a-fA-F]{2}(-[0-9a-fA-F]{2}){5}".
> 
> E.g. from https://github.com/YangModels/yang/blob/master/standard/ieee/draft/802/ieee802-types.yang
> 
> There has been some suggestion from folks in IEEE that they would like us to deprecate the IETF definition and migrate to the IEEE definition.  However, this would end up being an NBC change and doesn't seem to be great from an interoperability POV.
> 
> Another, possibly more pragmatic, suggestion would be the change both definitions to accept either ":" or "-".   I.e. the pattern statement would become:  "[0-9a-fA-F]{2}([-:][0-9a-fA-F]{2}){5}";
> 
> What are folk's opinions of including this change in RFC 6991bis?
>

As of today, you can't change the definition, you can only deprecate
it and create a new one. On the technical side, we like to have
canonical formats, so the debate what is the canonical format would
still exist, even if we allow both formats as valid inputs.

Given that the colon format has been around for way more than 20 years
(see for example RFC 2579, STD 58), this exercise seems like a waste
of energy, it might take multiple decades to get changes widely
implemented and deployed.

/js

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