Re: [netmod] Follow-up: impact of changing an import statement
"Reshad Rahman (rrahman)" <rrahman@cisco.com> Sun, 27 September 2020 19:46 UTC
Return-Path: <rrahman@cisco.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 455073A0ADD for <netmod@ietfa.amsl.com>; Sun, 27 Sep 2020 12:46:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level:
X-Spam-Status: No, score=-9.598 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=g4gVb4UE; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=0ULpzPB9
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 YkzYHZRyu9Rg for <netmod@ietfa.amsl.com>; Sun, 27 Sep 2020 12:46:19 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 735433A011B for <netmod@ietf.org>; Sun, 27 Sep 2020 12:46:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3610; q=dns/txt; s=iport; t=1601235979; x=1602445579; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=9rn0ji55b7lPE+Fugjw5pX/uEHStC3a9C+H5m7Aw22o=; b=g4gVb4UEHAfZ8jEjfyAmFeGHEn9HLnEiw1KjuNXljjadbC9wt0Vmqo1K 66SKvx3RAIyhV8Pe80+c26Fedy17Hs9nH8POuU9fs80JqIRbxeR6YxupH pysjdN2UV+2fdLVOQsoTPWNv+G0ugNhfp9Xq7SVJqxFILQa/TSScEXfhe w=;
IronPort-PHdr: 9a23:V179MBOBfToDhcPDZTUl6mtXPHoupqn0MwgJ65Eul7NJdOG58o//OFDEvK493l3AVoLR8LdZjevIvrr7WHARp5qM4zgOc51JAhkCj8he3wktG9WMBkCzKvn2Jzc7E8JPWB4AnTm7PEFZFdy4awjUpXu/vjwbERL1Lk9oIOXrF5TJjtimkey/qNXfZgxSj2+7ZrV/ZBy9sQTWsJwQho1vT8R5yhbArnZSPepMwmY9LlOIlBG67cC1r5M=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BNAADZ6nBf/4YNJK1cAxwBAQEBAQEHAQESAQEEBAEBQIE7BwEBCwGBUVEHcFkvLIQ9g0YDhFmJJJh2gS4UgREDVQsBAQENAQEfDgIEAQGESwIXghcCJTQJDgIDAQELAQEFAQEBAgEGBG2FXAyFcgEBAQECARIREQwBATcBDQICAQgOAggCAiYCAgIZFxUQAgQOBSKDBAGCSwMOIAGqAgKBOYhhdoEygwEBAQWCS4J1GIIQAwYFgQkqAYJxg2mGUxuBQT+BOByCTT6ECAESASEXCiaCUDOCLZAFgzSSfpAFgQkKgmeaVwMfoROGGax8AgQCBAUCDgEBBYFUOmdwcBVlAYI+UBcCDY4fg3EziiN0NwIGAQkBAQMJfI5KAQE
X-IronPort-AV: E=Sophos;i="5.77,311,1596499200"; d="scan'208";a="562600876"
Received: from alln-core-12.cisco.com ([173.36.13.134]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 27 Sep 2020 19:46:18 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by alln-core-12.cisco.com (8.15.2/8.15.2) with ESMTPS id 08RJkI1G021441 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 27 Sep 2020 19:46:18 GMT
Received: from xhs-aln-001.cisco.com (173.37.135.118) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 27 Sep 2020 14:46:18 -0500
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 27 Sep 2020 14:46:17 -0500
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Sun, 27 Sep 2020 15:46:17 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g537NqCJuAoHpqXXp0xzvsBCIy1bvhFG750OgdYBN0DNhb1QZVvQvt776j5zypWH1u19PrdpRGt13nqtsFOJpvdwMAFfS5rj4UiZCUIV3csRQlyzqiEe+Qe5tuNPNFaWdEbGUbo4wO0f2A67jwzY4IDb+nIgJUQaJsTqp42p7OX8Q2139dV2rSGTqKFdFHo66/9PGlXtAN+8mZQlUAxZ7X6OndPnwULa8ljm8w7Qm3XFUVXvKaZnqJc2hpuh3aYIcjY/LjYwI0w/XeNwVjzztQP9jqM4KP2+AVlRpm+aj4y4vhWW4CnGfkqELWheq7n14k1TYl+1xOQv1oSCKqgz1w==
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=9rn0ji55b7lPE+Fugjw5pX/uEHStC3a9C+H5m7Aw22o=; b=boWD9gy5ypw05qNA3ZATZYx+8TndFcp+6GphV36gSimz5mFEWMW1y4Ye7s+VySW4PPeFme6lWJiqhHYVtxCYmar+dJYQjhSL+IzQ8xrUU9CS6q85l94KGHc9mvulKxlBFub7v2EMFFItsMVd3LqvBK17AH74bbw8aEzLCeV586zqM5EOAvLGVOG4do3KrrhLxNgCFU4iffi7eZ15mI8GBlg6h6hdssv5pdfyw5M2ztmmeV8yQmdizNnDuN8B/FJGSCuAR94m+QPm+mQmcXVmLz5oBCLEoh+l5+JygzA6XSKUsBvtoo+L6FRyrebK9/jLRa14Sd9Z2SUQITNB2Oajhg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9rn0ji55b7lPE+Fugjw5pX/uEHStC3a9C+H5m7Aw22o=; b=0ULpzPB9y9r3VUCXz1nqo50X9wHbpiMVAXZX5aTgPCh1jfATHplRvJzWFIfQljv3qEo1qaDSPsWPw8YIZhXsNDEq0sNUOlrLjfTLiEIYKgLypdGWys1O8oaYaJOCJRP/Xyp8YNUfSogXPB+qx6re0Gz50yKQfBknlb82soqN0uU=
Received: from BN6PR11MB3875.namprd11.prod.outlook.com (2603:10b6:405:80::37) by BN7PR11MB2580.namprd11.prod.outlook.com (2603:10b6:406:b5::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14; Sun, 27 Sep 2020 19:46:16 +0000
Received: from BN6PR11MB3875.namprd11.prod.outlook.com ([fe80::e467:56fc:947d:6bac]) by BN6PR11MB3875.namprd11.prod.outlook.com ([fe80::e467:56fc:947d:6bac%7]) with mapi id 15.20.3412.029; Sun, 27 Sep 2020 19:46:15 +0000
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] Follow-up: impact of changing an import statement
Thread-Index: AQHWZ6634XZdD3nh3kGPjRnP8If83akivMYAgACZRICAWaU8AA==
Date: Sun, 27 Sep 2020 19:46:15 +0000
Message-ID: <164238F4-E3F8-41B5-8BF5-6F98C0682252@cisco.com>
References: <E0547418-ACC4-4D92-8BA6-080A55B536AC@cisco.com> <20200801053906.n5cnacpzrknhkrnc@anna.jacobs.jacobs-university.de> <07335FA9-3D3A-4563-9B21-15F178EBBB99@cisco.com>
In-Reply-To: <07335FA9-3D3A-4563-9B21-15F178EBBB99@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.37.20051002
authentication-results: jacobs-university.de; dkim=none (message not signed) header.d=none;jacobs-university.de; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [2607:fea8:bee0:6c2:d00:cdee:c571:a61d]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 05aad819-80ac-4397-79b5-08d8631dff29
x-ms-traffictypediagnostic: BN7PR11MB2580:
x-microsoft-antispam-prvs: <BN7PR11MB25808E07280E1AFDD4DD2D0BAB340@BN7PR11MB2580.namprd11.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: 8ZMEysRmXDEbUDTa0u3XLem9nm9r+NvbGabhtWGd/16iliyyFDdPHQcrcJwMwiYB9/Qz2AtmaQVKFnvE9lSxZcZB5e13yndt3K0AOVqyTOuXWm/Vi/LlJ4OArPsznMLBfZvI63+lX/R8stl8tXC2tLTEY8h69qT6IP9hAntxC/FwkT+G8oja8A+2UQIz9eS6F1tjvmU7g80HpcSnnIQFtch0ERrF9/lks2uHY7kNeP2d3KeKBkbNYV7dH2sTX78uw6zkA5C1gpMoSenapBVFmmqpb5dsuV4ySsXruouJEWEnh8+0RWNf+QmjvVrCrGt5tJmCFi7Y3DG5qWwMfOZIOyBW7aPOIBnip29Tp7KBaXl3KQRaBxVJsE8kI1ePUhsiB217yOcM4S13uq2p15Qp98lAmbIGvzy3TyIUyxjwb6n/2xhD0s6QAYqeKjQxCKjx9I1elyx610gARA0dnzq7Rg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB3875.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(376002)(366004)(346002)(396003)(136003)(86362001)(478600001)(33656002)(36756003)(6916009)(2906002)(2616005)(316002)(6512007)(71200400001)(5660300002)(186003)(83080400001)(76116006)(8676002)(91956017)(66446008)(64756008)(66556008)(66476007)(66946007)(4326008)(53546011)(6506007)(6486002)(8936002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: 5Zr9B/N2F55OvmFQQQS86Ajaaxb9NDLM2NQVaobkLR63AwIoHSkcaZQ9rol67/Tr7bmsT4rX5Rv9epsAxcnCSGYX27nXA2db0PTN1U8iby7qtCB2Zha7swt97R0YkixUiHubR4RxR+UzufZPI0nmVcolQIly2WiRTUhilHugj7O9NgJvzs6x9IcCESNop7FV1SXkQDpqxlB9SId4LvDabbvolpeu8ShHIyrPyLDH4B2YQNtvy6LDZACy7Pdiwy/8cgFtVOo9mAWcv03Li1TBkH0pFHSWin+HXW6fB1+Rsz9b8h3jKQlgaZob/PaB4lXsMtg1JFUoJBnNSndzxQhlAwKRneywBKEx+Vf0aYCV/ebAENlaNiJjrTl3/naEuzlBtryiNNDl0dAZJgNYVlRpQBV4Iy4ZSrHWTbSAirkyoNSbJBSZkk2GfKUZXI+mlhDkwpFGEhDXWVW9DCY/RwKSJLY4sj22OJrpyRAkEcxz8/xe65O80SHadAsp0gOGVRiTyg95NcLTDYcOm5RA8XxRzcXjdkVVJE1ymTFdtpFmV6iTw/MVckNMClt39+oIY/j6EkSk7WkR3yFiw8CYg/KGU4myCiKmr962IiWZAX0TlN5Tx3KkstYa8TK2wQQ5FFDfVjMp59wmy0+dhu/ebEt2zoj3uoU7cNJhK/haLLXZwg4A5Kq4tlv/dlES6OEllfoY+OWVwLkoVsvmqQUcn+loQw==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <076953C7B56F3B4689F7F86D121F6817@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB3875.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 05aad819-80ac-4397-79b5-08d8631dff29
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2020 19:46:15.7505 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: EScWeWAXitWQ/Zwmc+Cc2X5VSHRjhBrxhru0iRFgqWJrZOXUuoopZMfAk9c38rcNtuuXNd6OkpB1IS8QV8MqHA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2580
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.12, xch-aln-002.cisco.com
X-Outbound-Node: alln-core-12.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/UJFG1vkEJsGVsaplVnPicTOhoNw>
Subject: Re: [netmod] Follow-up: impact of changing an import statement
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: Sun, 27 Sep 2020 19:46:25 -0000
Inline. On 2020-08-01, 2:47 PM, "Reshad Rahman (rrahman)" <rrahman@cisco.com> wrote: On 2020-08-01, 1:39 AM, "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de> wrote: On Sat, Aug 01, 2020 at 02:51:54AM +0000, Reshad Rahman (rrahman) wrote: > WG, > > Following up from the discussions during NETMOD meeting on Thursday. One of the main open topics is what to do when an import stmt is changed, for example > > 1. Module A (1.0.0) imports module B using “2.0.0 or derived”. There is no version 3+ for module B so module A uses 2.Y.Z > 2. A new revision 3.0.0 of module B is created AND there is a change in module A to import module B using “3.0.0 or derived”. What does "2.0.0 or derived" mean? Does it mean (i) any module >= 2.0.0 or does it mean (ii) any (module >= 2.0.0 && < 3.0.0)? It currently means (i). Kent asked about this on slide 12 during the meeting stating he believes it should be (ii). My response was that this has been discussed among the authors and there's no agreement among us right now. I think Rob W has an AI from the WG meeting on this. This is the email from Rob on this topic. Regards, Reshad. > Authors/contributors have discussed 2 options and right now we don’t have unanimity: > > 1. Option A: depending on the impact on the importing module A, the import-stmt is deemed BC or NBC. E.g. if the only NBC change in the imported module is to a type which the importing module does NOT use, that’s a BC change for the importing module. > 2. Option B: consider the import-stmt change as a BC change and resolve this elsewhere e.g. YANG-Packages or YANG-Library. Whether a change is BC or not always depends on which definitions have changed, how they have changed, and how these definitions are used. So the answer very likely must be option 1. Option 2 also seems to push the problem elsewhere (packages, library) without providing the details. I agree. We have discussed a bit how this would be done but that was right before the IETF. With YANG-Packages, the package version would be modified accordingly and a client would need to do schema comparison. Thanks for the input, Reshad. /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/>
- [netmod] Follow-up: impact of changing an import … Reshad Rahman (rrahman)
- Re: [netmod] Follow-up: impact of changing an imp… Juergen Schoenwaelder
- Re: [netmod] Follow-up: impact of changing an imp… Reshad Rahman (rrahman)
- Re: [netmod] Follow-up: impact of changing an imp… Reshad Rahman (rrahman)
- Re: [netmod] Follow-up: impact of changing an imp… Reshad Rahman (rrahman)