Re: [netconf] AUTH48 changes to RFC 8526 <draft-ietf-netconf-nmda-netconf-08>

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 06 February 2019 21:49 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ABE35130ECD for <netconf@ietfa.amsl.com>; Wed, 6 Feb 2019 13:49:54 -0800 (PST)
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, RCVD_IN_DNSWL_NONE=-0.0001] 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 C-dz9RO0t9Py for <netconf@ietfa.amsl.com>; Wed, 6 Feb 2019 13:49:52 -0800 (PST)
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 B77F912D4F3 for <netconf@ietf.org>; Wed, 6 Feb 2019 13:49:51 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 020BDCEF; Wed, 6 Feb 2019 22:49:50 +0100 (CET)
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 PVicXI1rq2JR; Wed, 6 Feb 2019 22:49:49 +0100 (CET)
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, 6 Feb 2019 22:49:49 +0100 (CET)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id D9B2220053; Wed, 6 Feb 2019 22:49:49 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id RJ2yufNzB4VG; Wed, 6 Feb 2019 22:49:49 +0100 (CET)
Received: from exchange.jacobs-university.de (sxchmb04.jacobs.jacobs-university.de [10.70.0.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "exchange.jacobs-university.de", Issuer "DFN-Verein Global Issuing CA" (verified OK)) by hermes.jacobs-university.de (Postfix) with ESMTPS id 67E6A20051; Wed, 6 Feb 2019 22:49:49 +0100 (CET)
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.1591.10; Wed, 6 Feb 2019 22:49:48 +0100
Received: by anna.localdomain (Postfix, from userid 501) id 61F6B3006247B9; Wed, 6 Feb 2019 22:49:47 +0100 (CET)
Date: Wed, 06 Feb 2019 22:49:47 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
CC: Netconf <netconf@ietf.org>
Message-ID: <20190206214947.hzvp3ccswjxvxesu@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Mahesh Jethanandani <mjethanandani@gmail.com>, Netconf <netconf@ietf.org>
References: <E27BF6D6-8FC9-491A-A338-9830D750F3A7@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: 8bit
In-Reply-To: <E27BF6D6-8FC9-491A-A338-9830D750F3A7@gmail.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/netconf/RMyRMrxATNGZGXRu_lxx2KDbfrg>
Subject: Re: [netconf] AUTH48 changes to RFC 8526 <draft-ietf-netconf-nmda-netconf-08>
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Feb 2019 21:49:55 -0000

Mahesh,

can we assume that this edit is accepted and we can resume the AUTH48
process?

/js

On Tue, Jan 29, 2019 at 10:54:54AM -0800, Mahesh Jethanandani wrote:
> NETCONF WG,
> 
> During the AUTH48 review of draft-ietf-netconf-nmda-netconf-08, the authors found a couple of things that needed further clarification. The edits are reflected in this e-mail using OLD: and NEW:. Since the changes are technical changes, we needed to make sure that the WG was ok with the changes. This starts a one week review period terminating next Tuesday, February 5 to provide any comments you might have. If providing comments, please be specific in the changes you would like to see, preferably using your own OLD: and NEW:. If no comments are received, it will be deemed that the changes are fine with the WG. The two set of changes are in the YANG model itself, and in Section 3.1.1.4.
> 
> In the YANG model:
> 
> OLD:
> 
>         choice origin-filters {
>           when 'derived-from-or-self(datastore, "ds:operational")';
>           if-feature "origin";
>           description
>             "Filters based on the 'origin' annotation.";
>           leaf-list origin-filter {
>             type or:origin-ref;
>             description
>               "Filter based on the 'origin' annotation.  A node matches
>                the filter if its 'origin' annotation is derived from or
>                equal to any of the given filter values.";
>           }
>           leaf-list negated-origin-filter {
>             type or:origin-ref;
>             description
>               "Filter based on the 'origin' annotation.  A node matches
>                the filter if its 'origin' annotation is not derived
>                from and not equal to any of the given filter values.";
>           }
>         }
> 
> NEW:
> 
>         choice origin-filters {
>           when 'derived-from-or-self(datastore, "ds:operational")';
>           if-feature origin;
>           description
>             "Filters configuration nodes based on the 'origin'
>              annotation.  Configuration nodes that do not have an
>              'origin' annotation are treated as if they have the
>              'origin' annotation 'or:unknown'.
> 
>              System state nodes are not affected by origin-filters and
>              thus not filtered.  Note that system state nodes can be
>              filtered with the 'config-filter' leaf.";
> 
>           leaf-list origin-filter {
>             type or:origin-ref;
>             description
>               "Filter based on the 'origin' annotation.  A
>                configuration node matches the filter if its 'origin'
>                annotation is derived from or equal to any of the given
>                filter values.";
>           }
>           leaf-list negated-origin-filter {
>             type or:origin-ref;
>             description
>               "Filter based on the 'origin' annotation.  A
>                configuration node matches the filter if its 'origin'
>                annotation is not derived from and not equal to any of
>                the given filter values.";
>           }
>         }
> 
> OLD:
> 
>         leaf config-filter {
>           type boolean;
>           description
>             "Filter for nodes with the given value for their
>              'config' property.  If this leaf is not present, all
>              nodes are selected.
> 
>              For example, when this leaf is set to 'true', only 'config
>              true' nodes are selected.";
>         }
> 
> NEW:
> 
>         leaf config-filter {
>           type boolean;
>           description
>             "Filter for nodes with the given value for their 'config'
>              property.  When this leaf is set to 'true', only 'config
>              true' nodes are selected and, when set to ‘false’, only
>              ‘config false’ nodes are selected.  If this leaf is not
>              present, no nodes are filtered.";
>         }
> 
> Add the following example to 3.1.1.4:
> 
>     In order to not retrieve any system state nodes, the
>     "config-filter" can be used:
> 
>     <rpc message-id="103"
>          xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
>       <get-data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-nmda"
>                 xmlns:ds="urn:ietf:params:xml:ns:yang:ietf-datastores"
>                 xmlns:or="urn:ietf:params:xml:ns:yang:ietf-origin">
>         <datastore>ds:operational</datastore>
>         <subtree-filter>
>           <bgp xmlns="http://example.com/ns/bgp <http://example.com/ns/bgp>"/>
>         </subtree-filter>
>         <config-filter>true</config-filter>
>         <origin-filter>or:intended</origin-filter>
>         <origin-filter>or:system</origin-filter>
>         <with-origin/>
>       </get-data>
>     </rpc>
> 
>     <rpc-reply message-id="103"
>                xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
>       <data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-nmda">
>         <bgp xmlns="http://example.com/ns/bgp <http://example.com/ns/bgp>"
>              xmlns:or="urn:ietf:params:xml:ns:yang:ietf-origin"
>              or:origin="or:intended">
>           <peer>
>             <name>2001:db8::2:3</name>
>             <local-port or:origin="or:system">60794</local-port>
>           </peer>
>         </bgp>
>       </data>
>     </rpc-reply>
> 
> Thanks.
> 
> Mahesh Jethanandani // as shepherd
> mjethanandani@gmail.com
> 
> 
> 

> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf


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