Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04.txt

Susan Hares <shares@ndzh.com> Tue, 26 March 2019 01:49 UTC

Return-Path: <shares@ndzh.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF93C1201C0 for <idr@ietfa.amsl.com>; Mon, 25 Mar 2019 18:49:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, 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 Q6Y4GMIGO2E2 for <idr@ietfa.amsl.com>; Mon, 25 Mar 2019 18:49:39 -0700 (PDT)
Received: from hickoryhill-consulting.com (50-245-122-100-static.hfc.comcastbusiness.net [50.245.122.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9D8AE1201A4 for <idr@ietf.org>; Mon, 25 Mar 2019 18:49:39 -0700 (PDT)
X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=31.133.151.112;
From: Susan Hares <shares@ndzh.com>
To: tom petch <ietfc@btconnect.com>, rajiva@cisco.com, acee@cisco.com, xufeng.liu.ietf@gmail.com, Mahesh Jethanandani <mjethanandani@gmail.com>
CC: idr@ietf.org
Date: Mon, 25 Mar 2019 21:49:37 -0400
Message-ID: <5c998531.6fc.107c.17c5@ndzh.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_SW_25966_1553564977_mpa="
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: 31.133.151.112
X-Mailer: SurgeWeb - Ajax Webmail Client
X-Authenticated-User: skh@ndzh.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/NYe9i_bjdHjIcE7c76B6kwdBFKQ>
Subject: Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Mar 2019 01:49:43 -0000

 Tom:

Thank you for pointing out the problems with a common address family.  
 During the lifetime of this draft, it has been one challenges.

In your opinion, do any of the options help with NMDA?

Sue


On Wednesday 20/03/2019 at 12:18 pm, tom petch  wrote:
>
> ----- Original Message -----
> From: "Rajiv Asati (rajiva)" <rajiva@cisco.com>
> To: "Acee Lindem (acee)" <acee@cisco.com>; "Xufeng Liu"
> <xufeng.liu.ietf@gmail.com>; "Mahesh Jethanandani"
> <mjethanandani@gmail.com>
> Cc: <idr@ietf.org>
> Sent: Wednesday, March 20, 2019 3:04 PM
> Subject: Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04.txt
>
>
>>
>> Indeed.
>>
>> It would be useful to have routing protocol independent structure for
> address-family and minimize the duplication in abstraction (and
> implementations).
>
> If you can agree what an address family is.
>
> I know it as part of BGP and then came across it in other YANG modules
> and ended up concluding that there was no common ground as to what an
> address family is. I think that RFC8349 got it wrong in its use of
> address family.
>
> So, define an address family and I will show you why it does not apply
> in all cases!
>
> Tom Petch
>
>>
>> --
>> Cheers,
>> Rajiv
>>
>> From: Idr <idr-bounces@ietf.org> on behalf of "Acee Lindem (acee)"
> <acee@cisco.com>
>>
>> Date: Wednesday, March 20, 2019 at 10:57 AM
>> To: Xufeng Liu <xufeng.liu.ietf@gmail.com>, Mahesh Jethanandani
> <mjethanandani@gmail.com>
>>
>> Cc: "idr@ietf.org" <idr@ietf.org>
>> Subject: Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04.txt
>>
>> I agree – the BGP hierarchy is wrong. Address-family is generally
> higher both abstractly and in implementations.
>>
>> Thanks,
>> Acee
>>
>> From: Idr <idr-bounces@ietf.org> on behalf of Xufeng Liu
> <xufeng.liu.ietf@gmail.com>
>>
>> Date: Wednesday, March 20, 2019 at 10:30 AM
>> To: Mahesh Jethanandani <mjethanandani@gmail.com>
>> Cc: IDR List <idr@ietf.org>
>> Subject: Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04.txt
>>
>> Hi Mahesh,
>>
>> On Tue, Mar 19, 2019 at 6:48 PM Mahesh Jethanandani
> <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>> wrote:
>>
>> Hi Xufeng,
>>
>>
>>
>> On Mar 19, 2019, at 6:31 AM, Xufeng Liu
> <xufeng.liu.ietf@gmail.com<mailto:xufeng.liu.ietf@gmail.com>> wrote:
>>
>>
>> Hi Mahesh,
>>
>> Thanks for the update.
>>
>> I'd like to comment on the new changes at a high level:
>>
>>
>> 1) rib extension
>>
>> This paradigm is inconsistent with other protocol models like ospf and
> isis, where the protocol specific routes are kept under the protocol
> instance tree, not under the /rt:routing/rt:ribs. Based on RFC8349, 
> the
> /rt:routing/rt:ribs tree is used to model the routes per routing
> instance, which is better mapped to the Route Manager (whose name 
> varies
> depending on the implementations).
>>
>>
>>
>> While that might be true, routes in the BGP model currently are
> maintained at the per-address family level.
>>
>>
>> It is fine that routes are maintained at per-address family level,
> which is also done by other routing protocols. The question is how the
> tree hierarchy is structured.
>>
>> OSPF model has the following:
>>
>> module: ietf-routing
>>      +--rw routing
>>      |  +--rw control-plane-protocols
>>      |  |  +--rw control-plane-protocol* [type name]
>>      |  |     +--rw ospf:ospf
>>      |  |        +--ro ospf:protected-routes {fast-reroute}?
>>      |  |        |  +--ro ospf:af-stats* [af prefix alternate]
>>      |  |        |     +--ro ospf:af   iana-rt-types:address-family
>>      |  |        +--ro ospf:unprotected-routes {fast-reroute}?
>>      |  |        |  +--ro ospf:af-stats* [af prefix]
>>      |  |        |     +--ro ospf:af        
>> iana-rt-types:address-family
>>      |  |        +--ro ospf:local-rib
>>      |  |        |  +--ro ospf:route* [prefix]
>>      |  |        |     +--ro ospf:prefix        inet:ip-prefix
>>      |  |        |     +--ro ospf:next-hops
>>      |  |        +--ro ospf:statistics
>>      |  |        +--ro ospf:database
>>      |  |        |  +--ro ospf:as-scope-lsa-type* [lsa-type]
>>
>> ISIS model has the following:
>>
>> module: ietf-routing
>>      +--rw routing
>>      |  +--rw control-plane-protocols
>>      |  |  +--rw control-plane-protocol* [type name]
>>      |  |     +--rw isis:isis
>>      |  |        +--rw isis:interfaces
>>      |  |        |  +--rw isis:interface* [name]
>>      |  |        |     +--rw isis:name   if:interface-ref
>>      |  |        +--ro isis:database
>>      |  |        |  +--ro isis:level-db* [level]
>>      |  |        |     +--ro isis:level    level-number
>>      |  |        |     +--ro isis:lsp* [lsp-id]
>>      |  |        |        +--ro isis:decoded-completed?   boolean
>>      |  |        |        +--ro isis:raw-data?     yang:hex-string
>>      |  |        |        +--ro isis:lsp-id        lsp-id
>>      |  |        +--ro isis:local-rib
>>      |  |        |  +--ro isis:route* [prefix]
>>      |  |        |     +--ro isis:prefix       inet:ip-prefix
>>      |  |        |     +--ro isis:next-hops
>>
>>
>> This BGP model uses operational state sub-tree mostly from the
> OpenConfig model, but OpenConfig does not augment ietf-routing and 
> uses
> separate global tree. If we keep the OpenConfig sub-tree, it would be
> better to structure the BGP rip as following:
>>
>>
>> module: ietf-routing
>>      +--rw routing
>>      |  +--rw control-plane-protocols
>>      |  |  +--rw control-plane-protocol* [type name]
>>                        +--rw bgp:bgp
>>                              +--rw global!
>>                              +--rw neighbors
>>                              |  +--rw neighbor* [neighbor-address]
>>                              +--rw peer-groups
>>                                    +--rw peer-group* [peer-group-name]
>>                              +--ro bgp-rib
>>                                    +--ro attr-sets
>>                                    |  +--ro attr-set* [index]
>>                                    |     +--ro index                   
>> uint64
>>                                    +--ro afi-safis
>>                                          +--ro afi-safi* 
>> [afi-safi-name]
>>                                                +--ro afi-safi-name     
>>   identityref
>>                                                +--ro ipv4-unicast
>>                                                |  +--ro loc-rib
>>                                                |  |  +--ro routes
>>                                                |  |     +--ro route* 
>> [prefix origin path-id]
>>                                                +--ro ipv6-unicast
>>                                                |  +--ro loc-rib
>>                                                |  |  +--ro routes
>>                                                |  |     +--ro route* 
>> [prefix origin path-id]
>>                                                +--ro ipv4-srte-policy
>>                                                |  +--ro loc-rib
>>                                                |  |  +--ro routes
>>                                                |  +--ro neighbors
>>                                                |     +--ro neighbor* 
>> [neighbor-address]
>>                                                +--ro ipv6-srte-policy
>>                                                      +--ro loc-rib
>>                                                      |  +--ro routes
>>
>> Thanks,
>> - Xufeng
>>
>>
>> 2) module ietf-bgp is missing
>>
>> Is it intentional to remove the main module ietf-bgp? The description
> says that bgp model augments the ietf-routing, but there is no such an
> augment statement in the draft. I assume that the augment statement is
> in the main module ietf-bgp.
>>
>>
>>
>> That was indeed a cut-and-paste error. The next version of the draft
> will have the ietf-bgp module.
>>
>>
>> Thanks.
>>
>>
>>
>>
>> Thanks,
>> - Xufeng
>>
>> On Tue, Feb 26, 2019 at 1:20 PM Mahesh Jethanandani
> <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>> wrote:
>>
>> This update of the draft adds support for:
>>
>> - augmentation of the Routing Management Model.
>> - augmentation of the routing policy model
>> - support for RIB
>>
>> Comments welcome.
>>
>>>
>>> On Feb 26, 2019, at 10:16 AM,
> internet-drafts@ietf.org<mailto:internet-drafts@ietf.org> wrote:
>>
>>>
>>>
>>>
>>> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>>
>>>
>>> This draft is a work item of the Inter-Domain Routing WG of the
> IETF.
>>
>>>
>>>
>>>                Title           : BGP YANG Model for Service Provider
> Networks
>>
>>>
>>>                Authors         : Keyur Patel
>>>                                                    Mahesh Jethanandani
>>>                                                    Susan Hares
>>>              Filename        : draft-ietf-idr-bgp-model-04.txt
>>>              Pages           : 138
>>>              Date            : 2019-02-26
>>>
>>> Abstract:
>>>      This document defines a YANG data model for configuring and
> managing
>>
>>>
>>>      BGP, including protocol, policy, and operational aspects based on
>>>      data center, carrier and content provider operational
> requirements.
>>
>>>
>>>
>>>
>>> The IETF datatracker status page for this draft is:
>>> https://datatracker.ietf.org/doc/draft-ietf-idr-bgp-model/
>>>
>>> There are also htmlized versions available at:
>>> https://tools.ietf.org/html/draft-ietf-idr-bgp-model-04
>>> https://datatracker.ietf.org/doc/html/draft-ietf-idr-bgp-model-04
>>>
>>> A diff from the previous version is available at:
>>> https://www.ietf.org/rfcdiff?url2=draft-ietf-idr-bgp-model-04
>>>
>>>
>>> Please note that it may take a couple of minutes from the time of
> submission
>>
>>>
>>> until the htmlized version and diff are available at
> tools.ietf.org<http://tools.ietf.org/>.
>>
>>>
>>>
>>> Internet-Drafts are also available by anonymous FTP at:
>>> ftp://ftp.ietf.org/internet-drafts/
>>>
>>> _______________________________________________
>>> Idr mailing list
>>> Idr@ietf.org<mailto:Idr@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/idr
>>
>> Mahesh Jethanandani
>> mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>
>>
>>
>>
>> _______________________________________________
>> Idr mailing list
>> Idr@ietf.org<mailto:Idr@ietf.org>
>> https://www.ietf.org/mailman/listinfo/idr
>>
>> Mahesh Jethanandani
>> mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>
>>
>>
>>
>>
>
>
> ------------------------------------------------------------------------
> --------
>
>
>>
>> _______________________________________________
>> Idr mailing list
>> Idr@ietf.org
>> https://www.ietf.org/mailman/listinfo/idr
>>
>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr