Re: [netmod] I-D Action: draft-ietf-netmod-entity-02.txt

Martin Bjorklund <mbj@tail-f.com> Wed, 08 March 2017 14:12 UTC

Return-Path: <mbj@tail-f.com>
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 E9C24129698 for <netmod@ietfa.amsl.com>; Wed, 8 Mar 2017 06:12:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_PASS=-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 xdo_sjfmVkXV for <netmod@ietfa.amsl.com>; Wed, 8 Mar 2017 06:12:50 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 8F5DD129472 for <netmod@ietf.org>; Wed, 8 Mar 2017 06:12:50 -0800 (PST)
Received: from localhost (unknown [50.225.114.198]) by mail.tail-f.com (Postfix) with ESMTPSA id 400C81AE046D; Wed, 8 Mar 2017 15:12:46 +0100 (CET)
Date: Wed, 08 Mar 2017 15:12:37 +0100
Message-Id: <20170308.151237.472853610844348877.mbj@tail-f.com>
To: kwatsen@juniper.net
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <620E45FE-90AA-4BF4-8C22-A128D1748205@juniper.net>
References: <AM2PR07MB06279B5FF45770892B69273D942E0@AM2PR07MB0627.eurprd07.prod.outlook.com> <20170308.140730.165843214949076575.mbj@tail-f.com> <620E45FE-90AA-4BF4-8C22-A128D1748205@juniper.net>
X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/6GqaNSk6_xFKxoXWTHDNHAgIocQ>
Cc: netmod@ietf.org
Subject: Re: [netmod] I-D Action: draft-ietf-netmod-entity-02.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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, 08 Mar 2017 14:12:52 -0000

Kent Watsen <kwatsen@juniper.net> wrote:
> 
> 
> >> If we pick the former, it will not be possible to configure a component with
> >> a system controlled parent (unless you also add the system controlled parent
> >> to the configuration).
> >> [Bart Bogaert] Is there a reason to only have this parent in the state tree
> >> and not in the config tree?
> >
> > I am not sure I understand the question.  Suppose the config tree is
> > empty, and the system boots and populates the state tree with all
> > detected harwdare.  Next, a client would like to pre-provision a
> > module in a chassis that exists in state.  If the leafref is to the
> > config tree, the client would have to create both the chassis and the
> > module in the config tree, since the leafef would otherwise fail to
> > validate.
> >
> >> If we pick the latter you will not get any validation (since it has to be
> >> require-instance false).
> >> 
> >> It is fine w/ me to change the type string to a leafref of the former type.
> >
> > Correction: I am fine with changing the string to a leafref to state.
> 
> This conversation seems to mirrors the we had regarding the i2rs 
> topologoy model

Yes.

>, where we landed on a leafref in 'running' could
> point to a config true node in 'operational-state'

With 'require-instance false'?  That doesn't really mean that it
points to anything in operational state.

> as to apply 
> configuration to, for instance, system-discovered underlays...or
> do I misunderstand, is the intention here for the leafref to point
> to a config false node?

Yes.  If we had revised datastores, this model would probably look
different. 


/martin