Re: [netmod] Comments on draft-ietf-netmod-yang-module-versioning-09

"Jason Sterne (Nokia)" <jason.sterne@nokia.com> Sat, 13 May 2023 19:15 UTC

Return-Path: <jason.sterne@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 16000C1519BD for <netmod@ietfa.amsl.com>; Sat, 13 May 2023 12:15:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=nokia.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aFCVX7olZAuF for <netmod@ietfa.amsl.com>; Sat, 13 May 2023 12:15:03 -0700 (PDT)
Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2072f.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e8c::72f]) (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 A7FEDC14CE3B for <netmod@ietf.org>; Sat, 13 May 2023 12:15:03 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q5/vGJzap/ZuOgiZtbs6PeTTBbd7XvquJVbnA8vav+i9YQGATrmLytRh4FPGgmaZnVvoX0isIDpOJHG4HIgBrzttRTPVh7n2GoLYXvPPoTz9bo2GiGfmDBhFqVvLU7JtqrPR5fhzyYO3jCI1IgoNUczdxPApX3gVmuCeK9vresn6/9Dm7j5oIwKuDnW72xZoviQTcVcclf9hLcKxg0NLOrtc2X/2JJ1Bb1zwxcq0n3Uy1XTfVuvlxbxK1QMIqqDj5XapOkFULkp3FYhoJVJnuFrJbJsEDxx5tnEEjN6/kAx+oBrFuAGkx+Ir5Np+tkyzAQ6q5Pz0Sdkadsne5aZ1hA==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ViiXWtEYjRdTF20t+RsbKde6AvvpeLeQBFbQb5zeweo=; b=m1ndsgFGTCkVvyQAXsmYq7su4F2rfldhMACkRUHuafSXkGkyTYEvmlJWR+lUw5Grw41JuX3oV/srGxroTepv93t44DNELii8r5HUFXR+5M665OUuue3BuBEjSEoIAPaptFig1vDzvgxZUaQ2vhk1TE1i4xmJLuRhhnfi60hNMzT4XzFKIVomkJ6J1LiX6K+JfGhEVWwCrukbAnOWSTVDxnPHt2mwQqLxp5480I50cNp1WQxcM0Kbdzvy0ISo1wRTftceyCCGKC9iY32Ova890JJyqqIrnAxW+DsHwtahCSDBqgEnOtlfTpEBZolUEtzuTu3SFUdKWJYVbcY+GkYGmQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ViiXWtEYjRdTF20t+RsbKde6AvvpeLeQBFbQb5zeweo=; b=ww+h18moIlbMS/CMs6gOtE6dIII+6NjXSFdca0sQmUAewIXQjF5WbUqIn6oDHeeMqkbAAUPz9YKyLIEBnor/vOSxzI9BvkmsmG+BwdaCaeUdpgJLJW8u6NN3gOzTb+K+NoeSKBspyIcgerOMDPXB7w6U1dniqrf+7yYd3Hktt8gOYQ4KY05O0BsNiI38IwZ8mfplUYR7Amdj5MwfnWBFcZrZRWGB8UfzUeeiZ6uYK7hIoztsX5ttRd2G+vPT8UPlWhkadlHy2lzS00SdTpboQBgRr9hWSogUYcEEkvE/j/oxeO3DcfJdB0d5PG4Qc7IzQdobtfP3CIVqFFnHenaqLQ==
Received: from DM6PR08MB5084.namprd08.prod.outlook.com (2603:10b6:5:41::29) by CO6PR08MB7738.namprd08.prod.outlook.com (2603:10b6:303:141::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.28; Sat, 13 May 2023 19:14:59 +0000
Received: from DM6PR08MB5084.namprd08.prod.outlook.com ([fe80::1633:c89a:4f32:6da4]) by DM6PR08MB5084.namprd08.prod.outlook.com ([fe80::1633:c89a:4f32:6da4%6]) with mapi id 15.20.6387.018; Sat, 13 May 2023 19:14:59 +0000
From: "Jason Sterne (Nokia)" <jason.sterne@nokia.com>
To: Andy Bierman <andy@yumaworks.com>, NetMod WG <netmod@ietf.org>
Thread-Topic: [netmod] Comments on draft-ietf-netmod-yang-module-versioning-09
Thread-Index: AQHZgqlmqNBVWWqUUEah23Q4I/VwBK9YlYyw
Date: Sat, 13 May 2023 19:14:59 +0000
Message-ID: <DM6PR08MB5084F7CCF7407519340DAF9C9B7A9@DM6PR08MB5084.namprd08.prod.outlook.com>
References: <CABCOCHShMC=5KoCSKKQ-zOd1wvUx7DoqVornGdvXDLekMm3SHA@mail.gmail.com>
In-Reply-To: <CABCOCHShMC=5KoCSKKQ-zOd1wvUx7DoqVornGdvXDLekMm3SHA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nokia.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DM6PR08MB5084:EE_|CO6PR08MB7738:EE_
x-ms-office365-filtering-correlation-id: 847b488b-2d7f-43d8-cfd0-08db53e6586d
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: GqGluSXjEDHYtC4EBmwGRlGOviMc/xVuhuEja9xm93BFcW/GahHH1TzBK630JXOgXj21QwXgWc/9m/FSLpgKN8HEu9KRGwVYrmQIdCee4S6jLxHPqSS93gmDysbAfoA+hcv+nffCXPOLPWYmcesH4Ar/Q2t5DZfUAAG+lVecWn+4FglTvkD22ewzLq31aCK+g7Yj08JnZngQ4lrJPnHRTEJ12jhVOaOObcEHp8lSQ3vzrvnILIocF4s4nm/sx08lOi46RvGhqaA2LmY/H/gz/rra7tzo/nAlCHc2YT+p0yTYfeUrn1z7jJ1lHIyI+rFc+tHEtTIcDYlvN8V6v63V76OBVhWg2sFtxcB2MJhVhELblleO+RwIQUTfs8CxnQNmzyikJbJkJ3jWVUQYIr4YFCG6jsxYNO04f2oOKWtmb0FnLJhTA29ldBD0qj4GNfH0Vn+1d4XJ4b2E4qO/3W4/HT4cTXQTi0AutufLiE00WfM9xZxFJVrpYZA7Sn6KEWWIIEIlf5kJgBJG8o+FTAeQ759azYhTt+1XR9GyW8p5ldQdMznJNns8aTY4QDFryT81VbdI5Zi8fmZ+MZkQPB6t3ElC4i09+dnjfIek6Dur3w6bOJQTrGGHooJi/90B+Ub/3foXc4xEFrc5A2XTRv5BFw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR08MB5084.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(366004)(39850400004)(396003)(376002)(346002)(136003)(451199021)(2906002)(186003)(6506007)(26005)(9686003)(53546011)(38100700002)(86362001)(122000001)(166002)(38070700005)(33656002)(82960400001)(83380400001)(55016003)(9326002)(8936002)(8676002)(71200400001)(66556008)(64756008)(66446008)(66476007)(84970400001)(41300700001)(66946007)(76116006)(316002)(966005)(7696005)(110136005)(66899021)(478600001)(5660300002)(52536014); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: +/usavDOtt/1RKXVL57D0hS1p+opymPAIaiQqjqK3kjDSSuj+fSbI1zxRpGPFMMyWk7YGjksQ39i0xSJTLHiX3Ib2aaComVnrHWj+EhZ6XkLDWRA8Tvmuqr5fxATNBFCKdaE+TW6GlT2RQugdYD0ypjCM73VRx9153xzaZ0ft7H1Zo+UTWoXycXxsoD/0dRTyE6yoBiwmb7+wK5hL+6QSCEwTwRRBWEfBwaxsckwek/v4mJr9uHGVGeXTsn/4RGLF93iLfGU1P/4QOCZ3LwwromvHf0M9+TzQjFVBQ42bz3+hWZNzw3h9FqSdS6YuF4E5uw/cWob4IaC5CNywS3myDaED8pKuCUjag7lrkRoJnWyBjnfkvssfotckMSLbCYpp1mtZo6gEMHtFWHK5u0JKZW4koiv+U/Pc+ykiyKlQWXmYhtpGJxHqaCNXJDjttuNk/48us/996N4iPwye/1tr3bxAf19pnAlde24FVK3mzD2CQ2Q4yQmolq9RTKEpJJVnaBr0U+b/DL6cvfPusdx+KzEwaoWJ8zdQNCTMIqXqxDIj+aXhecmxA8J8YDVuICXy1mTFtyknNjWUxSEqy4nnflQp5RiNlHgguI41iosy8A7ivmdfPSxNRht9FStmoYlnmETMZY/BBtkfHUPgTMZ4D6LftDSKgI6sR491FGx01BJTXlmy6eCAUSDwzbMP+k6AZaWGAdgUtlJuzQD5T852VxMSk5IGku8/SxFWU5/e0yl9G4tXeT8eLOtQWjhRJ3aG7PbFrDKwIB6kw4T1jxx9LFChySX0wVgov8q4VkYwae8jcIxHGQ7w4/Y6YtG0qnL7aAWK/j3uju018OU64n6J/fqwT/NVjAtiQfAx3zym92P4PawezApqwSa6yCSWRPHNf3qa1L3DXFDGFeCEnl25j+ams6crIFYqnmD8cOGHtjB8HsGrFoQNEiJ3iUhayG2HzgYW5DXJ7h+rPdZGvpok2Dan2fdeHfpjDE5n1o2cExHql/am0mzC9IDsxvqhU8UZIe4TYJR8BgykA7nDUg8hvDukpMWW5lrIS7LIeZNFY8jOUrPNEC2qkoz0VjTXKN1ffcCU/bS5w6ngdS3e9soLwiZIMBxABSDr/Pn1+8IHFfvwQW+fwHOJzCI1xDeQq01V9/vxRThl8wix/TN/bNbJkBy1ILe/1TQU1cIpfmuG8olzOsX09q9xoTQ+y2q0lFrHFBGQTf+PqcWclz+ULjSYo5PAWtZxbu86Q/FtUpjCoo+7p1cA9AHpUllf0fNopN4crU415CIgESfYW391jv+QMxbU36Ohk2Md/Nq8Z5ZxrKY2cftchF1QcMzIXDI1G4GzgdtZVwKG0GHUJA9myKgSrR41ddIXaVqLke3cDgH2zTHqsmRMl5jQKHp+cd4keSe+2L3+qokAw2iSf89eTF6eNKlfiPXSuagN6OLGwXjzvDsK7UpK5vF/Wr2cDJvlyZ1exjzOn3qjvx404YVUStRYFLHoVDAS4uto2rCsSQEMQcgiqx1grqr8s/wB2PCF5dkr1rzclEOE8lsh8dzaZlRioDmkw23Dffn9F7MfQypSxyUs7CZROCfPLiWENp7K+Sg
Content-Type: multipart/alternative; boundary="_000_DM6PR08MB5084F7CCF7407519340DAF9C9B7A9DM6PR08MB5084namp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR08MB5084.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 847b488b-2d7f-43d8-cfd0-08db53e6586d
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 May 2023 19:14:59.3724 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 4NBriN3JTdvGqcEG7hl5lHWMKRpZjmvn/FPzNg3M5EkXcbpwKWwvmxME48inlhr2Wn4FWbuBfVGJhnQQP0QOvQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR08MB7738
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/eIlz8ZAo-V2n4Gl8CyZIrhcFx3U>
Subject: Re: [netmod] Comments on draft-ietf-netmod-yang-module-versioning-09
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
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: Sat, 13 May 2023 19:15:08 -0000

Hi Andy,

YANG modules are occasionally doing NBC changes today (in the IETF, in other standard bodies and in vendor modules). If an old tool/client doesn’t recognize the new rev:non-backwards-compatible extension it isn’t any worse off than today. But this extension allows YANG 1.1 modules to clearly communicate to tools/programmers/etc that an NBC has occurred.

About your last paragraph: The intent of the draft is not to encourage NBC changes. In section 3.1 it says the following:
Note that NBC changes often create problems for clients, thus it is recommended to avoid making them.¶
Section 7.1 says the following:
NBC changes to YANG modules may cause problems to clients, who are consumers of YANG models, and hence YANG module authors SHOULD minimize NBC changes and keep changes BC whenever possible.

When NBC changes are introduced, consideration should be given to the impact on clients and YANG module authors SHOULD try to mitigate that impact.

But NBC changes are happening in the industry so at least this lets authors indicate it.

I agree that doing a phased change is best. That’s what we recommend in section 7.1.1 (deprecate first, etc) and B.2.

The module versioning draft also updates that the change from current or deprecated to obsolete is NBC. Going “obsolete” is an impact to a client.

Jason


From: netmod <netmod-bounces@ietf.org> On Behalf Of Andy Bierman
Sent: Tuesday, May 9, 2023 2:06 PM
To: NetMod WG <netmod@ietf.org>
Subject: [netmod] Comments on draft-ietf-netmod-yang-module-versioning-09


CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.


Hi,

Most of the document focuses on the administrative details that will
be required to update a YANG module. (Lots of them).

My concern is with YANG 1.1 Co-existence and deployment of this new RFC. (Sec 3.1)

https://datatracker.ietf.org/doc/html/draft-ietf-netmod-yang-module-versioning-09#section-3.1

A client (or another tool) that is compliant with RFC 7950 is
not required to be aware of the new YANG extensions, or expect
NBC changes in new module revisions.  It is not a good idea to
allow NBC changes in a YANG 1.1 module. IMO the new rules
need to apply to a new YANG language version.  It is not reasonable
to expect YANG 1.1 tools to work even if MUST requirements are removed.

Since YANG 1.1 Co-existence is not possible, vendors will decide
for themselves how much NBC they want in their implementations.
Breaking a YANG 1.1 client tool is still a problem they will have to deal with.

This new RFC could encourage instability and poor engineering practices in YANG APIs.
IMO best practice is still to introduce a new identifier and phase out
the old identifier with status=deprecated, then obsolete.
This is how opensource usually works (for good reason).


Andy