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

Xufeng Liu <Xufeng_Liu@jabil.com> Thu, 02 February 2017 14:03 UTC

Return-Path: <Xufeng_Liu@jabil.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 608B9129454; Thu, 2 Feb 2017 06:03:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.922
X-Spam-Level:
X-Spam-Status: No, score=-1.922 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jabil.onmicrosoft.com
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 fXYx8JMtMSfB; Thu, 2 Feb 2017 06:03:16 -0800 (PST)
Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0109.outbound.protection.outlook.com [104.47.42.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 23AC9129453; Thu, 2 Feb 2017 06:03:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jabil.onmicrosoft.com; s=selector1-jabil-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=lzLmEOWz6G/NPzL7Sv7UTJCPZrCJ/m0SA+uMHR1bok4=; b=jNOnjKYDbG1LSQ1HSi6gaXazwR9bS/GTEzncen2fg/wEl1r1GBOjgGb8v0FAByn9RIrl0Ts/FaTjeD8VSKiWZCLQLfHrHlQdsN3X9M6Q1r7YuyrS1lc9yzrQUm/RIMdFC2i4bJfoyR2ghcVZEBz5pyagG3YKDBKm8mKf/Dl+mls=
Received: from BN3PR02MB1141.namprd02.prod.outlook.com (10.162.168.147) by BN3PR02MB1144.namprd02.prod.outlook.com (10.162.168.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.12; Thu, 2 Feb 2017 14:03:14 +0000
Received: from BN3PR02MB1141.namprd02.prod.outlook.com ([10.162.168.147]) by BN3PR02MB1141.namprd02.prod.outlook.com ([10.162.168.147]) with mapi id 15.01.0874.021; Thu, 2 Feb 2017 14:03:14 +0000
From: Xufeng Liu <Xufeng_Liu@jabil.com>
To: Martin Bjorklund <mbj@tail-f.com>, "alexander.clemm@huawei.com" <alexander.clemm@huawei.com>
Thread-Topic: [i2rs] Kathleen Moriarty's No Objection on draft-ietf-i2rs-yang-l3-topology-08: (with COMMENT)
Thread-Index: AQHSdw/y6tc6V0kTeEi7pAhS6Zp8AqFJRx6AgAAEUoCAAALgAIALPDeAgAALPQCAABeFgIAABLgAgAAODICAAJ8egIAAZlpA
Date: Thu, 02 Feb 2017 14:03:14 +0000
Message-ID: <BN3PR02MB1141CB95373AA63789365FEDF14C0@BN3PR02MB1141.namprd02.prod.outlook.com>
References: <5204157b-1379-e217-5bcd-576ffeed6a91@labn.net> <CAG4d1rchU3uaSCo4GaE7VSg51Z087KHkEjj1bGDjiZt3BLdmig@mail.gmail.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0DF7D7EE@SJCEML703-CHM.china.huawei.com> <20170202.083329.1828765889486608943.mbj@tail-f.com>
In-Reply-To: <20170202.083329.1828765889486608943.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Xufeng_Liu@jabil.com;
x-originating-ip: [98.191.72.170]
x-ms-office365-filtering-correlation-id: 0bb6da1c-0c59-4c40-ae0d-08d44b743b02
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:BN3PR02MB1144;
x-microsoft-exchange-diagnostics: 1; BN3PR02MB1144; 7:xGrNLPeaXtXwv2B/9vX/o8wgJKnDX5zHbUjqZ//mos3r+H64jhN+Zku6I/Y0Yso22yQT7pFtwIbZTiAMtH29ssf4BBsZAOppIIO1lZLxaOepgHRbEu93rX0IfUGQkryP/Jtk45eHpDE63nJXNO4Fzd+U9vS4+OvV9ZQXAoDIEGto7fgO5N9icxGKLy0CaIzRjEIxZsgOmcoXoLJTw6j5JAdYkyG16SfS3u141LS5w+BjCvMiAZGtZ4IM2qHZ+AQspSeWyZJIQOhzikPrJf399GmCVs2preXWQhIG8kByePUFLyfej7mmJlIpdSZONBt/GxSBzvHy+2hnBO7sKeQYKamzXUgN4veUldKtKNMDcvemnG1NO2jc3AjEcraXXFTwLg/ezYwSbtjEjNCGKLBm3D7zIHsu8NjRve8FDZuCXEiXDorJ6g3wEIKbDvZ1kagqFIGzAcNHx3iyO7jCoF+t3KKjwOKOxmmwk5x8/ZhcIu0EVIB37+YMPWUl2F60kt8cI2sOde/J2+vTM+Iyx4DnBe8UtzIVJrzvWGKCiyaAfkNlpbW2gVjYGL16kC10KKju
x-microsoft-antispam-prvs: <BN3PR02MB1144425CC7A47ACCAFDF4D4DF14C0@BN3PR02MB1144.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(50582790962513);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123558025)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:BN3PR02MB1144; BCL:0; PCL:0; RULEID:; SRVR:BN3PR02MB1144;
x-forefront-prvs: 02065A9E77
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39450400003)(39840400002)(39410400002)(39860400002)(39850400002)(13464003)(199003)(377454003)(24454002)(189002)(52314003)(54906002)(39060400001)(3280700002)(8676002)(86362001)(305945005)(2900100001)(2501003)(7736002)(97736004)(3660700001)(38730400001)(93886004)(2950100002)(101416001)(25786008)(106356001)(77096006)(105586002)(106116001)(122556002)(4326007)(74316002)(2906002)(92566002)(81166006)(81156014)(102836003)(8936002)(6116002)(3846002)(55016002)(80792005)(229853002)(53936002)(5660300001)(5001770100001)(66066001)(7696004)(6506006)(230783001)(99286003)(189998001)(76176999)(50986999)(9686003)(68736007)(33656002)(54356999)(6436002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR02MB1144; H:BN3PR02MB1141.namprd02.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: jabil.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: jabil.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2017 14:03:14.1050 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bc876b21-f134-4c12-a265-8ed26b7f0f3b
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR02MB1144
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/Ckqy4U0kaTLK6Fh9sqhXP3kRtZw>
Cc: "draft-ietf-i2rs-yang-l3-topology@ietf.org" <draft-ietf-i2rs-yang-l3-topology@ietf.org>, "i2rs@ietf.org" <i2rs@ietf.org>, "lberger@labn.net" <lberger@labn.net>, "iesg@ietf.org" <iesg@ietf.org>, "akatlas@gmail.com" <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 14:03:19 -0000

Hi Martin,

I know that this is a previously discussed solution, but I still have some issues with it:

1) In the case of the interfaces model, for each referenced interface-state, the operator needs to configure an interface object with the same interface name. However, in the case of the topology model, if we need to reference an underlay link-state, we will need to configure a topology (called network), a source node, a destination node, a source termination-point, a destination termination-point, which are five objects without including other consequent mandatory objects.

2) This approach stretches the definition of "system generated" non-configurable objects. The system generated objects mentioned in 1) are designed to be not configurable. Configuring them may result un-desirable consequences.

3) In general, this approach will not work if the referenced schema leaf is marked as "config false". In such a case, we cannot configure such a referenced leaf since it is not configurable.

Thanks,

- Xufeng

> -----Original Message-----
> From: Martin Bjorklund [mailto:mbj@tail-f.com]
> Sent: Thursday, February 2, 2017 2:33 AM
> To: alexander.clemm@huawei.com
> Cc: akatlas@gmail.com; lberger@labn.net; 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)
> 
> 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