Re: [netmod] draft-ietf-netconf-rfc7895bis-06 deviation query

Qin Wu <bill.wu@huawei.com> Wed, 30 May 2018 05:59 UTC

Return-Path: <bill.wu@huawei.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 3BE9F12E04B for <netmod@ietfa.amsl.com>; Tue, 29 May 2018 22:59:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 oHeDrvflCt08 for <netmod@ietfa.amsl.com>; Tue, 29 May 2018 22:59:33 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) (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 BB5A41201FA for <netmod@ietf.org>; Tue, 29 May 2018 22:59:32 -0700 (PDT)
Received: from LHREML712-CAH.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 5E76BE759BEE3; Wed, 30 May 2018 06:59:28 +0100 (IST)
Received: from NKGEML413-HUB.china.huawei.com (10.98.56.74) by LHREML712-CAH.china.huawei.com (10.201.108.35) with Microsoft SMTP Server (TLS) id 14.3.382.0; Wed, 30 May 2018 06:59:29 +0100
Received: from NKGEML513-MBX.china.huawei.com ([169.254.1.193]) by NKGEML413-HUB.china.huawei.com ([10.98.56.74]) with mapi id 14.03.0382.000; Wed, 30 May 2018 13:59:19 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: Rohit R Ranade <rohitrranade@huawei.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] draft-ietf-netconf-rfc7895bis-06 deviation query
Thread-Index: AQHT9zOXH0Q7uD0JNkiP7Q3mI4ni1KRF/2gAgAAGLQCAAAYEAIAACscAgAFsZWD//720AIAAh2mQ
Date: Wed, 30 May 2018 05:59:19 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA9AE91620@nkgeml513-mbx.china.huawei.com>
References: <991B70D8B4112A4699D5C00DDBBF878A6BBB23B2@dggeml510-mbx.china.huawei.com> <71e76c7e-4043-d80a-73ac-1759e85cc5d7@cisco.com> <991B70D8B4112A4699D5C00DDBBF878A6BBB241F@dggeml510-mbx.china.huawei.com> <20180529110610.4rcqvp7x4qpbg5hz@anna.jacobs.jacobs-university.de> <991B70D8B4112A4699D5C00DDBBF878A6BBB2484@dggeml510-mbx.china.huawei.com> <20180529120616.bxl4xyftqsvpsbxo@anna.jacobs.jacobs-university.de> <B8F9A780D330094D99AF023C5877DABA9AE91441@nkgeml513-mbx.china.huawei.com> <20180530055312.htsncty2eyt25wzg@anna.jacobs.jacobs-university.de>
In-Reply-To: <20180530055312.htsncty2eyt25wzg@anna.jacobs.jacobs-university.de>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.138.33.244]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/UhWH8nvVi9XnafnUO0YHdvp1ZoQ>
Subject: Re: [netmod] draft-ietf-netconf-rfc7895bis-06 deviation query
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 30 May 2018 05:59:35 -0000

I find answer in 3rd paragraph of section 1, thanks Juergen for clarification,

-Qin
-----邮件原件-----
发件人: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de] 
发送时间: 2018年5月30日 13:53
收件人: Qin Wu
抄送: Rohit R Ranade; netmod@ietf.org
主题: Re: [netmod] draft-ietf-netconf-rfc7895bis-06 deviation query

This is discussed in section 1 of draft-ietf-netconf-rfc7895bis-06.txt.

/js

On Wed, May 30, 2018 at 01:56:14AM +0000, Qin Wu wrote:
> Juergen:
> One stupid question I have is, What about the old client and server still support YANG 1.0 since RFC7895bis is designed to replaces RFC7895?
> Do we have transition stage before RFC7895bis takes effect?
> 
> -Qin
> -----邮件原件-----
> 发件人: netmod [mailto:netmod-bounces@ietf.org] 代表 Juergen Schoenwaelder
> 发送时间: 2018年5月29日 20:06
> 收件人: Rohit R Ranade
> 抄送: netmod@ietf.org
> 主题: Re: [netmod] draft-ietf-netconf-rfc7895bis-06 deviation query
> 
> Yes, this is why we have draft-ietf-netconf-rfc7895bis-06.txt.
> 
> /js
> 
> On Tue, May 29, 2018 at 11:27:42AM +0000, Rohit R Ranade wrote:
> > Hi Juergen,
> > 
> > Consider a device supports a dynamic data-store called "ephemeral". Consider Yang-library 1.1 is NOT implemented in device.
> > Consider device have 3 Modules ==> Module1 ,  Module2-state and 
> > Module3
> > 
> > Module1 : Supported in <running> and <operational> Module2-state : 
> > Supported only in <operational>
> > Module3 : Supported only in <ephemeral>
> > 
> > So here assumption is that Client knows he cannot do <edit-data> on Module2-state as it has only read-only nodes.
> > But Client does not know the modules in ephemeral and depends on yang-library 1.1 to know whether an edit-data can be done on Module3 ?
> > 
> > Which modules are supported in which data-stores is not known to Client without Yang-library 1.1 ?
> > 
> > With Regards,
> > Rohit R Ranade
> > 
> > -----Original Message-----
> > From: Juergen Schoenwaelder 
> > [mailto:j.schoenwaelder@jacobs-university.de]
> > Sent: 29 May 2018 16:36
> > To: Rohit R Ranade <rohitrranade@huawei.com>
> > Cc: Robert Wilton <rwilton@cisco.com>; netmod@ietf.org
> > Subject: Re: [netmod] draft-ietf-netconf-rfc7895bis-06 deviation query
> > 
> > On Tue, May 29, 2018 at 10:44:04AM +0000, Rohit R Ranade wrote:
> > > Hi Robert,
> > > 
> > > The Introduction section has :
> > > "
> > > Furthermore, the operational state datastore may support non-configurable YANG modules in addition to
> > >    the YANG modules supported by conventional configuration datastores.
> > > "
> > > I infer that in the new Yang-library structure,  the schema for "conventional" data-stores should not include the non-configurable YANG module. Is my inference correct ?
> > >
> > 
> > A module that has only config false nodes will not add anything to a conventional configuration datastore but it is not an error list such a module. For a simple devices, it may be desirable to have just one schema that applies to all datastores. There is no requirement to break things apart just because there is a module that contributes only an empty set to conventional configuration datastores.
> > 
> > Note that the defined term is 'conventional configuration datastore'
> > and not 'conventional datastore'. Oops, I see that in one place draft-ietf-netconf-rfc7895bis-06.txt missing the 'configuration' part of the term. That should be fixed.
> > 
> > OLD
> > 
> >    The recommended approach to populate "/modules-state" is to report
> >    the schema for YANG modules that are configurable via conventional
> >    datastores and for which config false data nodes are returned via a
> >    NETCONF <get> operation, or equivalent.
> > 
> > NEW
> > 
> >    The recommended approach to populate "/modules-state" is to report
> >    the schema for YANG modules that are configurable via conventional
> >    configuration datastores and for which config false data nodes are
> >    returned via a NETCONF <get> operation, or equivalent.
> > 
> > Co-authors, if you agree, how do we track this?
> > 
> > /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/>
> 
> -- 
> 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 mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

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