Re: [netmod] YANG definition of MAC address

"Rob Wilton (rwilton)" <rwilton@cisco.com> Wed, 01 April 2020 14:25 UTC

Return-Path: <rwilton@cisco.com>
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 BC0B13A102A for <netmod@ietfa.amsl.com>; Wed, 1 Apr 2020 07:25:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level:
X-Spam-Status: No, score=-9.598 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=d1ktRzD3; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Ez7TJsIq
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 vD6-yslq1aOs for <netmod@ietfa.amsl.com>; Wed, 1 Apr 2020 07:25:25 -0700 (PDT)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE91C3A1029 for <netmod@ietf.org>; Wed, 1 Apr 2020 07:25:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2125; q=dns/txt; s=iport; t=1585751124; x=1586960724; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=yLrd7eqymyiF4N3QO5h6hYQhIa1BZEU2KPE/wQ0XP6Q=; b=d1ktRzD3Lp7ELmBM7M/QSIbLaAdj2k36Ngv3cr/u7rZewyOCfxK1clCB Qy04XDvzY9bsrK03/LC0MAAQ5BTZGM/Xs5aADFYk50c8Og/ptasa50Hxw 8CCV1KOEX2OTlpNfYK7fcSQ3v+8SvfZFSWIwbwtqSzra3pnHe+m8/7WCK w=;
IronPort-PHdr: =?us-ascii?q?9a23=3ADfNbhxfQyvS4IBGjQkb12PurlGMj4e+mNxMJ6p?= =?us-ascii?q?chl7NFe7ii+JKnJkHE+PFxlwGRD57D5adCjOzb++D7VGoM7IzJkUhKcYcEFn?= =?us-ascii?q?pnwd4TgxRmBceEDUPhK/u/dTM7GNhFUndu/mqwNg5eH8OtL1A=3D?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CYBQCJo4Re/4gNJK1jAxwBAQEBAQc?= =?us-ascii?q?BAREBBAQBAYF7gVRQBWxYIAQLKgqHVQOKb4JfmB2CUgNUCgEBAQwBASMKAgQ?= =?us-ascii?q?BAYREAoI4JDgTAgMBAQsBAQUBAQECAQUEbYVWDIVwAQEBAQIBEigGAQE3AQs?= =?us-ascii?q?CAgIBCA4CAQQBAQEeEBsXHQgBAQQOBQgagwWCSwMOIAEDC6NGAoE5iGKCJ4J?= =?us-ascii?q?/AQEFgS8Bg3MYggwDBgWBM4wxGoFBP4FYgk0+gmcCgWcfJoJ9giyOOaFTeAq?= =?us-ascii?q?CPYdoj1WbcphEknECBAIEBQIOAQEFgWkigVhwFTuCbFAYDY4dg3MziiJ0gSm?= =?us-ascii?q?MfAGBDwEB?=
X-IronPort-AV: E=Sophos;i="5.72,332,1580774400"; d="scan'208";a="751615822"
Received: from alln-core-3.cisco.com ([173.36.13.136]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 01 Apr 2020 14:25:23 +0000
Received: from XCH-ALN-004.cisco.com (xch-aln-004.cisco.com [173.36.7.14]) by alln-core-3.cisco.com (8.15.2/8.15.2) with ESMTPS id 031EPNNG023379 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 1 Apr 2020 14:25:23 GMT
Received: from xhs-aln-003.cisco.com (173.37.135.120) by XCH-ALN-004.cisco.com (173.36.7.14) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Apr 2020 09:25:23 -0500
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Apr 2020 09:25:23 -0500
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 1 Apr 2020 09:25:23 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ev3fLza49k80tlhzTE7Ti0Loa5kupyYffcHtD/KGLM24X6mmK72UEC8+duVwVJ3x9GErk5p3lFdAuxeEvO3XLi35UEP8BIPve4rG3zwMe0Oc2NdP1nnZp/ks+dC5cYNzcggUslvagCkh0D2VIG4LLUArs1VcvkHNtnIW29PDeWptfq+32m3F+BrEjttRjUtpmkEGm7AqsRXKJGqSWQ6vbt9zuXw7yBQ+lGIEXWvgJATTFZ0N8k83Kxm6rNCgoSIYlcJG8WDpgzm9cXFkBx4w26lKtNeiesrOyZX4Lm5qPTnLpuqRwgKuRUuTidWFX069c5/qxh48D6Bir8kCQBKAzA==
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=fm5qOY9TFZuP8MfolqxTsPa5RfK4qhbDggAF/KatxLY=; b=J6gASInfq50x0c7PShx9uAekvi0H6zyVSb0zLOyNlnhwgJX8jRCfeH6qPKC2XJVZzglri3xI55wfIh1RVPTdi5mcaRJVCneBA9omotvsgiyRqKhIG31PhY6oPGq9GgfS4D4FtKF8Bk1Pk2Id3Jtr5tWihHzt4eYv7mZeJ/47eK2N5uw+oD7arlmC4b1xy2e4xGYS6HIXKs6BW7wC5HdlSBAUFIrzrtJsjTad1CmkgwCGz9687G+lcxnP+BfcISTYv/f2OEsk6uFEJrqDx9TR7YixwnLGHBx0OP02de5Eb9EgJvFgXbrtzKVKpavw2XvJvsprNi/ZiXanJktEJE8u+g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fm5qOY9TFZuP8MfolqxTsPa5RfK4qhbDggAF/KatxLY=; b=Ez7TJsIqwkL5zysEDI2ZoipnhwGzSO3fg3MOlIpDepB/260Pbpx9xnS+nMU04K0wStcwE+8w+yqLEiPAqPGdEiKh6UmWaJWNubhxfvxZIo/MRs7CZFgWGrul7Y9n9cr7UG41SeHmydMDYRfDS7fDpQOkvHgQLHH6LVMfcmIDi90=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (2603:10b6:208:190::17) by MN2PR11MB4255.namprd11.prod.outlook.com (2603:10b6:208:18a::29) 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 14:25:22 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::3:2164:a8e2:33b3]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::3:2164:a8e2:33b3%5]) with mapi id 15.20.2856.019; Wed, 1 Apr 2020 14:25:22 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: NetMod WG <netmod@ietf.org>
Thread-Topic: YANG definition of MAC address
Thread-Index: AdYIDhp8gPhYGk53RUafwJ2D/bEblgABr4YAAAbTyDA=
Date: Wed, 1 Apr 2020 14:25:22 +0000
Message-ID: <MN2PR11MB43660F2DC47D7C21FDAEA5C8B5C90@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <MN2PR11MB4366ABF427070927849E4A03B5C90@MN2PR11MB4366.namprd11.prod.outlook.com> <20200401110108.zpxbc5q7xis37dpy@anna.jacobs.jacobs-university.de>
In-Reply-To: <20200401110108.zpxbc5q7xis37dpy@anna.jacobs.jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rwilton@cisco.com;
x-originating-ip: [82.15.79.32]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0bbf577b-0913-43b8-86e5-08d7d6488340
x-ms-traffictypediagnostic: MN2PR11MB4255:
x-microsoft-antispam-prvs: <MN2PR11MB42554DAC9BE1DCB3D2796026B5C90@MN2PR11MB4255.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 03607C04F0
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4366.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(136003)(366004)(396003)(346002)(39860400002)(376002)(478600001)(52536014)(66946007)(66446008)(2906002)(76116006)(5660300002)(8936002)(316002)(55016002)(66476007)(66556008)(64756008)(186003)(33656002)(26005)(8676002)(71200400001)(7696005)(53546011)(966005)(81166006)(81156014)(6506007)(4326008)(9686003)(86362001)(6916009); DIR:OUT; SFP:1101;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: jsEGU74KGAeHnM/Ql2f/AyvC9Fn0z9XwPQCr0PVkiw1fiqwQAiUj0sJszvISHAjcISYY5UQF8ZjIb5jXBCnbenntJci3ooLNH9c8TxuW2cyoXmM1Y999dtA+3m7YG6xY40RHcCKoWEV78OLl4BzMI0+UfqEx+VuvAZ/Nd56CLKXkt6+jcc7mA+MgzFsZdtlypcCmuSiHPURTRDl5xKlZl24OnNiBCF6LbnKQj1Y+EuDZkOGHsP5g2vXr6wVpm1lXlLOM9lnBXRvxyypYXYy7RnyU8dLx2nX9lRDQvD6F2ky1ljTljtfhwOUlHBfvJvkKBnrIZpYcCR7wuIWnXFcYrRntvH+0bjNoLByTe5MT+dFQhBVU4I8LK0l81gBHALVbZIDClkTPnTpJPBODuidS+tGnyAqCphG8QmVI3KuEnKaMZ4F/7qlIUHhOXcejaDpqPtd1gDXnSvn3sdapXzLfS2WleN10rJD1RMbHbqR5EJJWs8w39st7enMG2xApMzd09IWM3rrjx6bhD7UHaI9Z7A==
x-ms-exchange-antispam-messagedata: rHhqMw8lDKVzkINYYmMFtohj8J454CX4HTak43tTqm5Cq1OOnPbrtWNUg2lre1hRU01Zqg1cEPfqtWKwJNgRWuHps3i9NMg3l/uM+v0zRBSRZ7Zs/YnUx0U+iokPGfDyGsMN2YgOYWTWxRHJV5R1Wg==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 0bbf577b-0913-43b8-86e5-08d7d6488340
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2020 14:25:22.2089 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: aYRlSAUQIP35ZFNUDdWPM1l5W60F+9CJXMzxErB5JOzbU/PXYAkrPOrFRdWtHlny1kuVHQNezipT1ZWsuBmguw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4255
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.14, xch-aln-004.cisco.com
X-Outbound-Node: alln-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/shnyN47oYHPvkkoEhETHK1M60F4>
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 14:25:27 -0000


> -----Original Message-----
> From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
> Sent: 01 April 2020 12:01
> To: Rob Wilton (rwilton) <rwilton@cisco.com>
> Cc: NetMod WG <netmod@ietf.org>
> Subject: Re: YANG definition of MAC address
> 
> 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.
[RW] 
I hadn't considered the canonical format/list key issue.  I will also point this out in the IEEE discussion.

> 
> 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.
[RW] 

Thanks.  Yes, I have made both of those points.

Regards,
Rob


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