[netmod] Question on range for parent-rel-pos in ietf-hatrdware.yang versus RFC 6933 entPhysicalParentRelPos

"Bogaert, Bart (Nokia - BE/Antwerp)" <bart.bogaert@nokia.com> Thu, 08 February 2018 07:03 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 AA68A12D85E for <netmod@ietfa.amsl.com>; Wed, 7 Feb 2018 23:03:06 -0800 (PST)
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 i1H6qtBPbkY9 for <netmod@ietfa.amsl.com>; Wed, 7 Feb 2018 23:03:04 -0800 (PST)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0134.outbound.protection.outlook.com [104.47.1.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 30AB4127698 for <netmod@ietf.org>; Wed, 7 Feb 2018 23:03:04 -0800 (PST)
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=59e8kwFPc5Pd43feVF/BLtYS+FFffXg5Zx1HHkhmIvI=; b=PJG89+2IeQYnC4pIxX16gZUAte9khWqz9JrXaiJyDx3SXoH+dc0GqKrjLFp8VOb5fqFipAbZKG6CbnZRS7vBJhHsJo4ESscAvhb5xZVwFZwzy3snJP6bvzdCdm2vkWalsJkS35a2H1Z2zYKTTif73c8XJXCn6lz7z++pOFuQZLk=
Received: from VI1PR07MB1725.eurprd07.prod.outlook.com (10.166.143.21) by VI1PR07MB1439.eurprd07.prod.outlook.com (10.165.238.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.7; Thu, 8 Feb 2018 07:03:01 +0000
Received: from VI1PR07MB1725.eurprd07.prod.outlook.com ([fe80::4419:1f5d:8922:53f1]) by VI1PR07MB1725.eurprd07.prod.outlook.com ([fe80::4419:1f5d:8922:53f1%14]) with mapi id 15.20.0485.009; Thu, 8 Feb 2018 07:03:01 +0000
From: "Bogaert, Bart (Nokia - BE/Antwerp)" <bart.bogaert@nokia.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: Question on range for parent-rel-pos in ietf-hatrdware.yang versus RFC 6933 entPhysicalParentRelPos
Thread-Index: AdOgqtnl8wUy/91/QhiSAjsfnnWWZw==
Date: Thu, 8 Feb 2018 07:03:01 +0000
Message-ID: <VI1PR07MB172523110F57300A070A102F94F30@VI1PR07MB1725.eurprd07.prod.outlook.com>
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=bart.bogaert@nokia.com;
x-originating-ip: [92.48.145.188]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR07MB1439; 6:tHi3J/4GxEkg9C2Sylpe9pI3Xc4Y3qxayEV+4toBqC7GW0kkM9ACIO/BwRTiRgfte+BrnptmDTRbnz1REt/qZoA7xQzBftwMk3MkqdBGofZNUNLoWrbL1diO9yLXEt9QecqySi7/H0WQn0n9XuEUFs+Samo7hPuG5zGplxyVrsT9z0NKD8Qcb9p9UzVqoHxR+HMoQeB7M0+OSY/GA7i33VGVhRbQUl8YjA6vw22+S7OsT8kxiB+NPLGgE9QJOHmeQ+hqEC6qWfzPlewfTx5XkGRQKkljSXsupsa9w93kdIbtM60JIiolPMUeYrjrDXKIecNT+DV2d3C6WZslvsnGPFWdG/nGqVJYE9T3LH3h+EaEl/IzbgVuw2HaWEZnf9oG; 5:JzEh504q4tMtPF3X76nKpofeYSPRZGeTMNTbAwhE2u57WZwxHueRQRyZnyjTlx3lltsp8C38AlVmQ9oXWhX0bUAZ6t2g1frTU1LHKzf0GXk4nDo8LFTEergVW/M2Dlb/DqgWjgNfV7zC8dIWWIXAZHaIfvRfXMvxu3ReDeVqHVc=; 24:/YSB7YQDWjTB+NZvNUx+wHMIyBJgiUpz/tby+ZAQhXyU714KOzrhNMFHqKsqyks50wKyw65ufYBu6+JHRcO1W07tr+xPgbN0kz70jZ4mdnk=; 7:oPS8qJtx/Kota41WmdmXik79XrXheVXFJJ4XHtxhJIqFRRoVQuXY5l4w6gbehGhE12wvycWH4GiHztlfIJOobAsujCLZDG96r6hj+B2DOad8jBzUcuJTg6YSD6ZtakQW3HL7sZatKOSDxdN+xL4KiEHJqzy/+VSnRhiVBO43QGfVQ69HWl53LXOxEw5dm6wc4bQg4Jj6YF9TCyxWj0grqUKsuIBT/3tktfMFGaBBx6KgDRu2VzCJnaymHeJRMQBM
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: e3f5c18b-1e78-4da8-4e0a-08d56ec1fe22
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020); SRVR:VI1PR07MB1439;
x-ms-traffictypediagnostic: VI1PR07MB1439:
x-microsoft-antispam-prvs: <VI1PR07MB14396DE21CD0930D8BDC5CF394F30@VI1PR07MB1439.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231101)(11241501184)(806099)(2400082)(944501161)(3002001)(6055026)(6041288)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(6072148)(201708071742011); SRVR:VI1PR07MB1439; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB1439;
x-forefront-prvs: 0577AD41D6
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(39860400002)(376002)(39380400002)(396003)(346002)(366004)(189003)(199004)(102836004)(5640700003)(5630700001)(2900100001)(6436002)(6116002)(790700001)(14454004)(3846002)(6506007)(5250100002)(55016002)(2501003)(9686003)(54896002)(6306002)(33656002)(53936002)(5660300001)(478600001)(8936002)(186003)(7696005)(105586002)(25786009)(81156014)(26005)(316002)(8676002)(1730700003)(99286004)(81166006)(106356001)(7736002)(3660700001)(66066001)(74316002)(3280700002)(6916009)(97736004)(2351001)(68736007)(86362001)(2906002)(145543001)(145603002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB1439; H:VI1PR07MB1725.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: H2KFZ/sVa+klrx6qbj4E1LBkNGcJSkEt+uK44YJkyeRKzpNxbn+z4/OKSRTwUDJbFTdjjUk5DIisGX1/oLs16ZesdPVJiPW7CBaSiv35QLodiKEQWwMNZvpl6ihOEJ6I
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_VI1PR07MB172523110F57300A070A102F94F30VI1PR07MB1725eurp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e3f5c18b-1e78-4da8-4e0a-08d56ec1fe22
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Feb 2018 07:03:01.2635 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB1439
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/JFcpIGiGD5pZu912n6Zxyn2dttQ>
Subject: [netmod] Question on range for parent-rel-pos in ietf-hatrdware.yang versus RFC 6933 entPhysicalParentRelPos
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, 08 Feb 2018 07:03:07 -0000

Hi,

During implementation we came across the following anomaly:

According to RFC 6933 entPhysicalParentRelPos the value should be set to -1 in case there is no parent.
The hardware YANG model defines this leaf as int32 with range "0 .. 2147483647",  To be in-line with the referred RFC, shouldn't the range be extended as "-1 .. 2147483647"?

Regards, Bart