Re: [Netmod-ver-dt] Latest doc version

Qin Wu <bill.wu@huawei.com> Sun, 10 March 2019 12:27 UTC

Return-Path: <bill.wu@huawei.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 A0DC0126C15 for <netmod-ver-dt@ietfa.amsl.com>; Sun, 10 Mar 2019 05:27:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 cslaxq8tq4qJ for <netmod-ver-dt@ietfa.amsl.com>; Sun, 10 Mar 2019 05:27:48 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 19C5A124D68 for <netmod-ver-dt@ietf.org>; Sun, 10 Mar 2019 05:27:48 -0700 (PDT)
Received: from lhreml701-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id CEFE7965DEF24BDDA6B0 for <netmod-ver-dt@ietf.org>; Sun, 10 Mar 2019 12:27:45 +0000 (GMT)
Received: from NKGEML412-HUB.china.huawei.com (10.98.56.73) by lhreml701-cah.china.huawei.com (10.201.108.42) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 10 Mar 2019 12:27:44 +0000
Received: from NKGEML513-MBX.china.huawei.com ([169.254.1.81]) by nkgeml412-hub.china.huawei.com ([10.98.56.73]) with mapi id 14.03.0415.000; Sun, 10 Mar 2019 20:27:41 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>, "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: Latest doc version
Thread-Index: AdTXPCoTZLCGv/U7S6K5WDL0HPiVng==
Date: Sun, 10 Mar 2019 12:27:40 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA9B2C82E5@nkgeml513-mbx.china.huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.45.110.90]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA9B2C82E5nkgeml513mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/PNHDrYmWkJd1h_SmZYPQ9IxYTKE>
Subject: Re: [Netmod-ver-dt] Latest doc version
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, 10 Mar 2019 12:27:52 -0000

Hi, Rob:
Sorry for late reply.
Please see comments inline.
发件人: Netmod-ver-dt [mailto:netmod-ver-dt-bounces@ietf.org] 代表 Rob Wilton (rwilton)
发送时间: 2019年3月7日 19:54
收件人: Qin Wu <bill.wu@huawei.com>; netmod-ver-dt@ietf.org
主题: Re: [Netmod-ver-dt] Latest doc version

Hi Qin,

Thanks for the comments.



From: Netmod-ver-dt <netmod-ver-dt-bounces@ietf.org<mailto:netmod-ver-dt-bounces@ietf.org>> On Behalf Of Qin Wu
Sent: 01 March 2019 07:10
To: Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>; netmod-ver-dt@ietf.org<mailto:netmod-ver-dt@ietf.org>
Subject: Re: [Netmod-ver-dt] Latest doc version

Hi, Rob:
A few comments on the latest version

1.       Section 1, paragraph 2, 2nd bullet

      An extension to allow YANG module imports to be restricted to

      modules with particular semantic versions, allowing inter-module

      version dependencies to be captured within YANG module

      definitions.

  [Qin]s/An extension/A YANG extension

[RW]

OK



2.       Section 1.2, paragraph 2

   [Qin]: which requirements have not been addressed, should this be clear in this section?

[RW]

OK.



3.       Section 1.2 paragraph 3

   [Qin]:draft-wang-netmod-module-revision-management-01 section 4.1 is also

   targeted to address requirements 2.1 defined in draft-verdt-netmod-yang-versioning-reqs-02

   and will review details in section 6.

[RW]

We’ve not discussed this draft in the design team at all, so I think that we should find time to discuss this perhaps at IETF 104.

[Qin]:Sure, that will be great, thanks.



4.       Section 2.1

   Q.  Does statement ordering need to be considered as part of the

   comparison?  RW: I think the answer should be no.  RR: ordering

   matters for RPC/action input as per https://tools.ietf.org/html/

   rfc7950#section-7.5.7

   [Qin]: I believe when you compare two modules, statement order in one module

   should be adjusted to follow the same statement order of the other module. But

   not sure automation tool can be built to do this. Manual provision on the statement

   order is needed.

[RW]

For the moment, I am just tracking this issue at https://github.com/netmod-wg/yang-ver-dt/issues/6, and I intend to list this as an open issue in the draft.

[Qin]: Good.



5.       Section 2.2

      Module definitions that follow the semver.org 2.0.0 versioning

      scheme are fully compatible with implementations that understand

      the YANG semantic versioning scheme.

  [Qin]:What about module definitions that follows YANG semantics versioning schema defined in this document?

  are they compatible with implementation that understand YANG semantics version schema defined in this document,

  probably the answer is yes, but it is not clear in the text.

[RW]

Sorry, I don’t understand the question.



[Qin]: I thought we focus on modified semantics version which is different from semver 2.0.0 versioning scheme,

Correct, if I am wrong.

6.       Section 3, paragraph 3 said

“   changing the name of a leaf could break an

   import but frequently would not, ”

[Qin]:frequently changing the name of a leaf would not break an import? Would you clarify this?

[RW]

This just means that in many cases changing the name of a leaf is unlikely to break a module import, but it might (e.g. if another module had a leafref to that leaf).

[Qin]:Thanks for clarification.

7.       Section 3, paragraph 4

   [Qin]: Do we support some import statement contains version statement or

   some import statement contains revision-date? Are these important statement interchangeable?

[RW]

There are 3 choices:

-          Regular import

-          Import by version (which we adding)

-          Import by revision (which is basically broken)



8.       Section 5.1 said:

“

The following rules remove the ambiguity:”

I feel these rules are more related to RFC8407 instead of [I-D.ietf-netconf-rfc7895bis].

So the last rule should be default rule defined in RFC8407

[RW]

RFC8407 only provides guidelines.  We need something stronger than that.  Basically, if want it to be the case that if the server implements semver then it will follow these rules.  So I think that updating 7895bis (RFC 8525) is the right thing to do here.

[Qin]:Okay, understood.

Thanks for your comments.  I’ve incorporated them and updated the draft.



Thanks,
Rob





“

   If a module import statement could resolve to more than one module

   revision defined in the datastore schema, none of those revisions are

   implemented, and none of the modules revisions have a YANG semantic

   version number, then the import MUST resolve to the module that has

   the most recent revision-date.

”

The other two rules are additional rules that can be used to enhance RFC8407, but I didn’t check details.
Will review remaining sections when in convenience.

-Qin
发件人: Netmod-ver-dt [mailto:netmod-ver-dt-bounces@ietf.org] 代表 Rob Wilton (rwilton)
发送时间: 2019年2月28日 2:07
收件人: netmod-ver-dt@ietf.org<mailto:netmod-ver-dt@ietf.org>
主题: [Netmod-ver-dt] Latest doc version

Just pushed to the github develop branch.

Latest draft version attached.

Still to do:

-          Update abstract

-          Probably should add some definitions.

-          Resolve comments from Balazs (across the doc)

-          Resolve comments from Reshad on chapter 2.

-          Incorporate text from Balazs on instance data versioning.

-          Chapter 4 needs some serious focus.

-          Add tree output and updates the text around the YANG modules.

Thanks,
Rob