Re: [MIB-DOCTORS] MIB question about renaming a textual convention

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 16 February 2021 19:24 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: mib-doctors@ietfa.amsl.com
Delivered-To: mib-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A89EE3A0E97 for <mib-doctors@ietfa.amsl.com>; Tue, 16 Feb 2021 11:24:38 -0800 (PST)
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 pc7u-YPjN9dm for <mib-doctors@ietfa.amsl.com>; Tue, 16 Feb 2021 11:24:36 -0800 (PST)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30049.outbound.protection.outlook.com [40.107.3.49]) (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 B275B3A0F0E for <mib-doctors@ietf.org>; Tue, 16 Feb 2021 11:24:33 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JhnKm3CcNI1QykuVYTa3KaH4GrUlOgn1vtX5dYTI0HOGsX+AsV0BNYXLxIBol846eQQuKAYPo6A2UxRk2YNsAlfUEDThGuy0vF5QTHmgspNirEzNZppTeaWFTwfcGTitbVZAKgnCy4k+oiTh0fBgmsj+QGq+cUwBBa9VIt1/JsJh+zrz7n8Zb6tdYSf2kVyBfUf7CbibBhWPyJzOabjt5me/Eo1YYCrB12r/gcT2uCbL9W5KbABJixw/pRng0EZeJFogFUwwY0JShZHURRsVJkCPBukGQjO6hvo4NubwvEzi2E3KgTy5kzMEGclmzp74F03S0uTBg3VDytwQwfPhrg==
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=0rtl0dETULbmLMEW23jpEiTrLohMihkz9tJOBNjbEd0=; b=cqwObuiVRBmiS/QvUjgbASvDncKec0BZJaWp5mGiGcFIem2WzIrvhLygqesB+s2vBgTtKYuf/QT7P3nBNIB8NSazssoYi9yvroKXMO6oWfOCCSVpvFvUMU64eeNEnZ5rwb6xKswNtQUM2YMBCrhBepoSzYGs0/qYgsucFfJr09MRZ/WJWyUkQ1mNr5Iuh3TBLepRG9nReT5NKR+mJk0ASbzhtTqscYYaqrl0NSlNs/GUi6IaJAwX0bFAU5zWJt3PbdWGntYH6/Le4MVqpmWgWnzszx+xpUof9rTrSrZROPSdTpgeTQFYLHWQhnKd3X1dmX4Hw73WMkSUelQpWI0oDw==
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=0rtl0dETULbmLMEW23jpEiTrLohMihkz9tJOBNjbEd0=; b=q1U2MvIIIsu00UYV4PaJjRwE4KUbxGb5LH5J/WYTC+AuTbHZX57nA9U9sToPNsqfLoSMCr8BbODTEDc3enkvw0SMcPUzQ7GoGvHo8DonTFeuBErSmJGHtNK2fst+u75ZnrUeVeTvkKja/mnCnsPSLwNhmYEwyHpc+gJCD8a7BVY=
Authentication-Results: nfinnconsulting.com; dkim=none (message not signed) header.d=none;nfinnconsulting.com; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM0P190MB0692.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:195::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.26; Tue, 16 Feb 2021 19:24:26 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::1ce1:49e3:3e54:804d]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::1ce1:49e3:3e54:804d%4]) with mapi id 15.20.3846.043; Tue, 16 Feb 2021 19:24:26 +0000
Date: Tue, 16 Feb 2021 20:24:25 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Norman Finn <nfinn@nfinnconsulting.com>
Cc: mib-doctors@ietf.org, Paul Congdon <paul.congdon@tallac.com>
Message-ID: <20210216192425.fcsydtbdecbd743l@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Norman Finn <nfinn@nfinnconsulting.com>, mib-doctors@ietf.org, Paul Congdon <paul.congdon@tallac.com>
References: <90D6E207-0024-4616-B303-7DA6049F57E9@nfinnconsulting.com>
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <90D6E207-0024-4616-B303-7DA6049F57E9@nfinnconsulting.com>
X-Originating-IP: [212.201.44.244]
X-ClientProxiedBy: AM4PR0701CA0037.eurprd07.prod.outlook.com (2603:10a6:200:42::47) 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 AM4PR0701CA0037.eurprd07.prod.outlook.com (2603:10a6:200:42::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.19 via Frontend Transport; Tue, 16 Feb 2021 19:24:26 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 001d44ed-455f-412f-ca33-08d8d2b07955
X-MS-TrafficTypeDiagnostic: AM0P190MB0692:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM0P190MB06924034B351552922C96DA0DE879@AM0P190MB0692.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: trdmGY2sNJJIob8T41Oi6vb+5dQvFzw28Xg/u95teMxH7qeJoCWDJ8uSSoUM5mWg1GG25efzreRU/yczppfS0gnRKthE4Z+zMREqLGzAHh+M0jbVNYoTG5N3ZrYfCxEvNeeoQAgTV4ngx+4H6EJyjxjRQt7kwOUBAYHyzfzdhusLTs2o5FO0vyU3G/GMcRV7ZCXu9UKjnxcyDu6ddOvG3vdPbDNP8+3aY9u3qzMQ4cTYoKEvcQgvJ9uRlohrd7yUDUDRmoY8WxgqryHTN58v9IOGlO4x9S/1HUF+vpucOt5LeSIzlS7f1Ai3/fDR7v9nI0B8PagcKQ6yWpWIi4TiDwP/8TRt+SRsKq3zi1HHCL23ke5ZHoUh1c/gNXOwlvQcMVzKxmMuVgGPmTapJenAuWH5O4fbi8jUcORxb/qiF6gZXj1OUiyy7f1MtbSovOH+NPTh+BMiFfpnbxJtpE8eaRyRdQUobCQNYvq1Kvo9atcS/halSW5pt0uOyqnemrtzp2flGElKT52GSdSV+Jo4dtIq1T0auzaoEoQ9YbEB9wzHnb9cMiZvuH42LHRWhGwvoYX8AlzYeQQoAdb5Ja2AoqbpBe86CQVmCfHLtEdDHKkJQ6ITeBq0qnBOqCpGOW8495kvC++h4zeE84WWsXqfjQ==
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:(366004)(136003)(346002)(39840400004)(376002)(396003)(956004)(478600001)(316002)(16526019)(1076003)(186003)(966005)(6916009)(2906002)(3450700001)(19627235002)(83380400001)(786003)(26005)(4326008)(8936002)(52116002)(66556008)(66476007)(8676002)(66946007)(5660300002)(83080400002)(6496006)(86362001)(6486002); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData: 75IGzSX2vU9W4RlYDvK9MiESXaf6MX3vL94BkonQKiMlwsjX7zkzP2Gs/9/zmBcDCz8brINdmY6EveBC8fO08Nn1Uagcm8awwKjq/pole5IwHodp4qZaZ//iyEbp4cCViFVDM9n8+8O91gOmzqIVIeH5h9DqZqk/3qhHGsjtA+vA1GQgP8/ncKXysIPiYbmLUaZ1IZ0N0AUHzzXP7/iIYqiMu5XXIgvMQnLVU+loJszNcGjuGMQQlCZE8CGgUlr5PdapFaTPReo9v8CRqA045dEgM6AYg7b4fq1PQdkq2BWGS21BzCDlsa790V8ign9FjHxWHGUwdEPSvftOhymyighD4N5s7mMJydgue0jAaVtk90n6Pn+Tl6r7bf2C9MuQX2/cDKi2XEDCnYONFoT/Hq8XcKYsvm181h8BaDfnHmIHSfSyZiFNXh48v77hVGq+8tw/O/bGT/H3e/7btEZ2HiL8+AFzw/EMvMRfgOdE6Ntd2/zlxLfbapyV9un7D2cj3DS75HZa7JyB35NlNg7Ttm9kGg1pCfnUjjfha5SzOB+0DR2kIa+4EIj6CvZoFOOEonxb0MvCKz8amQU8l4xcVPhnM7ZF4AwJALhYZ/MaPP2OgmrvdsPKhZZJk/LTzF5Y4un6kMnpbAmAN2FtKL1SK1KencWy0aS9ml2C/OlXDIaT/xIKUwos67+yOqn8wTbpx5m75ptm4eTmce/LKYQLIKSK8F/+lxBKXy4oV8LP13latIUH3e1rvVbvIwMTJDyTQVha9/b13gaLPg2MJQcpM6DFKzE2QLJy57dQApE8tUCOkioApxPvH6+1z+IvXYG8V1YJfJZj9nB+jLesPYeNtDSQpwgrW/kw/Shdz3ikMNhE7d2E0FWWQRDCnlKQAkair/a3JRMTBiLXrJlEWpNFzh1dsKPKiT/X3+jhmImYFcN8PEGXRGrAkZrxzGJYqSlcFmZhXBr3p2jO7r6nZ3/6jqBWPrwnF9ZtS3uMQ5Kqz4RGUBl8mQMuksRgiYfvFzjfO1ymdsA1O3Bi5bjxDbTjLxQaRWWF24mMFuDUETXf8XFBy3O+sCUQJWzZ/WfbO+ZdRp+1mu6KFnotbtgT0z1/qbit+AjhAGaoLkPN0meD/I/JtkR6pNYAbnXYufb1U+MHaRHEG1auScuIBx49orsLY66VMZ2gtSBOx3y+wNe6BkZgUN7MjQXyQlzKwbriZuwpsG4EHlIFsZoZMsqSTOGk0iEbiO6I/lTUm5r/tyV/eBt0y8SHufYssjZh+6VY7OPiOzTVvN4OOwkaUJvRLkzQn2bY7Hx6pquBPNoJxvUixMw1MpBy71RN728gSeN38apL
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 001d44ed-455f-412f-ca33-08d8d2b07955
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2021 19:24:26.6559 (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: BoezTewVpoTfc/XHvyRUg+NbkcMp0R7tTdp+YFuj3ySWCHmw43NwaAD9OR3ep2lfOaeU7/0RHQKGtkv7HQgtU57MyIBE6jtnnwDUNcPYyPI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0P190MB0692
Archived-At: <https://mailarchive.ietf.org/arch/msg/mib-doctors/0LBhtk_r66GaxtOE8VL3npUn32Q>
Subject: Re: [MIB-DOCTORS] MIB question about renaming a textual convention
X-BeenThere: mib-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: MIB Doctors list <mib-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mib-doctors>, <mailto:mib-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mib-doctors/>
List-Post: <mailto:mib-doctors@ietf.org>
List-Help: <mailto:mib-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mib-doctors>, <mailto:mib-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Feb 2021 19:24:39 -0000

Dear Norm,

since a TC has a status clause, you can of course deprecate it. This
may trigger warnings on modules that use the TC (and which had no
warnings before).

Is it possible replace a TC with a different one without changing the
OID of an object? I think so as long as the syntax and semantics are
identical. Section 10.2 of RFC 2578 spells out the case of replacing
the value of a SYNTAX clause with a TC and it says its OK as long as
syntax and semantics are the same. There are not really any side
effects since the "type" definition used in an object definition is
not externally visible/accessible.

To sum up: What you are proposing appears to be legal from the SMIv2
perspective. Whether its worth the effort is something I can't judge.
Such a change likely takes years to propagate, in the IETF it would
take decades to infinity. So you will have to make a judgement call
how widely the TC is used and what the update paths of affected
documents will be.

/js

On Tue, Feb 16, 2021 at 11:06:54AM -0800, Norman Finn wrote:
> I'm asking this question on behalf of IEEE 802.1.
> 
> We have a textual convention (IEEE8021PriorityCodePoint, in IEEE8021-TC-MIB) with a correct SYNTAX and a correct DESCRIPTION, but with an unfortunately misleading name.  This TC is used correctly in a number of MIBs, but its name is a continuing source of trouble when it is used incorrectly in new MIBs.
> 
> Our current plan is to define a new TC, IEEE8021PriortyMapping, with exactly the same SYNTAX (a set of enumerated values) and DESCRIPTION sections, for the use of new MIBs, and deprecate the use of IEEE8021PriorityCodePoint.  Questions:
> 
> 1. If we revise the existing objects that use SYNTAX IEEE8021PriorityCodePoint (correctly) to use IEEE8021PriortyMapping, instead, would that require deprecating the those objects and defining new ones?  Remember that both TCs have exactly the same SYNTAX and DESCRIPTION.
> 
> 2. Can you actually deprecate a TC?
> 
> 3. Is there a better way to do this?  For example, it we should really deprecate the old variables in order to use the new TC, we would just leave them alone.
> 
> Thanks in advance for your advice.
> 
> -- Norm
> 
> SNIPPET 1:  The misnamed TC (IEEE 802.1Q 2019 edition, clause 17.7.1, IEEE8021-TC-MIB)
> 
> IEEE8021PriorityCodePoint ::= TEXTUAL-CONVENTION
> STATUS current
> DESCRIPTION
> "Bridge ports may encode or decode the PCP value of the
> frames that traverse the port. This textual convention
> names the possible encoding and decoding schemes that
> the port may use. The priority and drop_eligible
> parameters are encoded in the Priority Code Point (PCP)
> field of the VLAN tag using the Priority Code Point
> Encoding Table for the Port, and they are decoded from
> the PCP using the Priority Code Point Decoding Table."
> REFERENCE "
> 12.6.2.6
> "
> SYNTAX INTEGER {
> codePoint8p0d(1),
> codePoint7p1d(2),
> codePoint6p2d(3),
> codePoint5p3d(4)
> }
> 
> SNIPPET 2: A typical proper use (IEEE 802.1Q 2019 edition, clause 17.7.2, IEEE8021-BRIDGE-MIB):
> 
> ieee8021BridgePortPriorityCodePointSelection OBJECT-TYPE
> SYNTAX IEEE8021PriorityCodePoint
> MAX-ACCESS read-write
> STATUS current
> DESCRIPTION
> " This object identifies the rows in the PCP encoding and
> decoding tables that are used to remark frames on this
> port if this remarking is enabled."
> REFERENCE "
> 12.6.2.6
> ,
> 12.6.2.7
> "
> ::= { ieee8021BridgePortPriorityEntry 3 }
> _______________________________________________
> MIB-DOCTORS mailing list
> MIB-DOCTORS@ietf.org
> https://www.ietf.org/mailman/listinfo/mib-doctors

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