Re: [I2rs-proto-dt] couple YANG details

Andy Bierman <andy@yumaworks.com> Fri, 23 October 2015 15:29 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: i2rs-proto-dt@ietfa.amsl.com
Delivered-To: i2rs-proto-dt@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 540751A3BA0 for <i2rs-proto-dt@ietfa.amsl.com>; Fri, 23 Oct 2015 08:29:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 L-byi2_v6g8v for <i2rs-proto-dt@ietfa.amsl.com>; Fri, 23 Oct 2015 08:29:27 -0700 (PDT)
Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::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 E6D351A3B9D for <i2rs-proto-dt@ietf.org>; Fri, 23 Oct 2015 08:29:26 -0700 (PDT)
Received: by lfaz124 with SMTP id z124so87746729lfa.1 for <i2rs-proto-dt@ietf.org>; Fri, 23 Oct 2015 08:29:25 -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:content-type; bh=UhH9yLGEq0mbahjzmZHKrdNiYGfKOGwlpo5WZocLsU4=; b=sz3YeWcta0FbyAebvJUcwDsll9VqyzGIvrZ8lZN6Xuzi1IfLpXmSvX55gv4dfLSSZA dc7xcpyQjjZ2GmJtGT3zkhoC75xBneo9MGL1JhwFmIEjpiWHcuBZeSMhrM/rLhQIsP/6 gHKykGSCMcggp2WMqDktezCr7Tho+63zufpj8skwBS5Q/uR1oqSJOVaJrUZNRn2wt48O huz7g5s3AmGZaKE4v75krF/3k9eID1vi9BLVltpgQCzQVbMVt9ReH+9fqJziQyO+JFIk RG/VZj6oNG/e+bCFdRBJ9ektMJIOv8WLuD2vmqbRGQxdhnXMtel/yMvwYA4mGZSQwl69 7yPQ==
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=UhH9yLGEq0mbahjzmZHKrdNiYGfKOGwlpo5WZocLsU4=; b=b7OjlmoZU6xujUkE7mkna7tx0LUD6TqxDEJRTFebdMVxUuvNsWJiZtW9nsOtG/XVti TDpi5nQaGUhzt7gP2+WQdxMsM4tVE8AAjWTk3sJ59JDmDcKogIlSBWKvzGH+yQmzdDvu qndLQ+1QlRK5Z+K/WJlMnh+TKDTkWRZHw5d6LF5yZQ3YT2qlfcdXe4VvX8aW+9Dsnyrl Cf9el4xrTW7vMcWPIzxWxnYp5O/QrRSdhF6JM46fcLickHAntH61AJ/T/YEoYLg2LNZG 2NL5trJOeERJJ4RJO6Q78iVqKuirSS6vzI8ovkemmglv0SYJg0iuY4Xt2LpVSnWyqN2H ZELA==
X-Gm-Message-State: ALoCoQkuzNx288GFM9dr2XgGQB3GHveBUoK1QnvGgQGIffaLSgE57Jom6MdXvLz4Fh6xO9j1aq+A
MIME-Version: 1.0
X-Received: by 10.112.160.138 with SMTP id xk10mr11275000lbb.119.1445614165116; Fri, 23 Oct 2015 08:29:25 -0700 (PDT)
Received: by 10.112.138.72 with HTTP; Fri, 23 Oct 2015 08:29:25 -0700 (PDT)
In-Reply-To: <20151023151945.GG26793@pfrc.org>
References: <CABCOCHRRDZZZF1uj6UVDezmZzM3g8bEQiWTkyZKUPk6HL40fcg@mail.gmail.com> <CABCOCHSinfdgfxhg8Ly9ZDSDCvqi3xse+ZwAAQnYweEaMJ6j7w@mail.gmail.com> <20151023151945.GG26793@pfrc.org>
Date: Fri, 23 Oct 2015 08:29:25 -0700
Message-ID: <CABCOCHQb1MjX_8XpV1+2vOnEWO_VfNQoLi=jBizGov+Hz6saoA@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Content-Type: multipart/alternative; boundary=001a11c38b90cb65280522c746c9
Archived-At: <http://mailarchive.ietf.org/arch/msg/i2rs-proto-dt/kRuEC5UrJctOt0jt9pVyr2Nfva4>
Cc: i2rs-proto-dt@ietf.org, Susan Hares <shares@ndzh.com>
Subject: Re: [I2rs-proto-dt] couple YANG details
X-BeenThere: i2rs-proto-dt@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: I2RS protocol design team <i2rs-proto-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs-proto-dt>, <mailto:i2rs-proto-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2rs-proto-dt/>
List-Post: <mailto:i2rs-proto-dt@ietf.org>
List-Help: <mailto:i2rs-proto-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs-proto-dt>, <mailto:i2rs-proto-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Oct 2015 15:29:28 -0000

On Fri, Oct 23, 2015 at 8:19 AM, Jeffrey Haas <jhaas@pfrc.org>; wrote:

> Andy,
>
> On Wed, Oct 21, 2015 at 02:49:12PM -0700, Andy Bierman wrote:
> > We need to figure out for each YANG constraint:
> >  1) does it apply at all?
> >  2) is it MUST, SHOULD, or MAY enforce?
> >  3) Does the constraint apply the same in running vs. ephemeral?
> >  4) Does the constraint apply to the combined panes of glass or
> >      each pane independently?
>
> I'm going to avoid answering your question to let you decide what this
> functional requirement means:
> Ephemeral nodes SHOULD NOT introduce their own constraints.
> The presence of ephemeral nodes does not trump validation or constraints
> for
> persistent state.
>
>
So if the YANG list has "max-elements 5",
and the config has 5 entries.  What happens when
5 or 10 entries are added in the ephemeral datastore?



> -- Jeff
>

Andy