Re: [netmod] new YANG 1.1 Issue Y61: I2RS support

Andy Bierman <andy@yumaworks.com> Mon, 03 August 2015 16:01 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE36E1A92E2 for <netmod@ietfa.amsl.com>; Mon, 3 Aug 2015 09:01:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level:
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_64=0.6, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=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 dBE5nZs9D_jg for <netmod@ietfa.amsl.com>; Mon, 3 Aug 2015 09:01:37 -0700 (PDT)
Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) (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 8E1B41A92EB for <netmod@ietf.org>; Mon, 3 Aug 2015 09:01:31 -0700 (PDT)
Received: by lbbpo9 with SMTP id po9so6544051lbb.2 for <netmod@ietf.org>; Mon, 03 Aug 2015 09:01:30 -0700 (PDT)
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:content-type; bh=V+188sMOoBer9cdXM+hJYPBV/QhetwCuQd4j6npH50Q=; b=jZ+XRw/ylOGlgi+1YdUbWpD4TZqfnXCKZSmR90Zs7ses4+Q6g5FmGTEIdxYjq8yD8d 4DjuSmiA11EpeRJONlFv4aLzAico4AA2qGcrDow994a+zlpbVxiXz73NYU4KHuP57AK/ 6BK/ocIt5cqwwcblPmk4+Z3XQHTRQ1yJyfXDjiQIN+zzeVY/Zk1JQU2ugTx6ABBgoP/Q 3Nkp2uXyzjc7caczpvkdUm8o7Bxe8mZQI8lI5SomXkwOwo/W+5kth2L1JTZMx0lXTHIF e8dbqmtUBsZ13Kwuef1Cd32Abpw775T/hvr+ENNhpefuakrks2xtHc2hGaWX13P5sb1q kHkw==
X-Gm-Message-State: ALoCoQliIlVinBtqU1z6U+PQEFYHPqRMcB+iGD6ZoyxxG6L9MjoPb0qCTUW+Dnb2RsHj+GtjZFbX
MIME-Version: 1.0
X-Received: by 10.112.118.41 with SMTP id kj9mr16300193lbb.123.1438617689949; Mon, 03 Aug 2015 09:01:29 -0700 (PDT)
Received: by 10.112.200.102 with HTTP; Mon, 3 Aug 2015 09:01:29 -0700 (PDT)
In-Reply-To: <646276CA-ED9B-40D1-8613-4F0FD6DD69BE@nic.cz>
References: <20150730.211629.1600508626921450694.mbj@tail-f.com> <m2d1z8pwyi.fsf@birdie.labs.nic.cz> <CABCOCHQSpyMD7=CN=tcMqWG8qxOavFS2WMc6Xa-pUNZ6yz6x1Q@mail.gmail.com> <1D650959-4AB3-4B74-8A30-7BE3A69B896D@nic.cz> <CABCOCHRACfJUjHoSprTZqmV3SRD9m=r+3UBBU=2J1QssHchcEw@mail.gmail.com> <A8ABB18A-C881-4692-9CDD-65B9E4136FA9@nic.cz> <CABCOCHTO_WdR2vRyg=qpVqjzgvUQX1EqtdtSy2PtbfT3xh0UGQ@mail.gmail.com> <m21tfkhm47.fsf@birdie.labs.nic.cz> <20150803081814.GA71323@elstar.local> <55BF2F21.1070900@mg-soft.si> <20150803092501.GB71565@elstar.local> <CABCOCHQwTSTJRM+ZWERkhjsfu4EkL27UuUYSjtLw1v0yPd3oEg@mail.gmail.com> <646276CA-ED9B-40D1-8613-4F0FD6DD69BE@nic.cz>
Date: Mon, 03 Aug 2015 09:01:29 -0700
Message-ID: <CABCOCHT5Vx436YxCmrTLcbCcq+x4n0a5=f_5Wmbe8PzYqYtu6g@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Ladislav Lhotka <lhotka@nic.cz>
Content-Type: multipart/alternative; boundary="047d7bfd0098609ec6051c6a4803"
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/pcnwxhKuMIDjOXL2rIk_CNclPW0>
Cc: Jernej Tuljak <jernejt@mg-soft.si>, "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] new YANG 1.1 Issue Y61: I2RS support
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 03 Aug 2015 16:01:41 -0000

On Mon, Aug 3, 2015 at 7:48 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:

>
> > On 03 Aug 2015, at 16:41, Andy Bierman <andy@yumaworks.com> wrote:
> >
> >
> >
> > On Mon, Aug 3, 2015 at 2:25 AM, Juergen Schoenwaelder <
> j.schoenwaelder@jacobs-university.de> wrote:
> > On Mon, Aug 03, 2015 at 11:06:41AM +0200, Jernej Tuljak wrote:
> > > Juergen Schoenwaelder je 3.8.2015 ob 10:18 napisal:
> > > >Any description statement in principle can do this. We trust that sane
> > > >data model writers won't do bad things. And if they do, we hope that
> > > >people will not implement and deploy bad things.
> > >
> > > Why not simply make this impossible by ensuring that description
> > > statements cannot change what has already been agreed upon in RFC6020
> > > (aka YANG semantics)? I would have no problem with descriptions being
> > > normative, if this would be the case.
> >
> > You need to define way more clearly what 'YANG semantics' means.
> >
> >
> >
> > Agreed.  The description-stmt is normative.
> > It defines implementation requirements for a data node.
> > It is not used to override other YANG statements.
> > However, if the description says "child foo must be
> > greater than the value of bar" that is just as normative
> > as a must-stmt that says the same thing.
> >
> >
> > > >I continue to see extension statements as reusable and (in principle)
> > > >machine readable fragments of description statements. From this
> > > >perspective, it seems odd to make a difference between extensions and
> > > >description statements.
> > >
> > > I still disagree that description statements should be more powerful
> > > than any other YANG statement.
> >
> > What does 'powerful' mean? Time that someone writes concrete text so
> > we can have a more constructive discussion.
> >
> >
> > A YANG description-stmt cannot override the syntax and semantics of
> other YANG
> > statements.  But is is mandatory and it is normative.
>
> It’s not only about overriding. For example, it wouldn’t be good to
> introduce a new data node type though an extension.
>
>
But isn't that exactly what you are proposing by making ephemeral data
an extension instead of part of YANG?

None of the existing text covers the validation rules for ephemeral data.
Nothing is needed for config=true nodes in the ephemeral datastore,
but ephemeral-only data needs to be identified.

Validation rules are needed for ephemeral data.
Whether this is part of a protocol spec or YANG needs to be decided.




> Lada
>
>
Andy


> >
> >
> >
> >
> > /js
> >
> >
> > Andy
> >
> >
> > --
> > 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/>
> >
>
> --
> Ladislav Lhotka, CZ.NIC Labs
> PGP Key ID: E74E8C0C
>
>
>
>
>