Re: [netmod] Opstate solutions discussions: update and request for WGinput

Andy Bierman <andy@yumaworks.com> Fri, 17 June 2016 18:33 UTC

Return-Path: <andy@yumaworks.com>
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 BD82812D99E for <netmod@ietfa.amsl.com>; Fri, 17 Jun 2016 11:33:42 -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=unavailable 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 QbyhI0gGqTCh for <netmod@ietfa.amsl.com>; Fri, 17 Jun 2016 11:33:39 -0700 (PDT)
Received: from mail-vk0-x22e.google.com (mail-vk0-x22e.google.com [IPv6:2607:f8b0:400c:c05::22e]) (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 4BC1712D84D for <netmod@ietf.org>; Fri, 17 Jun 2016 11:33:39 -0700 (PDT)
Received: by mail-vk0-x22e.google.com with SMTP id u64so126821731vkf.3 for <netmod@ietf.org>; Fri, 17 Jun 2016 11:33:39 -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=vWZbseW2lDGEgZfpZiearTneT9DGyU5BIwEifrKOap8=; b=Y6qn6ib2hlLlCbyXIvX9NGlk0hA40sVeKesf4BxEOEbbzRHZPOZsPymjHuIXnSwFCo Jpt4PUe87PUXGIjAYIpzj3IimRYFaJ4e+BB5m8SX/vYqzhqlerEUSRHG3s3PglqdBQAX AJLsf6I6q81I4/O6QguIihuAIzpWgg8va4kBDnGL3iqFPQfzJNsv3aLEKOVW8k9GF6Y8 EQ36Xl0C+ln0HlznPuhg3qY2IkZgdvARcf3vPjO33+esmoSkvgbuYWkdzyZ03ao7WePN Mimtze52P16ptyvHaCvQBS1Cl7wgr/M8BRomMiM4aCOAVF+bFBs33H5HA9tb+N0d17AN LYqw==
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=vWZbseW2lDGEgZfpZiearTneT9DGyU5BIwEifrKOap8=; b=GVUCG3oeiKEgniwPcCaNu/Pedtq4LOUdaHj/q52hmtYTtLA8CHEmUA3XxDXxkptfdC s/Lp6QyGLpceoFSl1EgdwToe9GsQggRggD8mTPRATlQ1iChUeNJ2GHPLpTPI9H3Nd0jm 5f4v/jIWZ6gol1J/fPIuz5k/5LduZJ3/fs3ahqHcjpLQMWYCaMWV/yshmjYVCkE10Blj NA6ci7Sit1gGj16M3nHoaf1z7kpnjvduLmtMork+7GY7ssMUCWbh/7E3iXjO07K0j4fc CHm5HPZGk60d3KrpLqCvEfxGVjTVjiv9Zb2cSZWL2bADMgTbaLo5qdZvHWGFOU17Q6PU pgOw==
X-Gm-Message-State: ALyK8tI+tH/3FkuBjvucgFJMeWUHuygIfBsJYeKpZo/BAiFMofZW4m0HpXPRdhYm967Ocdm02VZYDRnqyc8GqQ==
MIME-Version: 1.0
X-Received: by 10.31.108.216 with SMTP id j85mr1747522vki.68.1466188418325; Fri, 17 Jun 2016 11:33:38 -0700 (PDT)
Received: by 10.103.20.2 with HTTP; Fri, 17 Jun 2016 11:33:38 -0700 (PDT)
In-Reply-To: <a9502fb2-2541-3d19-1625-9f1da0560758@labn.net>
References: <63b1dc74-c60c-351d-8d6d-38c860a6476e@labn.net> <008701d1c8ab$211bfc20$4001a8c0@gateway.2wire.net> <a9502fb2-2541-3d19-1625-9f1da0560758@labn.net>
Date: Fri, 17 Jun 2016 11:33:38 -0700
Message-ID: <CABCOCHSjSWZRVaWEfhCngdinQ4Tav3d6v_T=xxwMrduphZ3KOw@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Lou Berger <lberger@labn.net>
Content-Type: multipart/alternative; boundary="001a11478f34d92c4405357d975e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/vPCa9NJ2Kkh1yB4HArUnxa75y6U>
Cc: netmod-chairs@ietf.org, netmod WG <netmod@ietf.org>
Subject: Re: [netmod] Opstate solutions discussions: update and request for WGinput
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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, 17 Jun 2016 18:33:43 -0000

On Fri, Jun 17, 2016 at 11:22 AM, Lou Berger <lberger@labn.net> wrote:

> Tom,
>
>     Thanks for the perspective.  I'm a little unsure if you're expecting
> a response or just making a statement, so if you're looking for
> something specific and don't see it below -- please let me know.
>
> On 6/17/2016 11:15 AM, t.petch wrote:
> > Lou
> >
> > By now, 17th June, I see solid support for one option but only see
> > comments from a somewhat small number of participants
> This is true, and I've heard privately that some more may/should be
> forthcoming.
>
> > The majority of the authors of the 172 YANG files I have in an
> > archive are probably unaware of this discussion and yet some at least
> > will be affected.  What concerns me is that history might be repeating
> > itself.  In a sense, this discussion is about the original proposals for
> > NETCONF and YANG not meeting current requirements which
> > may be because there has mostly been a limited number of
> > participants in netmod discussions.
>
> So two points on this:
> - Today is different in that there are a great number of players
> using/looking to YANG at the moment --- so I think we have more lurkers
> out there than you'd expect.
>
> - The fact that 172 documents (and that's just in the IETF) would be
> impacted by option (A) is exactly why we think it's the wrong way to go.
> Think about if we came up with a solution that requires each modeler to
> build their definitions a fixed way how this would be
> socialized/enforced.  Now think about doing that in other SDOs.
>
>
Not to mention all the vendor defined YANG modules.

IMO this has always been a protocol issue.
The state of the data depends on the interaction model and that depends on
the protocol.
E.g., how does confirmed-commit factor into the state machine?
The config may be applied but also temporary, pending confirmation.

What if a YANG protocol mandated that <ok> means applied, not just intended?
That interaction model would not need separate datastores for intended vs.
applied.
(One solution approach is to update NETCONF to provide this interaction
model.)


Andy


> I was struck by Dale's recent, brilliant review of 6020bis because it
> > came from a fresh angle and brought up nagging concerns that I had had
> > but had not been able to articulate.  With a wider audience, similar
> > comments might have been made much earlier to the advantage
> > of YANG (perhaps even about RFC6020).
> >
> > In the same vein, there is NETCONF.  Juergen's I-D, which I see finding
> > favour, could be said to cut the ground from under NETCONF (well, I
> > would).  RFC6241 says
> > " Configuration data is the set of writable data that is required to
> >    transform a system from its initial default state into its current
> >    state.  State data is the additional data on a system that is not
> >    configuration data such as read-only status information and collected
> >    statistics.  "
> >
> > The proposed 'intended' in the I-D is (ct, ro).  It is ct, configuration
> > true, so it is configuration data.  It is ro, read only, so it is
> > clearly not
> > configuration data.  Without changing RFC6241, I cannot reconcile this.
> It's just a ro version/view of the config data.  I'm not sure why this
> is problematic.  Perhaps I'm just missing something.
>
> > So I see RFC6241 being changed; can anyone reading the RFC understand it
> > any more?  And yet the I-D makes no mention of this change to
> > NETCONF nor have I seen any discussion on the netconf list.
> >
> > Stimulated by posts to the I2RS list, perhaps also a trigger for
> > Juergen's I-D, I wrote up my own summary of the current state of
> > datastores but I called it draft-tp-netconf-datastore because I see
> > NETCONF
> > currently telling us almost all that we know about datastores; YANG 1.0
> > adds very little.  For me, NETCONF should be the starting point.
> The first question is deciding on an approach (A vs B), the second
> question is on the details of the selected option.  If we move forward
> with B, I think which WG does the data store work is a fine topic to
> consider.  But we (netmod)  first need to close on A vs B -- which will
> be easy if there are no new comments in short order.
>
> Lou
> > Tom Petch
> >
> > ----- Original Message -----
> > From: "Lou Berger" <lberger@labn.net>
> > To: "netmod WG" <netmod@ietf.org>
> > Cc: <netmod-chairs@ietf.org>
> > Sent: Tuesday, June 07, 2016 3:19 PM
> >
> >> All,
> >>
> >> We want to provide an update based on the off line discussions
> >> related to OpState Solutions that we have been having and solicit
> >> input from the WG.
> >>
> >> All authors of current solution drafts [1,2,3] together with those
> >> who helped conduct the solutions analysis* were invited to the these
> >> discussions -- with the objective of coming up with a single
> >> consolidated proposal to bring to the WG. (I/Lou acted as facilitator
> >> as Kent and Juergen were and are involved with the technical details.)
> >>
> >> The discussions have yielded some results but, unfortunately,
> >> not a single consolidated proposal as hoped, but rather two
> >> alternate directions -- and clearly we need to choose one:
> >>
> >>     1) Adopt the conventions for representing state/config
> >>        based on Section 6 of [1].
> >>
> >>        From a model definition perspective, these conventions
> >>        impact every model and every model writer.
> >>
> >>     2) Model OpState using a revised logical datastore definition
> >>        as introduced in [4] and also covered in [5]. There is
> >>        also a variant of this that we believe doesn't significantly
> >>        impact this choice.
> >>
> >>        With this approach, model definitions need no explicit
> >>        changes to support applied configuration.
> >>
> >> >From a technology/WG standpoint, we believe an approach
> >> that doesn't impact every model written (i.e., #2) is superior.
> >> The counterpoint to this is that the conventions based
> >> approach (i.e., #1) is available today and being followed in
> >> OpenConfig defined models.
> >>
> >> We would like to hear opinions on this from the WG before
> >> declaring one of the following as the WG direction:
> >>
> >>     A) models that wish to support applied configuration MUST
> >>        follow conventions based on [1] -- and the WG needs to
> >>        formalize these conventions.
> >> or
> >>     B) no explicit support is required for models to support
> >>        applied configuration -- and that the WG needs to
> >>        formalize an opstate solution based on the approach
> >>        discussed in [4] and [5].
> >>
> >> We intend to close on this choice before Berlin.
> >>
> >> Thank you,
> >> Lou (and co-chairs)
> >>
> >> [1] https://tools.ietf.org/html/draft-openconfig-netmod-opstate-01
> >> [2] https://tools.ietf.org/html/draft-kwatsen-netmod-opstate-02
> >> [3] https://tools.ietf.org/html/draft-wilton-netmod-opstate-yang-02
> >> [4]
> > https://tools.ietf.org/html/draft-schoenw-netmod-revised-datastores-00
> >> [5]
> > https://tools.ietf.org/html/draft-wilton-netmod-refined-datastores-00
> >> * - Chris H. and Acee L.
> >>
> >>
> >> _______________________________________________
> >> netmod mailing list
> >> netmod@ietf.org
> >> https://www.ietf.org/mailman/listinfo/netmod
> >
>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>