Re: [netmod] Query about draft-ietf-netconf-rfc7895bis-06 - Part -2

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 09 May 2018 06:12 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 45DB3126DED for <netmod@ietfa.amsl.com>; Tue, 8 May 2018 23:12:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 USiVC9VS54Oi for <netmod@ietfa.amsl.com>; Tue, 8 May 2018 23:12:05 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C71E1126BF6 for <netmod@ietf.org>; Tue, 8 May 2018 23:12:04 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 2C4A466E; Wed, 9 May 2018 08:12:02 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.217]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id CnQ0rL9c_Eae; Wed, 9 May 2018 08:12:01 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Wed, 9 May 2018 08:12:02 +0200 (CEST)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 1657620035; Wed, 9 May 2018 08:12:02 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 7wotNzqd--0Q; Wed, 9 May 2018 08:12:01 +0200 (CEST)
Received: from elstar.local (unknown [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id B399220031; Wed, 9 May 2018 08:12:01 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 4710B42D0298; Wed, 9 May 2018 08:12:01 +0200 (CEST)
Date: Wed, 9 May 2018 08:12:01 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Rohit R Ranade <rohitrranade@huawei.com>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20180509061200.skr4jricsqg5rom4@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Rohit R Ranade <rohitrranade@huawei.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <991B70D8B4112A4699D5C00DDBBF878A6B204BBA@DGGEMA502-MBS.china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <991B70D8B4112A4699D5C00DDBBF878A6B204BBA@DGGEMA502-MBS.china.huawei.com>
User-Agent: NeoMutt/20171215
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/GkEIzVbGSgnjGuJee7k81Mg8fnc>
Subject: Re: [netmod] Query about draft-ietf-netconf-rfc7895bis-06 - Part -2
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, 09 May 2018 06:12:07 -0000

On Wed, May 09, 2018 at 05:45:46AM +0000, Rohit R Ranade wrote:
> Hi All,
> 
> Continuing with the below queries.
> 
> 5.  For a module like "ietf-netconf-notifications", which implements only notifications. I think this module is not suitable to be put in any of the data-stores. So a separate module-set has to be prepared for such modules but not included in any data-store. Is it correct ?

> 6. Similar logic will apply to any module which only defines "rpc" statements also I think. Whether need to update the yang-library draft text mentioning these two scenarios ?

RFC 8342 says that the XPath context for notifications, rpc, and
actions is the operational state of the server. For actions, RFC 8342
is even more explicit (since they are bound to a data node, which btw
can also be true for some notifications): RFC 8342 says that actions
are always invoked in the context of the operational state
datastore.

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