Re: [netmod] RFC 8342 : Query about NMDA Origin for Non-presence containers

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 27 September 2018 11:21 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 09CE1130E4D for <netmod@ietfa.amsl.com>; Thu, 27 Sep 2018 04:21:23 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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 m0KCvlvlNuNu for <netmod@ietfa.amsl.com>; Thu, 27 Sep 2018 04:21:21 -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 987EF130E37 for <netmod@ietf.org>; Thu, 27 Sep 2018 04:21:20 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id D4777B22; Thu, 27 Sep 2018 13:21:18 +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 SKO_XfTC_AMy; Thu, 27 Sep 2018 13:21:17 +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; Thu, 27 Sep 2018 13:21:18 +0200 (CEST)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id BF1E620036; Thu, 27 Sep 2018 13:21:18 +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 1UKw3Ag1gWJz; Thu, 27 Sep 2018 13:21:18 +0200 (CEST)
Received: from exchange.jacobs-university.de (sxchmb03.jacobs.jacobs-university.de [10.70.0.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "exchange.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by hermes.jacobs-university.de (Postfix) with ESMTPS id 72CAA20035; Thu, 27 Sep 2018 13:21:18 +0200 (CEST)
Received: from anna.localdomain (10.50.218.117) by sxchmb03.jacobs.jacobs-university.de (10.70.0.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1415.2; Thu, 27 Sep 2018 13:21:18 +0200
Received: by anna.localdomain (Postfix, from userid 501) id D99BE3000B8B28; Thu, 27 Sep 2018 13:21:17 +0200 (CEST)
Date: Thu, 27 Sep 2018 13:21:17 +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: <20180927112117.griuumzpiyj4z6ek@anna.jacobs.jacobs-university.de>
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: <991B70D8B4112A4699D5C00DDBBF878A6BC4CAFF@dggeml510-mbx.china.huawei.com> <20180927085156.vhfp6pcvpm35r6fb@anna.jacobs.jacobs-university.de> <991B70D8B4112A4699D5C00DDBBF878A6BC4D37B@dggeml510-mbx.china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <991B70D8B4112A4699D5C00DDBBF878A6BC4D37B@dggeml510-mbx.china.huawei.com>
User-Agent: NeoMutt/20180716
X-ClientProxiedBy: SXCHMB04.jacobs.jacobs-university.de (10.70.0.156) To sxchmb03.jacobs.jacobs-university.de (10.70.0.155)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/H5T6CyjKCbh6-7nfVq6Mv0ptdPQ>
Subject: Re: [netmod] RFC 8342 : Query about NMDA Origin for Non-presence containers
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 27 Sep 2018 11:21:23 -0000

On Thu, Sep 27, 2018 at 09:11:41AM +0000, Rohit R Ranade wrote:
> 
> [Rohit R Ranade] So how to decide the origin annotation for top-level non-presence container. Consider the case of "nacm" root node of ietf-netconf-acm module which is a container. 
> Consider that "enable-nacm" came via "intended" origin, and "read-default" came via "default" origin.
>       +--rw nacm
>          +--rw enable-nacm?            boolean
>          +--rw read-default?           action-type
>          +--rw write-default?          action-type
>          +--rw exec-default?           action-type
> [Rohit R Ranade] So how to decide the origin for the container, when its child may have mixed origin ?

Up to the implementation. An implementation may set origin=default on
nacm and then origin=intended on enable-nacm. This would mean
origin=default for read-default, write-default, exec-default.  It is a
matter of how much effort an implementation wants to spend to reduce
the total number of origin annotations that are needed. There might
also be rather dumb implementations that set origin on every node.

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