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

Robert Wilton <rwilton@cisco.com> Tue, 27 June 2017 13:44 UTC

Return-Path: <rwilton@cisco.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 521D6127078 for <i2rs@ietfa.amsl.com>; Tue, 27 Jun 2017 06:44:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.491
X-Spam-Level:
X-Spam-Status: No, score=-14.491 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 zVKJZN7e5_it for <i2rs@ietfa.amsl.com>; Tue, 27 Jun 2017 06:44:18 -0700 (PDT)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A9D5E1274D2 for <i2rs@ietf.org>; Tue, 27 Jun 2017 06:44:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=19902; q=dns/txt; s=iport; t=1498571057; x=1499780657; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=5+NupGp403f1vpvjS74fqztX9TFZGxly7G4Yd/U4cEM=; b=gzuo9JjUVNf9daPlUljB9T8UMc5PTMexSezpiyBmvfPbbo9HkKMosKW8 5R3/OOG8TpcNs2oENIHX4wdlsLQ7d918sJ4EJRP8jb2vc9oiCwGhYmEXY yRs0s+fRGa0jec/C47OG1rh6b4nIYS+SaRQ8bk3y/n2eNeUimGeiIyNDl 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DaAAC+YFJZ/xbLJq1dGQEBAQEBAQEBAQEBBwEBAQEBgm+CWoNsihlzkFAic4FOhWyNUIIRhikCgzkYAQIBAQEBAQEBayiFGAEBAQECASMKUQsLEQMBAQEBJwMCAkUBCQgGAQwGAgEBihQDDQiwHoImKYsxAQEBAQEBAQEBAQEBAQEBAQEBAQEBHYMng0yBYSsLgWJYNIJXgWQSATwWgl2CYQWHdQyBU4ZxhlyHEzuPCoRhix6GdotobYhPHzh/CzAhCBsVhVocgWc/NoZsgjABAQE
X-IronPort-AV: E=Sophos;i="5.39,399,1493683200"; d="scan'208,217";a="655710811"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jun 2017 13:44:15 +0000
Received: from [10.63.23.55] (dhcp-ensft1-uk-vla370-10-63-23-55.cisco.com [10.63.23.55]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id v5RDiEq7026564; Tue, 27 Jun 2017 13:44:14 GMT
To: Xufeng Liu <Xufeng_Liu@jabil.com>, Alexander Clemm <alexander.clemm@huawei.com>, "i2rs@ietf.org" <i2rs@ietf.org>
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> <BN3PR0201MB08670E4B670CB04B37FB8989F1DC0@BN3PR0201MB0867.namprd02.prod.outlook.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <f716f1f8-d066-f050-2838-688de76ebfa8@cisco.com>
Date: Tue, 27 Jun 2017 14:44:14 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <BN3PR0201MB08670E4B670CB04B37FB8989F1DC0@BN3PR0201MB0867.namprd02.prod.outlook.com>
Content-Type: multipart/alternative; boundary="------------D657DC3E64BE60C1EDDFC71A"
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/JGMgHvZjw1NCsODP6qvPs7UMGKw>
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:44:21 -0000

Xufeng,

Thanks for the confirmation.  That hadn't been clear from the previous 
emails.

When you generate the "-state" modules, I would suggest that you also 
reuse and import any typedefs that you have in the original NMDA 
compliant module, rather than redefine them.  That should make it easier 
for implementers, both now and in the future.

Thanks,
Rob


On 27/06/2017 14:23, Xufeng Liu wrote:
>
> 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
>
>     >
>
>       
>