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

Andy Bierman <andy@yumaworks.com> Wed, 01 June 2016 12:40 UTC

Return-Path: <andy@yumaworks.com>
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 C6FE512D1A6 for <i2rs@ietfa.amsl.com>; Wed, 1 Jun 2016 05:40:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
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 IDhpN8pNXKxE for <i2rs@ietfa.amsl.com>; Wed, 1 Jun 2016 05:40:14 -0700 (PDT)
Received: from mail-yw0-x235.google.com (mail-yw0-x235.google.com [IPv6:2607:f8b0:4002:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A929112B007 for <i2rs@ietf.org>; Wed, 1 Jun 2016 05:40:14 -0700 (PDT)
Received: by mail-yw0-x235.google.com with SMTP id h19so16766458ywc.0 for <i2rs@ietf.org>; Wed, 01 Jun 2016 05:40:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=JuiccPPomDsOQcLfdgsiDOPOWwtsM0psZro7ZUXb7OM=; b=KqwJqmlwRYa2+53jn+exiLLkl0I4CXG0bKfYW7exg6nGL0EKu89tZnOvUdNQZk/trD 69R/Ub3P/veaFd6inw+HIOZwmbGD+EWlOvOtf4pTYjKqRGo6ESoD5epvRLf0VGGPmEHh OKqtEJ6QkrNwgShksqR4I1s1qZ2FoRL3MnxH3jkCn65T7zC/NmBI56NpiVqY67Bas6BW KF/hkZsd4qiyq+7zUS9WwcwYx3+/Ht+VceBQFygFiafgino60kpF6l2InwCcqOPwCD4L J+fgtB7cOmFsLNQuNk+7XRCn1iRnhrnOAABHauXzb4KmcUcNkHD1dRWF9D5e+MjqnONe oYTw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=JuiccPPomDsOQcLfdgsiDOPOWwtsM0psZro7ZUXb7OM=; b=GGuATPQSenhAod3+ROTqq49shUOI5JbVOe+efPD/FWDDvCJgTK5+YkETI6t0M2v2tt 1aGYvuM4hrJ+ifyy4MeMYtUN8kw5nAoVbiKmCzXVPj3d33dZ8JfmUMGsFTv4G2WxxcGp AeMpl13NCR+gplYUP07kNmzqN4myArvz7XKH07EQRtKaK1cwKVcELrEBg6OrkZ84n0NI GgGTvcmjRGgJtkvm0Yu/6KiyvBzQBAq0M5BFDXq4lE53iXekFKt7yFBq1XCrXhP/6a2n pR1JrDa8FJhkgAZY1MSJndmm4CGD2ZWGOgkLUeYfDfgSOtYBL67mf1zubYCQROt4vY4h We1A==
X-Gm-Message-State: ALyK8tKHC2Iif+45qQjeyapnU1LVDQ4nUacW8GXrT9wM0g8jDgbkg6+AjXfdvj+Tlv2Iltq/luymLCAzIsPi3w==
MIME-Version: 1.0
X-Received: by 10.37.80.133 with SMTP id e127mr1956570ybb.162.1464784813852; Wed, 01 Jun 2016 05:40:13 -0700 (PDT)
Received: by 10.37.115.208 with HTTP; Wed, 1 Jun 2016 05:40:13 -0700 (PDT)
In-Reply-To: <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> <20160601124110.GQ10531@pfrc.org>
Date: Wed, 01 Jun 2016 05:40:13 -0700
Message-ID: <CABCOCHSJbLwQ+DJ6+FYoV19OYXcTzLvXfG5PLCRswbeYubj=yQ@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Content-Type: multipart/alternative; boundary="001a113e9b6c80bc77053436ca26"
Archived-At: <http://mailarchive.ietf.org/arch/msg/i2rs/2kjYA1jwNcIENAJUmZfNzOs5hY8>
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:40:17 -0000

On Wed, Jun 1, 2016 at 5:41 AM, Jeffrey Haas <jhaas@pfrc.org> wrote:

> 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?
>
>
I thought I just did.


Andy


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