[netmod] What is the best way to HW identities

"Bogaert, Bart (Nokia - BE/Antwerp)" <bart.bogaert@nokia.com> Thu, 17 August 2017 09:31 UTC

Return-Path: <bart.bogaert@nokia.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 2FD4413247A for <netmod@ietfa.amsl.com>; Thu, 17 Aug 2017 02:31:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level:
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.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 lYTDo2PQ2RMX for <netmod@ietfa.amsl.com>; Thu, 17 Aug 2017 02:31:53 -0700 (PDT)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0117.outbound.protection.outlook.com [104.47.2.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A981413248B for <netmod@ietf.org>; Thu, 17 Aug 2017 02:31:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ItPnbVGoZPcjDPUkNDP6fK81rA6FA4qLyWxzL6BpYmw=; b=keJBks41jYfDoTybGRi6HaEw0BPj9N2l1UTX7PgTuBgn0hEX6BdlAoZz9CwC1WxQbxqOzuapVAW8tf41hY/IT4Y+9xAQQniPdkrPmpdMvQBgAo5w0Sx+WFw90yBgzt3Ag2kyKkdQiGHR4eP/ZylmKb7vCffEFUEEnJNYgIdQt7s=
Received: from AM2PR07MB0627.eurprd07.prod.outlook.com (10.160.54.154) by AM2PR07MB0690.eurprd07.prod.outlook.com (10.160.56.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1362.12; Thu, 17 Aug 2017 09:31:48 +0000
Received: from AM2PR07MB0627.eurprd07.prod.outlook.com ([fe80::182e:6400:46fc:f36e]) by AM2PR07MB0627.eurprd07.prod.outlook.com ([fe80::182e:6400:46fc:f36e%13]) with mapi id 15.01.1362.018; Thu, 17 Aug 2017 09:31:48 +0000
From: "Bogaert, Bart (Nokia - BE/Antwerp)" <bart.bogaert@nokia.com>
To: "netmod@ietf.org" <netmod@ietf.org>
CC: "Pauwels, Ludwig (Nokia - BE/Antwerp)" <ludwig.pauwels@nokia.com>, "joey.boyd@adtran.com" <joey.boyd@adtran.com>
Thread-Topic: What is the best way to HW identities
Thread-Index: AdMXOxJtbuifQeSdR6iiACPpuek3uw==
Date: Thu, 17 Aug 2017 09:31:48 +0000
Message-ID: <AM2PR07MB0627F9D2CBD31D40AA6BCC8294830@AM2PR07MB0627.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [135.245.212.3]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM2PR07MB0690; 6:t82klX3qG5BdsvEWxR3VspSqfoRXpa1+rXDbvC9ZoGUtzKvzdfGP32NJCZsgDu6mqsDaWaVIZgL/VlX3FtM1tuTvAyXCfDnOaYzWKRhOvMylQQYCJUXUSX0cBQ4J+fk0M0SRpCTQvg89VaolhMuwlunqV/uua6e//Wkm1cT3FbPpDF4u2xN+M43ZBm+x0UdUfZP0v8d/opO5zXvuLeDd4Nr3YDuRvYGG4xt5B4PWu59kPWrT4IEeskQOXEvNVzuo3Sue0o/EQH936nYw8pNpYF1SThTO+YppJ07TmiMuE9JWo95URFls85Lm0Pm4zRsf9gP0iQIS/KEjZEXXxZGwKw==; 5:0BlEH+iEhps6Xn4yFfYJuvB6DSVcyWzVQiis4MzGnXFkusbtkL47b2rEUVabr/bAOdlfjR5QcSXbe1+KmMcjT/kQuJhF1GAhDDL+qbXj7NkfJLB0ooG+6b4hYs/mWQAeah3UJBRVx9C2Mi0aMhGiug==; 24:fENqkrAeakhzn5c1K3glfl2BB9RSKfWTNXs5F5EOeKv7UHfBi6AXyMQmVLjAu8kamAMNwdhGmNm1NF1IPC+avf/04ULt4S+G7ukBlD5tKPI=; 7:ZGzhIE2zXFURszZS7QipnYQcrqaMXRL//8wy+BqyxiFJRT5YboTIXMbUTadcS0otn0RsjO67zHMqC0tCwOBtAQ1p/XGPZN1F7DjGdUbTVb8mlFXi6L+FmxPAfK//tqiO4eCOLBF3xOUXIIjL1wNq5z/JNQhowOIJTWYcPk7fcgQkaZSWdxWjnSOy41nn4fvuxRK9MuFZDSu8dcKRpz3iKGw78ACNTDmIizB3DrqfZw8=
x-ms-office365-filtering-correlation-id: 04c25d28-b9dc-4430-b2dc-08d4e552c8d9
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(2017052603157)(49563074)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM2PR07MB0690;
x-ms-traffictypediagnostic: AM2PR07MB0690:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=bart.bogaert@nokia.com;
x-exchange-antispam-report-test: UriScan:(21748063052155);
x-microsoft-antispam-prvs: <AM2PR07MB06900ED5935CB3EE2AF8338794830@AM2PR07MB0690.eurprd07.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(102415395)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123558100)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM2PR07MB0690; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM2PR07MB0690;
x-forefront-prvs: 0402872DA1
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(199003)(189002)(5660300001)(6506006)(106356001)(5640700003)(8936002)(101416001)(50986999)(66066001)(54356999)(53936002)(99936001)(25786009)(74316002)(3280700002)(68736007)(9326002)(2906002)(5630700001)(3660700001)(6436002)(33656002)(54896002)(8676002)(99286003)(54906002)(81166006)(14454004)(55016002)(6306002)(1730700003)(9686003)(81156014)(4326008)(2351001)(105586002)(97736004)(110136004)(7696004)(6916009)(5250100002)(86362001)(189998001)(2900100001)(2501003)(3846002)(6116002)(7736002)(478600001)(790700001)(102836003)(43043002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM2PR07MB0690; H:AM2PR07MB0627.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_02DE_01D3174C.64A19220"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Aug 2017 09:31:48.4750 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR07MB0690
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ZtlSAjmnifxmPAyF4KBpqc5vYhg>
Subject: [netmod] What is the best way to HW identities
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 17 Aug 2017 09:31:56 -0000

Hello,

 

Within BBF we have had a discussion on the use of
draft-ietf-netmod-entity-03, and we would appreciate to hear the opinion of
IETF. More specific the discussion is on the use of the leaf 'class' and the
leaf 'parent-rel-pos'.

 

First some BBF context:

- the systems for which BBF specifies YANG models can be built with various
'types of hardware', e.g. as pluggable item (module) it can contain boards
and it can contain SFP/XFPs. As 'type of port' it can have connectors to
terminate fastdsl links (supported over copper wires), and it can have
positions to insert optical fibers (e.g. the position in the SFP in which
one can plug the optical fiber).

 

- in the data model we have the need for some conditional data: e.g. an
SFP/XFP has some data that is defined in SFF-8472. This data is not
applicable to boards. Hence we need to distinguish between these 2 types of
pluggable items. A 2nd example: for the optical fibers terminated by an
SFP/XFP, we have specific data that is also defined in SFF-8472, e.g. the
wavelength. This data is not applicable to fastdsl ports. On fastdsl ports
we have specific data that relates to remote power feeding. Obviously there
is no power feeding over the optical fiber. There might be other ports with
(for now) no specific data, e.g. an rj45. Conclusion: need data conditional
to the port type.

 

In draft-ietf-netmod-entity-03 we read

- "The "class" leaf is a YANG identity that describes the type of the
hardware.  Vendors are encouraged to either directly use one of the common
IANA-defined identities, or derive a more specific identity from one of
them.

 

- As description for 'parent-rel-pos': "An indication of the relative
position of this child component among all its sibling components.  Sibling
components are defined as components that share the same instance values of
each of the 'parent' and 'class' nodes.

 

Based on what we read in the first bullet a thought was to specialize the
various hardware-class identities. Examples:

 

  identity board {

    base ianahw:module;

    description

      "A board is a special type of module that represents a physical item,
commonly known as a board or a card.";

  }

 

  identity transceiver {

    base ianahw:module;

    description

      "A transceiver is a special type of module that represents a physical
item like a pluggable SFP, an SFP+, or an XFP; or a soldered SFF.";

  }

 

  identity transceiver-link {

    base ianahw:port;

    description

      "A transceiver-link is a special type of port that terminates an
optical fiber.";

  }

 

  identity rj45 {

    base ianahw:port;

    description

      "A RJ45 is a special type of port that terminates an electrical
Ethernet link.";

  }

  identity fastdsl {

    base ianahw:port;

    description

      "A fastdsl is a special type of port that terminates a copper wire
supporting a FAST or one of the DSL types link.";

  }

 

The intention with this approach: the 'class' leaf is used to distinguish
between all types of hardware. If hardware specific data is augmented to the
hardware model, then it is using a 'when' condition referring to the value
of the leaf 'class'.

 

Based on the description of the parent-rel-pos it is understood that the
value of this leaf is relative to the value of the class, so numbering of
e.g. the various types of port supported by one board is independent of each
other.

 

Then the worry starts: 

- some of the BBF members understand this concept of specializing the
hardware identities and use these values for the leaf class as the way to
go, and take the impact on the numbering as a given.

 

- Others think this impact on the parent-rel-pos is not the intention and
assume a flat numbering of all childs within a parent, hence do not want to
use the class leaf for further specialization, hence want to introduce a new
separate leaf to contain the more detailed information, hence the
conditional data for the various types of hardware shall be defined with a
'when statement' referring to this new separate leaf.

 

The feedback we would appreciate from IETF: 

- did IETF consider the need for additional conditional data?

- which approach is the IETF preference?

- in case the IETF preference is to specialize the hardware identities, does
IETF think it is worth to standardize them in IANA, or is the preference to
keep these identities within BBF?

 

Regards,

Bart