Re: [netmod] rfc6087bis S4.23 replacement text

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 23 August 2017 06:17 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 765CD132332 for <netmod@ietfa.amsl.com>; Tue, 22 Aug 2017 23:17:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=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 LWlMCnuh9R4Y for <netmod@ietfa.amsl.com>; Tue, 22 Aug 2017 23:17:13 -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 952251321ED for <netmod@ietf.org>; Tue, 22 Aug 2017 23:17:13 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 6549669; Wed, 23 Aug 2017 08:17:12 +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 q1GwyOSocQne; Wed, 23 Aug 2017 08:17:11 +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; Wed, 23 Aug 2017 08:17:12 +0200 (CEST)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 41882200E2; Wed, 23 Aug 2017 08:17:12 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 8qpKb-vg4RVs; Wed, 23 Aug 2017 08:17:11 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 09FA2200E3; Wed, 23 Aug 2017 08:17:10 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id A45DC4048B71; Wed, 23 Aug 2017 08:17:09 +0200 (CEST)
Date: Wed, 23 Aug 2017 08:17:09 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Lou Berger <lberger@labn.net>
Cc: Kent Watsen <kwatsen@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20170823061709.prezywubi7b32w7i@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Lou Berger <lberger@labn.net>, Kent Watsen <kwatsen@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
References: <4425D564-7AD1-40B7-853F-FA9328E10F2D@juniper.net> <9596582d-17cf-e851-f88f-fd7a79d88e4f@labn.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: 8bit
In-Reply-To: <9596582d-17cf-e851-f88f-fd7a79d88e4f@labn.net>
User-Agent: NeoMutt/20170714 (1.8.3)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/b6JmDq_6uUHTvCyJZNwIewU57x8>
Subject: Re: [netmod] rfc6087bis S4.23 replacement text
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: Wed, 23 Aug 2017 06:17:16 -0000

My preference is to have the guidelines say what people should do,
namely design NMDA models. I would prefer to keep any transition
aspects out of the guidelines. If people want to include transition
aspects, it should be in the appendix (i.e., easy to remove / ignore
later on).

I understand that there is a timing issue. The question is what you
mean with "NMDA solution makes it to publication (request)". If you
mean the core NMDA document, this is pretty much in reach and keeping
this guidelines document on hold until then may be an option. If you
mean the complete solution set, including model updates and moving the
protocol extensions in NETCONF to publication request, then this may
take a bit more time.

/js

On Tue, Aug 22, 2017 at 04:32:14PM -0400, Lou Berger wrote:
> Kent/WG,
> 
>     This seems a bit terse to me and not provide needed guidance during
> the current transition period.  I understood  the discussion ended up 
> with the options being to either (1) provide the guidance as a
> standalone document, e.g., (a)-(s) in draft-dsdt-nmda-guidelines, with a
> pointer to it from 6087bis or (2) just move those sections to 6087 bis. 
> Either way, we'll need a new bis once the full NMDA solution makes it to
> publication (request).
> 
> I thought the plan was to do (s).  If so, we need the full text. 
> Looking at the current repo
> (https://github.com/netmod-wg/datastore-dt/blob/master/guidelines/guidelines.txt)
> it would be:
> 
>     4.23 Operational Data
> 
>     The following guidelines are meant to help modelers develop
>     YANG models that will maximize the utility of the model with
>     both current implementations and NMDA-capable implementations
>     [draft-ietf-netmod-revised-datastores].
> 
>     (a) New models and models that are not concerned with the
>     operational state of configuration information SHOULD
>     immediately be structured to be NMDA-compatible.
> 
>     (b) Models that require immediate support for "in use" and
>     "system created" information SHOULD be structured for NMDA.  A
>     non-NMDA version of these models SHOULD exist, either an
>     existing model or a model created either by hand or with
>     suitable tools that mirror the current modeling strategies.
>     Both the NMDA and the non-NMDA modules SHOULD be published in
>     the same document, with NMDA modules in the document main body
>     and the non-NMDA modules in a non-normative appendix.  The use
>     of the non-NMDA model will allow temporary bridging of the
>     time period until NMDA implementations are available.
> 
>     (c) For published models, the model should be republished with
>     an NMDA-compatible structure, deprecating non-NMDA constructs.
>     For example, the "ietf-interfaces" model in ^RFC7223^ will be
>     restructured as an NMDA-compatible model.  The
>     "/interfaces-state" hierarchy will be marked "status
>     deprecated".  Models that mark their "/foo-state" hierarchy
>     with "status deprecated" will allow NMDA-capable
>     implementations to avoid the cost of duplicating the state
>     nodes, while enabling non-NMDA-capable implementations to
>     utilize them for access to the operational values.
> 
>     (d) For models that augment models which have not been
>     structured with the NMDA, the modeler will have to consider
>     the structure of the base model and the guidelines listed
>     above.  Where possible, such models should move to new
>     revisions of the base model that are NMDA-compatible.  When
>     that is not possible, augmenting "state" containers SHOULD be
>     avoided, with the expectation that the base model will be
>     re-released with the state containers marked as deprecated.
>     It is RECOMMENDED to augment only the "/foo" hierarchy of the
>     base model.  Where this recommendation cannot be followed,
>     then any new "state" elements SHOULD be included in their own
>     module.
> 
>     To create the temporary non-NMDA model from an NMDA model, the
>     following steps can be taken:
>    
>     - Rename the module name by postpending "-state" to the
>       original module's name
>     - Change the namespace by postpending "-state" to the original
>       namespace value
>     - Change the prefix by postpending "-s" to the original prefix
>       value
>     - Set all top-level nodes to have a "config" statement of
>       value "false"
>     - add an import to the original module (e.g., for typedef
>       definitions)
>     - modify any imports, used for leafrefs or identityrefs, to
>       import the -state version of the module
>     - remove any 'typedef' or 'identity' definitions
>     - prefix any uses of the typedefs and identities accordingly
>     - update leafref and augment paths to use the new "-s" prefix
> 
> For me (with any/all hats) the key downside is that we'll need to  rev
> this text (again) in the not too distant future, but that we don't have
> an alternative as LC on the full solution is still a bit away.
> 
> What do people think?  
> 
> Lou
> 
> 
> On 8/22/2017 3:53 PM, Kent Watsen wrote:
> > Hi,
> >
> > During the meeting in Chicago, the NMDA authors took an action to 
> > propose some text for S4.23.  After a little review, the following
> > emerged.  Yes, it's short, but was anything left anything out?
> >
> >
> > =====START=====
> >
> > 4.23 Operational Data
> >
> > Operational data includes both config "false" nodes as well as,
> > on servers supporting <operational> [draft-ietf-netmod-revised-datastores],
> > the applied value of config "true" nodes.
> >  
> > YANG modules SHOULD be designed assuming they will be used on 
> > servers supporting <operational>.  With this in mind, YANG
> > modules SHOULD define config "false" wherever they make sense
> > to the data model.  Config "false" nodes SHOULD NOT be defined
> > to provide the operational value for configuration nodes, 
> > except when the value space of a configured and operational
> > values may differ, in which case a distinct config "false" 
> > node SHOULD be defined to hold the operational value for the
> > configured node.
> >
> > =====STOP=====
> >
> >
> > One question that came up is if "operational data" is a well-defined
> > term.  This string appears 10 times in rfc6087bis.  Most interestingly,
> > appendix Section A.8. (v05 to v06) includes this line item:
> >
> >     Changed term "operational state" to "operational data"
> >
> > So it seems to be deliberate...
> >
> >
> > Kent  // contributor
> >
> >
> >
> > _______________________________________________
> > 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

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