Re: [netmod] Follow-up: impact of changing an import statement

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Sun, 27 September 2020 19:49 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 9E0343A0AF3 for <netmod@ietfa.amsl.com>; Sun, 27 Sep 2020 12:49:11 -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=ApmEHid/; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=0GySKicj
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 Dk5LjXmlIZww for <netmod@ietfa.amsl.com>; Sun, 27 Sep 2020 12:49:09 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1C1373A0ADD for <netmod@ietf.org>; Sun, 27 Sep 2020 12:49:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3720; q=dns/txt; s=iport; t=1601236149; x=1602445749; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=mR3X84YxYnafwBTh3XdbOxHaUd3VtfSynI0PBQ9Dh/A=; b=ApmEHid/3vsEdTSWa2yJU75Zw0gCNGl71vcvHC0PwBUhL9iMH7JtAgik vuUc/7LcS9A6nwJEarc3LldTDuoP7z/U3At0M/3BkrIwkffr/gEom0K9b niWHUt9TYyOLk2DCX9EhxNe2+x0wGQHAUbSxlZ/LPJicOBcx++hE63Uae Q=;
IronPort-PHdr: 9a23:OQRJRxxa1hEsh0XXCy+N+z0EezQntrPoPwUc9psgjfdUf7+++4j5ZRePt/dkh1jDRsDG7fNahvDNsrzxH2ANst6Ns3EHJZpLURJNycAbhBcpD8PND0rnZOXrYCo3EIUnNhdl8ni3PFITFJP4YFvf8X+75jkYAVDiMwtrK/7uG5LDyci6hKi+/pTJaFBOgzywKbp5MBSxq1DXsc8b5OkqKqs4xhbT5HVSfOEDzmJzLlXVlBH5tco=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BNAABn7HBf/4ENJK1cAxwBAQEBAQEHAQESAQEEBAEBQIE7BwEBCwGBUVEHcFkvLIQ9g0YDhFmJJJh2gS4UgREDVQsBAQENAQElCAIEAQGESwIXghcCJTQJDgIDAQELAQEFAQEBAgEGBG2FXAyFcgEBAQECARIREQwBATcBDQICAQgOAggCAiYCAgIZFxUQAgQOBSKDBAGCSwMOIAEOqXQCgTmIYXaBMoMBAQEFgTMBgReCdhiCEAMGBYEJKgGCcYNphlMbgUE/gTgcgk0+gXljAoEqARIBOAoZDYJQM4ItkAWDNJJ+kAWBCQqCZ4h7kVwDH6EThhmXWZUjAgQCBAUCDgEBBYFUOmdwcBVlAYIKAQEyUBcCDY4fg3EzhGGFQnQ3AgYBCQEBAwl8jkoBAQ
X-IronPort-AV: E=Sophos;i="5.77,311,1596499200"; d="scan'208";a="830843870"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 27 Sep 2020 19:48:55 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by alln-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id 08RJmtUi007303 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 27 Sep 2020 19:48:55 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) 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:48:55 -0500
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 27 Sep 2020 14:48:55 -0500
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Sun, 27 Sep 2020 15:48:54 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G06byJwQTT38Xl41T3eDOnN+WHCOYDpIj+IGDlsxDqPvkOrCfvMzh4pFURxWqBeoO9ZBiyNZhymA28ju0MP36jTt921lGVM5FskrW5tjzRggQ8gs7CW+FTqyFzIvyPRQfxYwFkmeuzA0UOtJy2FDZNXsaUNha89dZglciunFjL3dcEdu+ReM8k27/CZZT6A276kEorIyTtXeln0TUFYt1pwMC9COJg5WOrDECdGl+9r1HGEKSye+Dc5dqwpB+Iq8D4xbfYtvtTYjyFuAZF/VBot4Koo+ri8SoHNm7SYflXKlAGQaZ/zF137lOcGJ2Ux/TghOECbzuxKi/b9/Hrg10w==
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=mR3X84YxYnafwBTh3XdbOxHaUd3VtfSynI0PBQ9Dh/A=; b=ail8BP3vY9Id5eHCSOAC575tiGqxLpFCrreMwM3EIoxhkB1lMm8hZeA/SNzQ2on1bwof8FBO3kQ4kuywGCamLdkdEVQZaJI3d+NoXfsVXXr9wbUy6VNgpBoxqDZO+kBEOEhPOCRXj4JwXp0u/MPG3DD5h8lbGiIEYAyP4uuHe4eOkkShgAJ3SXa1MMEbcosldheHc5bUjWnesect0pxEw4HfRTutLfjyN3rWapN9n2f1a4RYO4jUSTULkr9TPiFGWHpwGcfj7Kx1lz3unZmB/18JucnRlalQz10H8qFC5isGLbydgS+qNpmrv5VM65dNJHS3oU0HKr/84qVMtqm1Bg==
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=mR3X84YxYnafwBTh3XdbOxHaUd3VtfSynI0PBQ9Dh/A=; b=0GySKicjUKk+LG+ZFAwzaffsSfALxoUVBfYtKiZ4H0UxGDMTkwk/ilKL2rb538FsxveHTIdr7CDZFXyb/P2ANpE5qlbNRDQJCIuWtDmAkrCRrEz7qhPqPxYiwAGrmnzHaozoL/gHQxge/ANDq4pDpMclEhQ44W7nD9AMVS54Klg=
Received: from BN6PR11MB3875.namprd11.prod.outlook.com (2603:10b6:405:80::37) by BN6PR11MB4161.namprd11.prod.outlook.com (2603:10b6:405:81::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.23; Sun, 27 Sep 2020 19:48:53 +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:48:53 +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: AQHWZ6634XZdD3nh3kGPjRnP8If83akivMYAgACZRICAWaX3gA==
Date: Sun, 27 Sep 2020 19:48:53 +0000
Message-ID: <30839E58-035B-4C4C-B23D-EE3A39EB4C11@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: 8be7621c-fb0e-4171-15a2-08d8631e5d0b
x-ms-traffictypediagnostic: BN6PR11MB4161:
x-microsoft-antispam-prvs: <BN6PR11MB41611CD2A23F32E75CC503C0AB340@BN6PR11MB4161.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: HOKsUknWsrgIg6jsv+Yc83BMiEw+n8jR1E4/uBumerWzwZphLRb8Tv7RdlE9Zrlhd2ShFI3ACNl2pc0C/3VCAYTpm8fxJenVweYyHe2ZUC0oKplVVSON89ckmtaZz53dNtMhl74u3Z9NV3O7PspAPSS2zymftu0xswZVPydZHcYFvFirlKxiDD0z+InFPkkfCtHe7GKW2YxyCT/mdGc10QeLulM6IQdoJCaqe6HF1I9aRBjrw5ymQiDTE7pNhvyNZkv5kUaplYMqZft2//HhPpS9drYgpZRss/vzZWShUxv8vHTVj9BDxDwmfoY7F+MHNQ1dT5B4+Hf3rXhPUh4OW7V+MENXNazk9a7nhsdcJ8CVw5AVh4OoVJHsfRdl2TwAZLW72WrQwyr7IObo5Z0Bg2tHf/h3r7T7x7G28jq6nwJ8JlW+lAV2CJTeelwAdlqIwXd0LiTcCDd+XF36z75jXA==
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)(366004)(346002)(396003)(376002)(136003)(53546011)(91956017)(76116006)(6506007)(66946007)(66446008)(64756008)(66556008)(66476007)(316002)(6486002)(4326008)(2906002)(5660300002)(36756003)(86362001)(6916009)(33656002)(2616005)(186003)(966005)(83080400001)(8676002)(6512007)(8936002)(478600001)(71200400001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: wXXrwCMqEjoFtatPdcZzlaBaW+s5vdia+LYW27VYj71TGduIdJAwa0ENTX2S1wpHxmRsFqcJ+VytKV/envX6APMNbX3VmGwiGeOAcTDoR4cOW7TOe4cFK96WjOLNKTAGG2kxWzfKWDcZ32BAtJJpmOTt2sV/o1+90ruR/3g2b7uWVEiOqGjTGnzG76WDhJlZ/V96wLOCyzx7h7Ddr3/FHpXgXpC/UzJf3Nckxp+/UZNVuYVvZsYftUG2UC6y1+6jPHsQ61LFFxQpDISP0YpyQtl8Er9mi4+s0CFYBQp6KrEJgKocI1KgrzjpjjoDFINtNOfQKE7imBLqKXcGNUXxobNjeplderUJwP7uAeY4lLolU4mOqSOQ9tmZxAlHmVkZgB6xgw73Pbn1OEl3J4OykJZwKaWt6OZ24vMN+xJTPWO91QYHXs4LERaWC0719QHSF+ULYBpMISwTuTKuUeSOTvyalX5Hlf9gGJeLrwJRbRAyAMFS1swMrHA9gPX6nKcgk0eFvaptGRBzo2YOg4cYSnBsuSTO2hJlfg6W6smPnMgQ0n99CVkF5Rze0PpVSMEArwK0KmW1texSROEWsn/3bg/CfDPAB779bYv0WBRgrCa3s3JtncqPZVcW5GWc5bpSo5iFqPyD6zn0or/5jDHXo62ckvhJuSD64vXlDQ126xTsY6ebraEJcrjnc8ZWAnfxDFmpLm2xNlebOzCT1Dy89w==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <FFF9D899A89153488AFB4515075D0F52@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: 8be7621c-fb0e-4171-15a2-08d8631e5d0b
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2020 19:48:53.2312 (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: sC5urLFTUhlpGes0YStVDRQBJX3Rq3AWRvr1k7NT1Ab088E8OFiU4MxZ7srjHcJsBxSeuBCiQGwyV8FBDO7fGw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB4161
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.12, xch-aln-002.cisco.com
X-Outbound-Node: alln-core-9.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/8i1NaqOUAw5YsCWejJLOZ0j0qwA>
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:49:12 -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.
<RR> This is the email from Rob on this topic:
https://mailarchive.ietf.org/arch/msg/netmod/dGQX4jeQWjPT1TqPjk8_yjVJhFM/

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