Re: [netmod] XPath questions about revised datastores

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 16 June 2017 17:27 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 DC463129AA3 for <netmod@ietfa.amsl.com>; Fri, 16 Jun 2017 10:27:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-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 I0LnIAv9v_wy for <netmod@ietfa.amsl.com>; Fri, 16 Jun 2017 10:27:06 -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 69029129503 for <netmod@ietf.org>; Fri, 16 Jun 2017 10:27:06 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 32CCBE90; Fri, 16 Jun 2017 19:27:05 +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 aLiiw2CKPhfK; Fri, 16 Jun 2017 19:27:04 +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; Fri, 16 Jun 2017 19:27:04 +0200 (CEST)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id E2A9520091; Fri, 16 Jun 2017 19:27:04 +0200 (CEST)
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 9hoUaLf3Ldri; Fri, 16 Jun 2017 19:27:04 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 7CD9A20090; Fri, 16 Jun 2017 19:27:04 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 8E91D3FC51A7; Fri, 16 Jun 2017 19:27:02 +0200 (CEST)
Date: Fri, 16 Jun 2017 19:27:02 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@yumaworks.com>
Cc: Phil Shafer <phil@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20170616172702.GA60585@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Andy Bierman <andy@yumaworks.com>, Phil Shafer <phil@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
References: <CABCOCHSHyMr6tMsZkcTzeLA_RegiQ5gzLgNuZC6bBkwo_8h7KA@mail.gmail.com> <201706161718.v5GHIGAH068175@idle.juniper.net> <CABCOCHQYB3ms+J=C=4Jc_Z5xrBZaLWgrGZgiR1sbRqQw5dCRyQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CABCOCHQYB3ms+J=C=4Jc_Z5xrBZaLWgrGZgiR1sbRqQw5dCRyQ@mail.gmail.com>
User-Agent: Mutt/1.6.0 (2016-04-01)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/UrQp2nENzGShB0ZFhHE8qpz_5gU>
Subject: Re: [netmod] XPath questions about revised datastores
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: Fri, 16 Jun 2017 17:27:09 -0000

Andy,

in the past, there was the assumption that the operational value and
the configured value are always the same. This is not really a
'change' but much more a clarification what the expression means in
cases where the values differ.

/js

On Fri, Jun 16, 2017 at 10:24:19AM -0700, Andy Bierman wrote:
> The draft should make it clear that this change is being made.
> Before there was no way to access the operational value.
> Now there is only oerational value and no way to access the configured
> value.
> 
> 
> Andy
> 
> 
> On Fri, Jun 16, 2017 at 10:18 AM, Phil Shafer <phil@juniper.net> wrote:
> 
> > Andy Bierman writes:
> > >It has always been OK for a config=false data node's XPath expression to
> > >point at a config=true data node.
> > >But this has always meant the configured value. RD changes this behavior
> > >because the new opstate datastore
> > >contains only the operational values of config=true nodes. Now there is no
> > >way for such an XPath expression
> > >to test the configured value.
> >
> > The XPath will refer to the current operational value, which is
> > better defined and more consistent behavior.  During the lack when
> > data is flowing between <intended> and <operational> as system
> > components read and follow new incoming configuration data, the
> > operational value should be guiding the constraints, not the
> > unrealized incoming value.
> >
> > The XPath continues to work in a backwards compatible manner, but
> > the outcome is more crisply defined and the <operational> datastore
> > will have better odds of being self-consistent.
> >
> > Thanks,
> >  Phil
> >

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


-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>