Re: [netmod] WG Last Call: draft-ietf-netmod-revised-datastores-04

Ladislav Lhotka <lhotka@nic.cz> Thu, 14 September 2017 16:15 UTC

Return-Path: <lhotka@nic.cz>
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 02554133041; Thu, 14 Sep 2017 09:15:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 YpKVJn5S6OVb; Thu, 14 Sep 2017 09:15:11 -0700 (PDT)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id BF38A133036; Thu, 14 Sep 2017 09:15:10 -0700 (PDT)
Received: by trail.lhotka.name (Postfix, from userid 109) id 6B9171820E78; Thu, 14 Sep 2017 18:17:48 +0200 (CEST)
Received: from localhost (cst-prg-18-212.cust.vodafone.cz [46.135.18.212]) by trail.lhotka.name (Postfix) with ESMTPSA id 3F4DC1820E71; Thu, 14 Sep 2017 18:17:45 +0200 (CEST)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Phil Shafer <phil@juniper.net>, Lou Berger <lberger@labn.net>
Cc: "netmod-chairs@ietf.org" <netmod-chairs@ietf.org>, draft-ietf-netmod-revised-datastores@ietf.org, netmod WG <netmod@ietf.org>
In-Reply-To: <201709132258.v8DMwX9k073880@idle.juniper.net>
References: <201709132258.v8DMwX9k073880@idle.juniper.net>
Mail-Followup-To: Phil Shafer <phil@juniper.net>, Lou Berger <lberger@labn.net>, "netmod-chairs\@ietf.org" <netmod-chairs@ietf.org>, draft-ietf-netmod-revised-datastores@ietf.org, netmod WG <netmod@ietf.org>
Date: Thu, 14 Sep 2017 18:15:40 +0200
Message-ID: <871sn9cl3n.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Fu_xP_ZMVhBUhRgXtNLw4FHEEtI>
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-revised-datastores-04
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: Thu, 14 Sep 2017 16:15:13 -0000

Phil Shafer <phil@juniper.net> writes:

> +
> +The implication of the existence of templating mechanisms is that
> +<running> is now explicitly allowed to be invalid, since the
> +templating mechanism may be supplying additional data that satisfies
> +constraints that may be satisfied by <running> itself.
> +

Section 8.1 in RFC 7950 identifies some constraints that "are true in
all data trees". If they are violated in <running>, it means that the
content is not a data tree as defined by YANG.

The same section also says that <running> MUST always be valid. This is
probably intended to be removed, but constraints that are supposed to
hold in all data trees should IMO stay no matter what.

Lada

-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67