Re: [netmod] Adding system configuration to running

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 15 September 2017 08:19 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 1F7F5132F2E for <netmod@ietfa.amsl.com>; Fri, 15 Sep 2017 01:19:37 -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 jznBcyAt9JPX for <netmod@ietfa.amsl.com>; Fri, 15 Sep 2017 01:19:35 -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 1FE1F1201F8 for <netmod@ietf.org>; Fri, 15 Sep 2017 01:19:35 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 2A58EF14; Fri, 15 Sep 2017 10:19:33 +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 TDIEZvrvDBOn; Fri, 15 Sep 2017 10:19:30 +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; Fri, 15 Sep 2017 10:19:33 +0200 (CEST)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 0A931200E9; Fri, 15 Sep 2017 10:19:33 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id lxqqaeoqcGhk; Fri, 15 Sep 2017 10:19:32 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 959C3200E8; Fri, 15 Sep 2017 10:19:32 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 7E28140F5940; Fri, 15 Sep 2017 10:19:31 +0200 (CEST)
Date: Fri, 15 Sep 2017 10:19:31 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@yumaworks.com>
Cc: Martin Bjorklund <mbj@tail-f.com>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20170915081931.hgha4wmfdhktvbog@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Andy Bierman <andy@yumaworks.com>, Martin Bjorklund <mbj@tail-f.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <CABCOCHQ64DUwH=4FHSDoxbSbugoo-OyrXDwq5_Evcrk+CjA43g@mail.gmail.com> <DF1AFB0F-53CB-40D2-B46F-2E5166705573@juniper.net> <CABCOCHTeK0qccKBwq5HC0WnJD7WL=TX_mjNZVqihYcy9iWvaww@mail.gmail.com> <20170915.073754.2218390958448188581.mbj@tail-f.com> <CABCOCHTv0sCyCeQsUDruYHPPqe2FyLcKzVT2veFa9zvMPkagXg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABCOCHTv0sCyCeQsUDruYHPPqe2FyLcKzVT2veFa9zvMPkagXg@mail.gmail.com>
User-Agent: NeoMutt/20170714 (1.8.3)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/3BhdQGg8aitL8fwJV3Y0t9QYoX8>
Subject: Re: [netmod] Adding system configuration to running
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: Fri, 15 Sep 2017 08:19:37 -0000

On Fri, Sep 15, 2017 at 01:11:04AM -0700, Andy Bierman wrote:
>
> Doesn't it say YANG validation is done on <intended> and not on <running>?
> If so, then how are YANG validation statements inside the template objects
> evaluated?
> Do they exist in both datastores, yet YANG validation is done in only 1
> datastore?
>

What I have understood so far is that template mechanisms differ quite
a bit in the details how they work. Ideally, both the template content
and the expansion resulting from the template content should be valid.
But until someone tries to work out a standard template mechanism, we
simply won't know the details. (And whether a standard for templates
is feasible, I do not know.)

/js

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