Re: [i2rs] Kathleen Moriarty's No Objection on draft-ietf-i2rs-yang-l3-topology-08: (with COMMENT)

Martin Bjorklund <mbj@tail-f.com> Thu, 02 February 2017 07:33 UTC

Return-Path: <mbj@tail-f.com>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BF831293F8; Wed, 1 Feb 2017 23:33:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.1
X-Spam-Level:
X-Spam-Status: No, score=-5.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-3.199, 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 5dzEDF1t04JF; Wed, 1 Feb 2017 23:33:32 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 8EAAE1293DA; Wed, 1 Feb 2017 23:33:32 -0800 (PST)
Received: from localhost (h-148-188.a165.priv.bahnhof.se [176.10.148.188]) by mail.tail-f.com (Postfix) with ESMTPSA id 032E71AE01AA; Thu, 2 Feb 2017 08:33:30 +0100 (CET)
Date: Thu, 02 Feb 2017 08:33:29 +0100
Message-Id: <20170202.083329.1828765889486608943.mbj@tail-f.com>
To: alexander.clemm@huawei.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <644DA50AFA8C314EA9BDDAC83BD38A2E0DF7D7EE@SJCEML703-CHM.china.huawei.com>
References: <5204157b-1379-e217-5bcd-576ffeed6a91@labn.net> <CAG4d1rchU3uaSCo4GaE7VSg51Z087KHkEjj1bGDjiZt3BLdmig@mail.gmail.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0DF7D7EE@SJCEML703-CHM.china.huawei.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/Co55hY63RJinnadoCkV-mEJJ0-M>
Cc: draft-ietf-i2rs-yang-l3-topology@ietf.org, i2rs@ietf.org, lberger@labn.net, iesg@ietf.org, akatlas@gmail.com
Subject: Re: [i2rs] Kathleen Moriarty's No Objection on draft-ietf-i2rs-yang-l3-topology-08: (with COMMENT)
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Interface to The Internet Routing System \(IRS\)" <i2rs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs>, <mailto:i2rs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2rs/>
List-Post: <mailto:i2rs@ietf.org>
List-Help: <mailto:i2rs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs>, <mailto:i2rs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Feb 2017 07:33:34 -0000

Alexander Clemm <alexander.clemm@huawei.com> wrote:
> We are working this separately and will articulate the different
> options and their respective issues.
> 
> The fundamental issue is still the fact that you may have dependencies
> in overlay topologies on underlay topologies that are discovered and
> represent “state”, and that in fact your underlay may be either.
> 
> RFC 7223, as far as I can tell, sidesteps this issue.  It does define
> a type “interface-ref” with a path to reference a configured
> interface, and it does define a type “interface-state-ref” to
> reference an operationally present interface.  However,
> interface-state-ref is used only in read-only objects, whereas (to put
> the analogy) it is needed for configurable objects as well.  Likewise,
> there are two types; really we need a union which would allow either
> (or a leafref with alternate paths, which is not supported).  While
> there are some analogies with a preprovisioning scenario, there are
> also differences.

When people refer to the "pre-provisioning approach" in RFC 7223, it
is not the "interface-ref" or "interface-state-ref" they refer to.

The pre-provisioning mechanism in RFC 7223 says that when the device
initializes a detected interface, it will check the configuration to
see if there is config available for an interface with the same name
as the newly detected one.  If so, that config is used.

I think the idea was to use something similar here.  E.g., allow a
configured overlay to refer to a discovered underlay by name.  In YANG,
this can be done with a node with the same type; or possibly with a
leafref to the state data with "require-instance false".

This design allows an overlay to be configured for an existing
detected underlay.  Let's say the device reboots and starts to rebuild
its topologies.  During some period of time, the configured overlay
still exist in the config, but not in the state, since the underlay is
not yet available.  Once it becomes instantiated in the state, the
overlay is also instantiated in the state.  (This assumes that the
system-generated topology names do not change).


/martin



> 
> Anyway, Xufeng, Kent, Pavan and I are having offline discussions and
> will come back with further elaboration on this.
> 
> --- Alex
> 
> From: i2rs [mailto:i2rs-bounces@ietf.org] On Behalf Of Alia Atlas
> Sent: Wednesday, February 01, 2017 1:14 PM
> To: Lou Berger <lberger@labn.net>
> Cc: draft-ietf-i2rs-yang-l3-topology@ietf.org; i2rs@ietf.org;
> iesg@ietf.org
> Subject: Re: [i2rs] Kathleen Moriarty's No Objection on
> draft-ietf-i2rs-yang-l3-topology-08: (with COMMENT)
> 
> On Wed, Feb 1, 2017 at 3:56 PM, Lou Berger
> <lberger@labn.net<mailto:lberger@labn.net>> wrote:
> 
> 
> On 2/1/2017 2:32 PM, Juergen Schoenwaelder wrote:
> > On Wed, Feb 01, 2017 at 01:52:25PM -0500, Lou Berger wrote:
> >> Juergen,
> >>
> >>     What precludes treating such dependencies in the same way
> >> per-provisioning is handled by RFC7223?
> >>
> > This is fine. But having direct dependencies, e.g., leafrefs from
> > config true leafs to config false leafs, is not.
> >
> > /js
> >
> 
> Okay, then we're on the same page -- I think some may have missed the
> possibility of handling references to dynamic topology information in
> config using a 'pre-provisioning' approach.
> 
> I would be happy to see Alex, Xufeng, Kent & Pavan articulate what
> this would
> look like and how it would work for the base topology model, so that
> the WG can
> consider all potentially viable options.  I'm not certain how it would
> function for the
> recursive nature and it does presume the separate /config and
> /oper-state trees in
> the data-model that were a concern (though certainly the current
> recommended
> approach for YANG models).
> 
> Regards,
> Alia