Re: [Netmod-ver-dt] Balazs semver slides

"Rob Wilton (rwilton)" <rwilton@cisco.com> Sun, 24 March 2019 09:30 UTC

Return-Path: <rwilton@cisco.com>
X-Original-To: netmod-ver-dt@ietfa.amsl.com
Delivered-To: netmod-ver-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2658130ECA for <netmod-ver-dt@ietfa.amsl.com>; Sun, 24 Mar 2019 02:30:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, 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
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 AWla0QP73FmG for <netmod-ver-dt@ietfa.amsl.com>; Sun, 24 Mar 2019 02:30:10 -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 624C31279A4 for <netmod-ver-dt@ietf.org>; Sun, 24 Mar 2019 02:30:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5846; q=dns/txt; s=iport; t=1553419810; x=1554629410; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=dHVFmjqG936mtR9zwn3UmrdsCL1nclOHvCklO35eKDA=; b=P0nL1LJkEmk5rp0eOtG4gIOFxQ356Yx08FTtLM64kiO+FEhSEctfqZmE JRf4bimpbI4N0OU1e6eDKUVJFlOYhhONiu3KY1epCPW1wKq+9BPQig6e1 j0akyL8kiy+/oQlAZ3DW47YpJ743canxTg1t5mw/ytMZy3c8Qdv+xanbV s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AVAADQTZdc/4ENJK1jGgEBAQEBAgEBAQEHAgEBAQGBVAIBAQEBCwGCEGiBAycKhASTO4INmE6BZw0BARgLhANGAheEZSI3Bg0BAQMBAQkBAwJtHAyFSgEBAQQBASEROhcEAgEGAhEEAQEBAgIjAwICAiULFAEICAEBBAESCBODCIF1D49pm2aBL4QEAYYaBYELJAGEXIZVF4FAP4Mlfj6CYQEBgS4BEgE2gnOCVwOKGIJYl0ZgCQKTLyGCAoV8jACLHJMqAhEVgS41ImVxcBU7gmyCFheIX4UIATZBMY1RgR+BHwEB
X-IronPort-AV: E=Sophos;i="5.60,256,1549929600"; d="scan'208";a="537027161"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 24 Mar 2019 09:29:57 +0000
Received: from xch-rcd-011.cisco.com (xch-rcd-011.cisco.com [173.37.102.21]) by alln-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id x2O9Tvej005304 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 24 Mar 2019 09:29:57 GMT
Received: from xch-rcd-007.cisco.com (173.37.102.17) by XCH-RCD-011.cisco.com (173.37.102.21) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 24 Mar 2019 04:29:56 -0500
Received: from xch-rcd-007.cisco.com ([173.37.102.17]) by XCH-RCD-007.cisco.com ([173.37.102.17]) with mapi id 15.00.1473.003; Sun, 24 Mar 2019 04:29:56 -0500
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: "Joe Clarke (jclarke)" <jclarke@cisco.com>, wangzitao <wangzitao@huawei.com>, Balázs Lengyel <balazs.lengyel@ericsson.com>, Qin Wu <bill.wu@huawei.com>, "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: [Netmod-ver-dt] Balazs semver slides
Thread-Index: AdTiGVzF3xS5jzuAs0GSkWwXg+8umgALlAGAAAj6lXA=
Date: Sun, 24 Mar 2019 09:29:56 +0000
Message-ID: <57f5645b67da4e66a02db813274bb0d9@XCH-RCD-007.cisco.com>
References: <E6BC9BBCBCACC246846FC685F9FF41EA2D978012@DGGEMM527-MBX.china.huawei.com> <1cf7acae-07bb-a256-6613-837544d6fb3f@cisco.com>
In-Reply-To: <1cf7acae-07bb-a256-6613-837544d6fb3f@cisco.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.61.79.96]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Outbound-SMTP-Client: 173.37.102.21, xch-rcd-011.cisco.com
X-Outbound-Node: alln-core-9.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/QFIEb_G3R2KrmwC7qtrINr93MtU>
Subject: Re: [Netmod-ver-dt] Balazs semver slides
X-BeenThere: netmod-ver-dt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NetMod WG YANG Model Versioning Design Team <netmod-ver-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod-ver-dt>, <mailto:netmod-ver-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod-ver-dt/>
List-Post: <mailto:netmod-ver-dt@ietf.org>
List-Help: <mailto:netmod-ver-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod-ver-dt>, <mailto:netmod-ver-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Mar 2019 09:30:13 -0000

Yes, to add to what Joe has said.

The assumption here is that most NBC changes will not break imports, and hence it is generally better to be flexible with your imports.  Of course, as Joe indicates, the solution allows the module author to decide how permissive they should be.

Thanks,
Rob


> -----Original Message-----
> From: Joe Clarke <jclarke@cisco.com>
> Sent: 24 March 2019 08:44
> To: wangzitao <wangzitao@huawei.com>; Rob Wilton (rwilton)
> <rwilton@cisco.com>; Balázs Lengyel <balazs.lengyel@ericsson.com>; Qin Wu
> <bill.wu@huawei.com>; netmod-ver-dt@ietf.org
> Subject: Re: [Netmod-ver-dt] Balazs semver slides
> 
> On 3/24/19 04:42, wangzitao wrote:
> > Hi Rob,
> >
> > Can we allow to import two non-backward compatible models at the same
> time?
> >
> > For the slides' example:
> > Available versions:
> > 0.1.0, 1.0.0, 1.1.0, 1.1.1m, 1.1.2M, 1.2.0, 1.2.1M, 1.3.0, 1.3.1,
> > 2.0.0, 2.1.0
> >
> > import example-module {
> >      semver:version 1.1.0-1.1.1;
> >      semver:version 1.2.0;
> >      semver:version 1.3.0+;
> >    }
> >
> > If the statement "semver:version 1.3.0+" means allow all versions after 1.3.0.
> it may cause some uncontrollable errors. For example, there is a new version
> 3.0.0 that delete a list which be augmented by example-module. This will cause
> obvious error. How to avoid it?
> 
> This is a risk the current module author takes.  If they feel the imported module
> might change, then they would bound the upper import with 1.3.0-1.MAX.MAX.
> 
> Joe
> 
> >
> > Best Regards!
> > -Michael
> >
> >
> >
> > -----邮件原件-----
> > 发件人: Netmod-ver-dt [mailto:netmod-ver-dt-bounces@ietf.org] 代表 Rob
> > Wilton (rwilton)
> > 发送时间: 2019年3月23日 23:11
> > 收件人: wangzitao <wangzitao@huawei.com>; Balázs Lengyel
> > <balazs.lengyel@ericsson.com>; Qin Wu <bill.wu@huawei.com>; Joe Clarke
> > (jclarke) <jclarke@cisco.com>; netmod-ver-dt@ietf.org
> > 主题: Re: [Netmod-ver-dt] Balazs semver slides
> >
> > Hi Michael,
> >
> > Because of the '+' in semver:version 1.3.0+;
> >
> > Thanks,
> > Rob
> >
> >
> >> -----Original Message-----
> >> From: wangzitao <wangzitao@huawei.com>
> >> Sent: 23 March 2019 10:40
> >> To: Rob Wilton (rwilton) <rwilton@cisco.com>; Balázs Lengyel
> >> <balazs.lengyel@ericsson.com>; Qin Wu <bill.wu@huawei.com>; Joe
> >> Clarke
> >> (jclarke) <jclarke@cisco.com>; netmod-ver-dt@ietf.org
> >> Subject: RE: [Netmod-ver-dt] Balazs semver slides
> >>
> >> Hi Rob, Balazs,
> >>
> >> One comment, Page-18 Import by version, you import versions with a
> >> major version number of 1. Why it allow version '2.0.0' and '2.1.0'?
> >>
> >> Best Regards!
> >> -Michael
> >>
> >> -----邮件原件-----
> >> 发件人: Netmod-ver-dt [mailto:netmod-ver-dt-bounces@ietf.org] 代表 Rob
> >> Wilton (rwilton)
> >> 发送时间: 2019年3月22日 20:06
> >> 收件人: Balázs Lengyel <balazs.lengyel@ericsson.com>; Qin Wu
> >> <bill.wu@huawei.com>; Joe Clarke (jclarke) <jclarke@cisco.com>;
> >> netmod-ver- dt@ietf.org
> >> 主题: Re: [Netmod-ver-dt] Balazs semver slides
> >>
> >> Thanks.
> >>
> >> So, I think that the combined set of slides is attached.  Joe,
> >> Balazs, can you please check that I have incorporated your slides OK.
> >>
> >> Thanks,
> >> Rob
> >>
> >>
> >>> -----Original Message-----
> >>> From: Netmod-ver-dt <netmod-ver-dt-bounces@ietf.org> On Behalf Of
> >>> Balázs Lengyel
> >>> Sent: 22 March 2019 11:27
> >>> To: Qin Wu <bill.wu@huawei.com>; Joe Clarke (jclarke)
> >>> <jclarke@cisco.com>; Rob Wilton (rwilton) <rwilton@cisco.com>;
> >>> netmod-ver-dt@ietf.org
> >>> Subject: [Netmod-ver-dt] Balazs semver slides
> >>>
> >>> Hello,
> >>>
> >>> Here is an updated version of my slides about the module semver.
> >>> Please include them.
> >>>
> >>> regards Balazs
> >>>
> >>> --
> >>> Balazs Lengyel                       Ericsson Hungary Ltd.
> >>> Senior Specialist
> >>> Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com
> >
> > _______________________________________________
> > Netmod-ver-dt mailing list
> > Netmod-ver-dt@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod-ver-dt
> >