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

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 29 May 2018 12:06 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 52C5512EAC3 for <netmod@ietfa.amsl.com>; Tue, 29 May 2018 05:06:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=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 arNbI_M1titx for <netmod@ietfa.amsl.com>; Tue, 29 May 2018 05:06:18 -0700 (PDT)
Received: from anna.localdomain (firewallix.jacobs-university.de [212.201.44.247]) by ietfa.amsl.com (Postfix) with ESMTP id EE09812EAAF for <netmod@ietf.org>; Tue, 29 May 2018 05:06:17 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id 3B9BA219CBCD; Tue, 29 May 2018 14:06:16 +0200 (CEST)
Date: Tue, 29 May 2018 14:06:16 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Rohit R Ranade <rohitrranade@huawei.com>
Cc: Robert Wilton <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20180529120616.bxl4xyftqsvpsbxo@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Rohit R Ranade <rohitrranade@huawei.com>, Robert Wilton <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <991B70D8B4112A4699D5C00DDBBF878A6BBB2484@dggeml510-mbx.china.huawei.com>
User-Agent: NeoMutt/20180512
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/m_OutLuH7BLP9Ls9o2sJV5_iOA8>
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: Tue, 29 May 2018 12:06:21 -0000

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