Re: [netmod] Client validation text [was RE: YANG Versioning Weekly Call Minutes - 2021-04-06]

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 09 April 2021 14:19 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 CF6C43A22C7 for <netmod@ietfa.amsl.com>; Fri, 9 Apr 2021 07:19:45 -0700 (PDT)
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 snhsTQTHit8D for <netmod@ietfa.amsl.com>; Fri, 9 Apr 2021 07:19:41 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60051.outbound.protection.outlook.com [40.107.6.51]) (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 E478B3A22C4 for <netmod@ietf.org>; Fri, 9 Apr 2021 07:19:40 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dMYAvdLumQ12TcRuRXOZny13xzKNqWPwk2uXsOuvBLKCuoVD7X3YeMUoIuUCRdXxnPWbINNuJWhKCWIzFAOfBHrrrR2xq7co12M9eq6q/y+KsaQAm68j7r/bqwFETN+CBs+HisYPNkC/Nn1Z0y/bEcusTZT0svHLjv+Ydar4uLqB3Y7MxsP4kSdAfxbXhywZfVAmBb4VMPC4kEwPIXi6eoIjwLmfOAranXWRkiBQryuPaC4pFHm86znCz8W5rqXP9ogBipx4ipZr8FgCrC11L3wpRHCg1PkgeGvauYblBj8AxZZT9HT7Zis7RKyFjt2Z73PGOJoe/PQwxMmmXe4pcw==
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=Gd0NjHpeXBi7xmoG54j903qxW5D0HaOs8Pxzm0wT1mk=; b=jpUuXBJAnvXHvd6U52FxMdnXm621q9RXMocelAXOon3P9VM0efsm/MLAqPj+d+sxz0DD34Czss8TKRHIpkWtRVU0QGddxItkiBzxQDMENNQl6f7GVwSIEMhqSgj7MDKAe86TYFrTZmxF8MjrSg0PaH/RrtM0eVnTMuwruY8lUy1HOAyATpSyH3lm5e0GsfCuci4RrziSmdR2x07s7KvJLRrB+QdQ2DMt5WeBire6eakc3rjzTTh0Sct8ULPTyqPh1kXlg/Q47SoUo8oWgzI9xG0nFB0mjAQlhzeya4K5Zv5re7g6kBUa7VAba0be93szMvjhrDB4HxRBCtUWQHzUQA==
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=Gd0NjHpeXBi7xmoG54j903qxW5D0HaOs8Pxzm0wT1mk=; b=H9mdMRtq/8DXOLnWYPp6NubgRYsRv+1EB7aIMHZU7K9SDKmuu2CnEA039bm5OGQnpWCBtT7NR4V12AU2IiYGQNUyPL8CGpQ9T8l5xfv8tNl8zF6oWs8gegEMjBPjCLNMfzz/sRbEAJNt83Dik3YSAkwx9wuLAYnborkIm0tlr+w=
Authentication-Results: nokia.com; dkim=none (message not signed) header.d=none;nokia.com; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM9P190MB1505.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:3e7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.16; Fri, 9 Apr 2021 14:19:36 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::e8a2:9886:8dfa:41c6]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::e8a2:9886:8dfa:41c6%5]) with mapi id 15.20.4020.018; Fri, 9 Apr 2021 14:19:36 +0000
Date: Fri, 09 Apr 2021 16:19:35 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
Cc: "Rob Wilton (rwilton)" <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20210409141935.xsjj5c272rq453u5@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>, "Rob Wilton (rwilton)" <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <MN2PR11MB4366255A77C76D9004360169B5759@MN2PR11MB4366.namprd11.prod.outlook.com> <DM6PR08MB5084935EDB6AB7718B695BAA9B749@DM6PR08MB5084.namprd08.prod.outlook.com> <20210408185127.l7cafoeq6svs4ns4@anna.jacobs.jacobs-university.de> <DM6PR08MB5084D71FD6FF7F029318AFD69B739@DM6PR08MB5084.namprd08.prod.outlook.com> <20210409133901.ifffu3jg4cghyji6@anna.jacobs.jacobs-university.de> <DM6PR08MB50845720309BE411A3FECBEF9B739@DM6PR08MB5084.namprd08.prod.outlook.com> <20210409135308.4nrlvndnj3phjih4@anna.jacobs.jacobs-university.de> <DM6PR08MB508470734D8E5AE99FDE2C859B739@DM6PR08MB5084.namprd08.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <DM6PR08MB508470734D8E5AE99FDE2C859B739@DM6PR08MB5084.namprd08.prod.outlook.com>
X-Originating-IP: [212.201.44.244]
X-ClientProxiedBy: PR0P264CA0220.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1e::16) 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 PR0P264CA0220.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.17 via Frontend Transport; Fri, 9 Apr 2021 14:19:36 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 4996cc35-500c-4e55-0c78-08d8fb628146
X-MS-TrafficTypeDiagnostic: AM9P190MB1505:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM9P190MB1505080F151D5817BF32031FDE739@AM9P190MB1505.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:9508;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: enGw3zpeIfIjT3pXJ4o3UKUF1d54xkoZH3JDeFYYSyDIUtZzsMazEaMOWe04Ocn0BxMwySDK3sOk2CqOnE9so+nWAN/PJF/CfCF2COvtScUGwn4aUMA7b8WBcbMql42iqPe/SojROIpACi2IT+grjEk/f+1KqxwdqqaIhp0Jp7Anmd9djr1/rz7hPmxYajW3Hny5MPQFSZOc+uSgwynbeTuSMahzhnh9jf5p6OQ1CicNv83M2VOxQxNur7c16rhZUTdldo3ToVtlqFtchWY50Ycqe2USJSy7dxlb/6MbmO8vtT0S8Ycmxrzyv9W1Gj1VHSiItUKi4z2777ggdH2cmN55ujpx2IRM0rO2M+Q2wnmtnGkj2mvkn2wmmO0Yk+aZp18FX0Vezwqsb+aENIsUZD+yaKF98609KSH5r+cUOpc9pWNqrlkaqtQk99G9o9COHmuWHkavVGlq38GOD1tzG5gztDJm0QvkbK9oSZgVrBlTySHJVwJgayh48SOKEGsEWlVLugBnu3Ds504qk2CgvbeAwcThNPqfP2Dgih9VHHYzG0LT97zsBJlw4IRVgxqWvgR5eYy1PvqheKMIyHIf/Vr/VzouNNeQD/pITFnY1MBTx1wwR2iYtysfCM81yTCyVkfcfFf5byKH2aTzNar5mvkcQS7TyI+ZojAjcYULXjUoCVf5/P0Nk2shN54kK8EuKiBlIjhMq8WBJKvGmSpTz9pBf0QWX35d7VnNAO46zEPF1fIrHPWzhg6rJ5dCzq+UA7ymOqtBvX/xo/3DRvUUDg==
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:(396003)(346002)(366004)(136003)(39850400004)(376002)(296002)(786003)(316002)(1076003)(3450700001)(83380400001)(2906002)(6496006)(478600001)(52116002)(8936002)(6916009)(54906003)(16526019)(8676002)(26005)(186003)(6486002)(956004)(66946007)(66556008)(66476007)(53546011)(5660300002)(38100700001)(4326008)(38350700001)(86362001); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData: jUxuUVW159K9mwfeIoeOIWxjep/9htmuVmkUlRKMGVPlbkR16XTi8x+UAzD0k9+k6iGSY2rL5W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aUIXa03dI8bVhelH2j/uIQqjQEu5u3SI5NvhooJ0TomV7uWYdTGrWmoEGidoU1Fvvxes6guN8jPpGMP80tqskXvIT0/jPs3rTtYUObF4n4kAomAqy1xFaZQm8T40QQrw5881L054R5ZjiTJS9NMukvOQvJAANvWyySyfJ/kxX8TLeJE8Ny8Pw+3ftyIk/M
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 4996cc35-500c-4e55-0c78-08d8fb628146
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2021 14:19:36.8119 (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: yg9vuBak+xT4oI5oHfYlKwJOOszh3NcHblwYquQ6UJeG9CFFyQVK5MYEKxKiTLJU5t/192Nm7bbHVxvBjGHgOQS1vERCtKGa8ftbBTzqm9E=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P190MB1505
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/uQvzxUAHk2yncne87GjH5dRmVWw>
Subject: Re: [netmod] Client validation text [was RE: YANG Versioning Weekly Call Minutes - 2021-04-06]
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: Fri, 09 Apr 2021 14:19:46 -0000

Creating lots of special rules makes me feel uncomfortable. Is there
evidence that people reduce state value spaces a lot and in isolation,
i.e., they just rev a module to reduce some state value spaces?

/js

On Fri, Apr 09, 2021 at 02:00:42PM +0000, Sterne, Jason (Nokia - CA/Ottawa) wrote:
> The key focus here is *if* the author does remove the enum, then how should we label the revision -> BC or NBC ?
> 
> RFC7950 does indeed say that is NBC.  But do we actually want that for state for:
> - removing an enum
> - shrinking a range
> - changing a pattern in a manner that reduces the value space
> 
> We're worried that will create too much "NBC noise" when it really in practice won't be an issue at all for clients.  Client just won't receive the old values from the larger value space anymore.  So why flag this as NBC and make people do work to analyze it ?
> 
> Jason
> 
> > -----Original Message-----
> > From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
> > Sent: Friday, April 9, 2021 9:53 AM
> > To: Sterne, Jason (Nokia - CA/Ottawa) <jason.sterne@nokia.com>
> > Cc: Rob Wilton (rwilton) <rwilton@cisco.com>; netmod@ietf.org
> > Subject: Re: [netmod] Client validation text [was RE: YANG Versioning
> > Weekly Call Minutes - 2021-04-06]
> > 
> > I do not recall that removing an enum was ever an issue in
> > practice. If an enum value is not used anymore, you leave the old enum
> > value and it will slowly but surely not be used anymore. (An enum
> > statement even has a status statement, so you can deprecate or
> > obsolete enum values.) That said, if the module owner decides to
> > remove the value, then this is indeed non-backwards compatible. (And
> > removing an enum paves the way to reallocate the associated number,
> > and be it by accident later again. I suggest people think twice
> > before removing enums.)
> > 
> > /js
> > 
> > On Fri, Apr 09, 2021 at 01:43:09PM +0000, Sterne, Jason (Nokia - CA/Ottawa)
> > wrote:
> > > Urghh.  I reversed my example.  I should have said removing an enum.  Let
> > me reword:
> > >
> > > One key example is this:  7950 says that removing an enum from an
> > enumeration leaf is NBC (and that applies to state). But that may not really
> > be how most implementations would want to treat state. Would we really
> > want to flag a module as non backwards compatible when a state leaf has an
> > enum removed?  Wouldn't that create a lot of unnecessary noise?
> > >
> > > > -----Original Message-----
> > > > From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
> > > > Sent: Friday, April 9, 2021 9:39 AM
> > > > To: Sterne, Jason (Nokia - CA/Ottawa) <jason.sterne@nokia.com>
> > > > Cc: Rob Wilton (rwilton) <rwilton@cisco.com>; netmod@ietf.org
> > > > Subject: Re: [netmod] Client validation text [was RE: YANG Versioning
> > > > Weekly Call Minutes - 2021-04-06]
> > > >
> > > > On Fri, Apr 09, 2021 at 01:32:15PM +0000, Sterne, Jason (Nokia -
> > CA/Ottawa)
> > > > wrote:
> > > >
> > > > > One key example is this:  7950 says that adding another enum to an
> > > > enumeration leaf is NBC (and that applies to state). But that may not
> > really
> > > > be how most implementations would want to treat state. Would we
> > really
> > > > want to flag a module as non backwards compatible when a state leaf
> > gets an
> > > > additional enum?  Wouldn't that create a lot of unnecessary noise?
> > > >
> > > > I read this in RFC 7950:
> > > >
> > > >    o  An "enumeration" type may have new enums added, provided the
> > old
> > > >       enums's values do not change.  Note that inserting a new enum
> > > >       before an existing enum or reordering existing enums will result
> > > >       in new values for the existing enums, unless they have explicit
> > > >       values assigned to them.
> > > >
> > > > What do you want this to change to?
> > > >
> > > > /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/>
> > 
> > --
> > 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/>

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