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

Xufeng Liu <Xufeng_Liu@jabil.com> Tue, 27 June 2017 13:23 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 3B0F5129B0A for <i2rs@ietfa.amsl.com>; Tue, 27 Jun 2017 06:23:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, 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, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=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 57CKHiuu02qo for <i2rs@ietfa.amsl.com>; Tue, 27 Jun 2017 06:23:40 -0700 (PDT)
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0113.outbound.protection.outlook.com [104.47.33.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 92929129ADC for <i2rs@ietf.org>; Tue, 27 Jun 2017 06:23:40 -0700 (PDT)
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=PBpwO1EmK9eKM4ekv6FJBUovDVN6LZE2OOFGIJ8tKoo=; b=vNeHgILuhcSEeIilzTKuak7sZyhRmkz9x9zm3qFL3S4OL3+b10ZL26StNPRpFnChPHqfqO5oM+zW5bmo3B+sGIguWVDwY3h9beHiA9SbJKtv8xCPWVm2Ok8B4CpONS3zByMqLyw4KvIw3u/y6PaXskzAR00t6LGo2o6gc1q2y24=
Received: from BN3PR0201MB0867.namprd02.prod.outlook.com (10.160.154.13) by BN3PR0201MB0866.namprd02.prod.outlook.com (10.160.154.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Tue, 27 Jun 2017 13:23:38 +0000
Received: from BN3PR0201MB0867.namprd02.prod.outlook.com ([10.160.154.13]) by BN3PR0201MB0867.namprd02.prod.outlook.com ([10.160.154.13]) with mapi id 15.01.1199.019; Tue, 27 Jun 2017 13:23:38 +0000
From: Xufeng Liu <Xufeng_Liu@jabil.com>
To: Robert Wilton <rwilton@cisco.com>, Alexander Clemm <alexander.clemm@huawei.com>, "i2rs@ietf.org" <i2rs@ietf.org>
Thread-Topic: [i2rs] I-D Action: draft-ietf-i2rs-yang-network-topo-13.txt
Thread-Index: AQHS7yrFEMOSTu+/FkmSxHs6lMqKt6I4sepw
Date: Tue, 27 Jun 2017 13:23:38 +0000
Message-ID: <BN3PR0201MB08670E4B670CB04B37FB8989F1DC0@BN3PR0201MB0867.namprd02.prod.outlook.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:
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=jabil.com;
x-originating-ip: [98.191.72.170]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BN3PR0201MB0866; 7:HHUqr7hSjl7OnVWVVPGk/jUAbmljQDb8k/k+9mKCOHC22BqCVcQbLtvKremqCl6HwLyQbv7d44NM23NycInGyp/ZPkCiW9jLtRuNE+DB/qWjqKqyNgDHOD1Vj3/PMzYCnCnvQEu2td+TMxZBp0UiDnK0xzivHEsHznqPPoYENtEi+tnSEmzSDZ3N37qCsEnQ1UjeFiKdzQ6BiJ/hAJADmfkc7rTbwhSHxXr6tkIzP8B8SMc8NxD8UfhIFVTHVGudcaZpfy0J03kZEPW759EKjMGQVvpqaJzwPJJTzRRoutKCuyQhfssSieoKPWlFMxRxWWpThl08PIXE6uuH9Sm9X+swQqloFkp0TY2yfPl/2H8+H1eK13yuH774IG/OrkwCKGJT7AYuGW1NiqjcawKdqxXz8Qf/cVwG6mrPXf/wk7HaZPSs+DKrojNX7sIlXYaMu4sqo5bTg2Ds0h34uJGpb7BIcW5Ejb85XILae+DLRisqljWWpCMAEtuUXj+jIcX8pL2+3qCHqZx1hOg5/7IiNel0DFYWE1YYGRbTGhJEcdc9JExF5i8pcOPlPJeuQ3fcMZkujP2yuJQ8c38O0HRc0mG9Ip4yW991ew4odaMYgs50y30/pLMP1qbLBmxdknH4q87k4ODnes23jvpDIbFobSC5jfof3Q5jrQUWb9j/sT1D65hbaiQJdux86BgZb4seAesxzmwC6Yjq3vk0PV3rlijJBKUUIZBhLDybhFwT9VwXX4eK0SSChqJ1BcVE60A0TjpCbuH3X7aLRRDyuXVtAtU8aK+d9y00lOUGcSdh2q4=
x-ms-office365-filtering-correlation-id: 2bbc5f4d-c5c9-4ebf-bb47-08d4bd5fb8c2
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506067)(300135500095); SRVR:BN3PR0201MB0866;
x-ms-traffictypediagnostic: BN3PR0201MB0866:
x-microsoft-antispam-prvs: <BN3PR0201MB0866541EFA09E10A763E8594F1DC0@BN3PR0201MB0866.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(151999592597050)(26388249023172)(236129657087228)(50582790962513)(95692535739014)(21748063052155)(21534305686606)(201166117486090)(138986009662008)(148574349560750);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041248)(20161123555025)(20161123558100)(20161123560025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0201MB0866; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0201MB0866;
x-forefront-prvs: 0351D213B3
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39450400003)(39860400002)(39410400002)(39400400002)(39850400002)(39840400002)(377454003)(24454002)(51444003)(22974007)(14454004)(790700001)(81166006)(74316002)(7696004)(86362001)(6506006)(2906002)(3280700002)(122556002)(3660700001)(6246003)(77096006)(236005)(72206003)(55016002)(25786009)(2900100001)(6306002)(9686003)(53936002)(33656002)(6436002)(54896002)(478600001)(6116002)(80792005)(102836003)(99286003)(38730400002)(93886004)(189998001)(3846002)(5660300001)(2950100002)(230783001)(66066001)(7736002)(8936002)(8676002)(54356999)(76176999)(53546010)(50986999)(229853002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0201MB0866; H:BN3PR0201MB0867.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BN3PR0201MB08670E4B670CB04B37FB8989F1DC0BN3PR0201MB0867_"
MIME-Version: 1.0
X-OriginatorOrg: jabil.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2017 13:23:38.2738 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bc876b21-f134-4c12-a265-8ed26b7f0f3b
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0201MB0866
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/8bLtQF6qF98WzG9K6z8wuhB9piw>
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 13:23:44 -0000

As Alex mentioned in another email, we have discussed and agreed on the plan to move forward with both I2RS topology model and TE topology model, by adding the “-state” module. We will do it as quickly as possible.

Thanks,
- Xufeng

From: Robert Wilton [mailto:rwilton@cisco.com]
Sent: Tuesday, June 27, 2017 5: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

>