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

Robert Wilton <rwilton@cisco.com> Tue, 27 June 2017 09:50 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 C4988129B17 for <i2rs@ietfa.amsl.com>; Tue, 27 Jun 2017 02:50:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 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, 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 qtdbP5kXcfbD for <i2rs@ietfa.amsl.com>; Tue, 27 Jun 2017 02:50:10 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 74909129AA3 for <i2rs@ietf.org>; Tue, 27 Jun 2017 02:50:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=13811; q=dns/txt; s=iport; t=1498557009; x=1499766609; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=cCTUdHmSgMrjmScBncOqrNxL9CzwuPBi7fAj1BlgfV8=; b=CMRrR0Z/F7gBSTonx9pnz4dXKTgOt+omn97WI4cX64CwWfRgI0JWXsAS qP+uQqSZbmTWWsm3Ul9CfuZzfUux75xiXVmV4lIhHdZ/S4IljtFKtbEe7 UUYyX9G7QCUDCs5BXplVpk+bSFIiJA27M+O6Lve4dUClaLktcot3AW2eU 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AJAQDuKVJZ/xbLJq1cGQEBAQEBAQEBAQEBBwEBAQEBgm+CWINsihlzkG9zgU6Fa4glhSuCEYYkAoM3GAECAQEBAQEBAWsohRgBAQEBAgEjClELCxEDAQIBJwMCAkUBCQgGAQwGAgEBihQDDQivVYImKYszAQEBAQEBAQEBAQEBAQEBAQEBAQEBHYMng0yBYSuBbVg0gleCMxaCXYJhBYd1DIFThnGGXIcTO48JhGGLHoZ2i2htiE8fOIEKMCEIGxWFWhyBZz82iRwBAQE
X-IronPort-AV: E=Sophos;i="5.39,399,1493683200"; d="scan'208,217";a="652864281"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jun 2017 09:49:45 +0000
Received: from [10.63.23.55] (dhcp-ensft1-uk-vla370-10-63-23-55.cisco.com [10.63.23.55]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id v5R9njD6022601; Tue, 27 Jun 2017 09:49:45 GMT
To: Alexander Clemm <alexander.clemm@huawei.com>, 'Xufeng Liu' <Xufeng_Liu@jabil.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>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <b46b3778-f5d8-f3b8-82c9-a3ae72cc3b69@cisco.com>
Date: Tue, 27 Jun 2017 10:49:45 +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: <644DA50AFA8C314EA9BDDAC83BD38A2E0E0BC826@SJCEML702-CHM.china.huawei.com>
Content-Type: multipart/alternative; boundary="------------E1D556E52D7CCE2F6B578C4F"
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/_YZEA1jBCSvIFydZMbCkvulFSYA>
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 09:50:13 -0000

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
> >