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

Rohit R Ranade <rohitrranade@huawei.com> Tue, 29 May 2018 11:28 UTC

Return-Path: <rohitrranade@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 E1EF1126D73 for <netmod@ietfa.amsl.com>; Tue, 29 May 2018 04:28:01 -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, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, 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 bMfY7oia54YA for <netmod@ietfa.amsl.com>; Tue, 29 May 2018 04:28:00 -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 E47DB1242F7 for <netmod@ietf.org>; Tue, 29 May 2018 04:27:59 -0700 (PDT)
Received: from lhreml704-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 930F33AA31D7F; Tue, 29 May 2018 12:27:55 +0100 (IST)
Received: from DGGEML422-HUB.china.huawei.com (10.1.199.39) by lhreml704-cah.china.huawei.com (10.201.108.45) with Microsoft SMTP Server (TLS) id 14.3.382.0; Tue, 29 May 2018 12:27:56 +0100
Received: from DGGEML510-MBX.china.huawei.com ([169.254.2.161]) by dggeml422-hub.china.huawei.com ([10.1.199.39]) with mapi id 14.03.0382.000; Tue, 29 May 2018 19:27:43 +0800
From: Rohit R Ranade <rohitrranade@huawei.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: Robert Wilton <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] draft-ietf-netconf-rfc7895bis-06 deviation query
Thread-Index: AdP3LxM2Qa00BJMETVeCiSY+xVpFu///grGA//9vcjCAAKOzAP//djxg
Date: Tue, 29 May 2018 11:27:42 +0000
Message-ID: <991B70D8B4112A4699D5C00DDBBF878A6BBB2484@dggeml510-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>
In-Reply-To: <20180529110610.4rcqvp7x4qpbg5hz@anna.jacobs.jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.18.150.121]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ZaEWMaMYCfLZEBmANCf9h5-Gs94>
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 11:28:02 -0000

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