Re: [i2rs] I-D Action: draft-ietf-i2rs-yang-network-topo-13.txt

Alexander Clemm <alexander.clemm@huawei.com> Tue, 27 June 2017 21:09 UTC

Return-Path: <alexander.clemm@huawei.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 48B7612EB3E for <i2rs@ietfa.amsl.com>; Tue, 27 Jun 2017 14:09:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, 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 4MIWXs0KQW8Z for <i2rs@ietfa.amsl.com>; Tue, 27 Jun 2017 14:09:15 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E68312EB20 for <i2rs@ietf.org>; Tue, 27 Jun 2017 14:09:14 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml704-cah.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DJH44647; Tue, 27 Jun 2017 21:09:12 +0000 (GMT)
Received: from SJCEML703-CHM.china.huawei.com (10.208.112.39) by lhreml704-cah.china.huawei.com (10.201.108.45) with Microsoft SMTP Server (TLS) id 14.3.301.0; Tue, 27 Jun 2017 22:09:11 +0100
Received: from SJCEML702-CHM.china.huawei.com ([169.254.4.142]) by SJCEML703-CHM.china.huawei.com ([169.254.5.136]) with mapi id 14.03.0301.000; Tue, 27 Jun 2017 14:09:09 -0700
From: Alexander Clemm <alexander.clemm@huawei.com>
To: Robert Wilton <rwilton@cisco.com>, 'Xufeng Liu' <Xufeng_Liu@jabil.com>, "i2rs@ietf.org" <i2rs@ietf.org>
Thread-Topic: [i2rs] I-D Action: draft-ietf-i2rs-yang-network-topo-13.txt
Thread-Index: AQHS7yrOk7VGfsKuwk+o0vJCGS1c7aI5NCVA
Date: Tue, 27 Jun 2017 21:09:08 +0000
Message-ID: <644DA50AFA8C314EA9BDDAC83BD38A2E0E0BDAAD@SJCEML702-CHM.china.huawei.com>
References: <149810775944.30654.3855289160631916559@ietfa.amsl.com> <01a101d2eb18$8efea040$acfbe0c0$@clemm.org> <37626ce1-f10e-0357-e749-cfa9de40951a@cisco.com> <20170624131701.GC2187@elstar.local> <64c72fd5-8833-5d3c-afba-60402adf0882@cisco.com> <308C9498061C7E0D.327c7acb-aec9-4f08-b62c-980f928829ea@mail.outlook.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0E0BC826@SJCEML702-CHM.china.huawei.com> <b46b3778-f5d8-f3b8-82c9-a3ae72cc3b69@cisco.com>
In-Reply-To: <b46b3778-f5d8-f3b8-82c9-a3ae72cc3b69@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.213.48.64]
Content-Type: multipart/alternative; boundary="_000_644DA50AFA8C314EA9BDDAC83BD38A2E0E0BDAADSJCEML702CHMchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.5952C978.024B, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.4.142, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: de97688cfcfad5852b640e3c5a96e46b
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/pPfS_rsExnkniGvZ77AMiQN7tPM>
Subject: Re: [i2rs] I-D Action: draft-ietf-i2rs-yang-network-topo-13.txt
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 27 Jun 2017 21:09:18 -0000

Hi Robert,

We will add it to the draft.

This will presumably also affect the l3-topo draft, to augment the –state with its own –state tree.

You mention tooling that can automatically generate this.  Can you please point me to such a tool?  (If not, no problem, will update manually.)

Will investigate use of grouping and uses statements.  In that case the –state module could simply use the grouping defined in the NMDA-compliant module.

Thanks
--- Alex

From: Robert Wilton [mailto:rwilton@cisco.com]
Sent: Tuesday, June 27, 2017 2:50 AM
To: Alexander Clemm <alexander.clemm@huawei.com>; 'Xufeng Liu' <Xufeng_Liu@jabil.com>; i2rs@ietf.org
Subject: Re: [i2rs] I-D Action: draft-ietf-i2rs-yang-network-topo-13.txt


Hi Alex,

If you need to represent learned topologies before NMDA compliant implementations are available then you need the extra -state module (i.e. a copy of the NMDA compatible I2RS topology module, but with name appended with -state and all nodes set as config false).  This could be generated via tooling, put into github, or added in an appendix to the draft.

Without this, then the existing I2RS topology module can only be used to represent configured topologies on non NMDA compliant implementations (specifically any implementations that don't expose the operational state datastore).
For NMDA compliant implementations the network topology module in draft -13 works well.

Thanks,
Rob

On 26/06/2017 18:52, Alexander Clemm wrote:
Hi Rob,
Inline <ALEX>, below
Thanks
--- Alex

---------- Forwarded message ----------
From: "Robert Wilton" <rwilton@cisco.com<mailto:rwilton@cisco.com>>
Date: Mon, Jun 26, 2017 at 1:53 AM -0700
Subject: Re: [i2rs] I-D Action: draft-ietf-i2rs-yang-network-topo-13.txt
To: "Alexander Clemm" <ludwig@clemm.org<mailto:ludwig@clemm.org>>, <i2rs@ietf.org<mailto:i2rs@ietf.org>>, "'Nitin Bahadur'" <nitin_bahadur@yahoo.com<mailto:nitin_bahadur@yahoo.com>>, "'Russ White'" <russ@riw.us<mailto:russ@riw.us>>, "'Xufeng Liu'" <Xufeng_Liu@jabil.com<mailto:Xufeng_Liu@jabil.com>>, <hari@packetdesign.com<mailto:hari@packetdesign.com>>, "'Jan Medved (jmedved)'" <jmedved@cisco.com<mailto:jmedved@cisco.com>>, <robert.varga@pantheon.sk<mailto:robert.varga@pantheon.sk>>, "'Susan Hares'" <shares@ndzh.com<mailto:shares@ndzh.com>>, "Kent Watsen" <kwatsen@juniper.net<mailto:kwatsen@juniper.net>>, "Martin Bjorklund" <mbj@tail-f.com<mailto:mbj@tail-f.com>>



Hi Juergen,





On 24/06/2017 14:17, Juergen Schoenwaelder wrote:

> On Thu, Jun 22, 2017 at 11:44:00AM +0100, Robert Wilton wrote:

>> Do you think that it would be useful if the draft also included the extra

>> transient "-state" modules in an appendix (e.g. as per

>> draft-dsdt-nmda-guidelines-01 section 2)?

>>

>> Specifically, I'm thinking to help make the topology module fully usable by

>> modules that augment it (e.g. by the TE modules if/when they adopt the NMDA

>> conventions), until NMDA implementations before widely available.

>>

> Rob,

>

> the less we have of those transient "-state" trees, the better it is.

> For LMAP (in auth48) we did not do this. These extra "-state" trees

> should ideally only be used in very rare cases, I think existing code

> already works with a single tree (at least this is what I understood

> from the OpenDaylight discussions).

I completely agree with you in general, but for the topology module I

think that the -state tree is required to represent topologies that

exist but have not been configured (e.g. perhaps those learned from a

dynamic routing protocol).



Also copying Kent and Martin, since they were very both very involved in

the discussions on the I2RS alias discussing the structure of the I2RS

network topology module.



My interpretation is from Xufeng was it is needed for the TE YANG

modules, but if it turns out that it is not actually needed, then that

is also good with me ;-)



<ALEX>

The need to represent topologies that are learned is certainly there.  It is not exclusive to TE, and I would be surprised if TE YANG modules have an extra need for a separate state tree.  Probably the best person to comment here is Xufeng, but it sounds to me, also per Juergen’s comments, that an extra state tree will _not_ be needed.

</ALEX>



Thanks,

Rob



>

> /js

>