Re: [i2rs] I2RS Interim Meeting - June 1, 2016 - 10:00am - 11:00am - Topic: Ephemeral State Requirements

Jeffrey Haas <jhaas@pfrc.org> Wed, 01 June 2016 12:35 UTC

Return-Path: <jhaas@slice.pfrc.org>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DF91E12D1AB for <i2rs@ietfa.amsl.com>; Wed, 1 Jun 2016 05:35:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.328
X-Spam-Level:
X-Spam-Status: No, score=-3.328 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.426, SPF_HELO_PASS=-0.001, SPF_PASS=-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 N9Hrs6IkrZB5 for <i2rs@ietfa.amsl.com>; Wed, 1 Jun 2016 05:35:37 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id 70CDD12D194 for <i2rs@ietf.org>; Wed, 1 Jun 2016 05:35:37 -0700 (PDT)
Received: by slice.pfrc.org (Postfix, from userid 1001) id 52B391E335; Wed, 1 Jun 2016 08:41:11 -0400 (EDT)
Date: Wed, 01 Jun 2016 08:41:11 -0400
From: Jeffrey Haas <jhaas@pfrc.org>
To: Andy Bierman <andy@yumaworks.com>
Message-ID: <20160601124110.GQ10531@pfrc.org>
References: <000601d1bad5$70523090$50f691b0$@ndzh.com> <20160531063840.GA21289@elstar.local> <20160531193640.GL17462@pfrc.org> <20160601091010.GC24118@elstar.local> <CABCOCHTW583xFE6Sf=Xmknis1_fKocWZTJdVL-L1ejDPmt6u4g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CABCOCHTW583xFE6Sf=Xmknis1_fKocWZTJdVL-L1ejDPmt6u4g@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/i2rs/-McR52WvWD81Ld53qMyMpgtVMZ0>
Cc: "i2rs@ietf.org" <i2rs@ietf.org>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Susan Hares <shares@ndzh.com>, Alia Atlas <akatlas@gmail.com>
Subject: Re: [i2rs] I2RS Interim Meeting - June 1, 2016 - 10:00am - 11:00am - Topic: Ephemeral State Requirements
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Interface to The Internet Routing System \(IRS\)" <i2rs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs>, <mailto:i2rs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2rs/>
List-Post: <mailto:i2rs@ietf.org>
List-Help: <mailto:i2rs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs>, <mailto:i2rs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2016 12:35:39 -0000

On Wed, Jun 01, 2016 at 05:08:16AM -0700, Andy Bierman wrote:
> On Wed, Jun 1, 2016 at 2:10 AM, Juergen Schoenwaelder <
> j.schoenwaelder@jacobs-university.de> wrote:
> > On Tue, May 31, 2016 at 03:36:40PM -0400, Jeffrey Haas wrote:
> > > I agree that your observation covers the general intent.  The
> > requirements
> > > language above is attempting to be a bit too specific for a given
> > > implementation detail, namely instantiation of ephemeral behaviors in a
> > data
> > > tree.
> > >
> > > Could you please supply alternative text?
> >
> > It is difficult since I am not sure what the original intention
> > was. There is augmentation at the schema tree level and then there is
> > augmentation at the data tree level. My understanding (which may be
> > wrong) is that I2RS primarily looks at data tree level augmentations
> > of operational state data and not so much at configuration datastore
> > data. Part of the openconfig inspired discussion is to do away with
> > the /foo and /foo-state division and that has an impact how the schema
> > trees are constructed.
> >
> >
> This REQ-05 doesn't give any reason why data nodes need to be tagged as
> ephemeral
> in the schema tree, or what it means to be tagged as ephemeral.
> 
> My intention for suggesting an "i2rs:ephemeral" YANG extension was to
> identify
> the I2RS conformance requirements for a server claiming to implement I2RS
> for a specific YANG module.
> 
> A node tagged as ephemeral MUST be accessible in the ephemeral datastore
> using I2RS if the module (or feature) is supported. An untagged node MAY be
> accessible.

This covers the intent properly.

Your suggestion of a mechanism in yang is probably reasonable, but as Jürgen
would say, this is all about the requirements.  So, could you suggest text
covering the requirement?

> An I2RS data model could define read-only nodes.  These nodes could
> be considered ephemeral operational state.  Should these nodes live in
> this datastore or an "operational" datastore?  I don't know.
> That's why we probably need your draft.

If the implementation detail for ephemeral state is that it is part of a
datastore, then having the operational state in the ephemeral datastore
seems to make sense.  However, I find it more likely that we'll need a
mechanism to get the "union view after precedence" (i.e. panes of glass
model) for a conceptional datastore that covers state from local and
ephemeral.

But again, that's a protocol detail which we're trying to avoid in the
requirements.

If you think it belongs in the strawman or another document, we'd love text.

-- Jeff