Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04.txt
Mahesh Jethanandani <mjethanandani@gmail.com> Fri, 22 March 2019 22:26 UTC
Return-Path: <mjethanandani@gmail.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 029BD12D4E8 for <idr@ietfa.amsl.com>; Fri, 22 Mar 2019 15:26:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 mGe0WqIsI5kY for <idr@ietfa.amsl.com>; Fri, 22 Mar 2019 15:26:24 -0700 (PDT)
Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (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 04565124408 for <idr@ietf.org>; Fri, 22 Mar 2019 15:26:24 -0700 (PDT)
Received: by mail-pf1-x433.google.com with SMTP id 9so2420037pfj.13 for <idr@ietf.org>; Fri, 22 Mar 2019 15:26:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=aVglq0UfGdQ0RJZtxJ76Njqhd52OOVJetgvlkAFmLXw=; b=nBclWVoT0sgMuoG2SfHcEPGYqxJ/JnhIR2rLF7TsM+60TYUp2jZrEN2fhv7CH8GuOW MGY68XDdxeuY+08WAOd8QTX9fUFyg/5VHyg8oElJOPdQpWPVyxWKi1cDtMfSupY+TISK TwC+kW5qqt5SDVcYcUPH7G+kH258bs/s0y5xr52Tbup76+7ZRDTmtrwPxyh44YyW3H1F ao+T2iCgso+Yanw/eYHra89k56wbCKDD+jo3x67EL2EMkG8v6INkuht8H6tW3EDeESF5 cQXtlbn9aIQ3frn4v+rr7KQ28xW1WG26/Kw4ggfL2iVk9NEnZpOaMED2asvnMvBm8IYL Q2MA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=aVglq0UfGdQ0RJZtxJ76Njqhd52OOVJetgvlkAFmLXw=; b=MUt7FclUBqQ1IfdURkEkga/tQ1EZNLbOp/gp7pOwSv0m2Fc/BGGJ7701c5ACCSrLtp aZEqjOWyI4tm5DGV7Uqi2KSQVpcCU0dlVkwz/yio9mHC8pqxZVscue2cD/68NXcBzGxR OkIekfmQn1Gkan2xq4/2Cz6klwYKyzAOlIuEw/dumxsyjdaqXie9iQkRBwTAOBCK4/+F cEgHkDJvLcVRFwq3xMb5BLXAYSU5JrevG7FeLssKFsVlwdODRlOlCKsKKX63gpv7/xk9 u9F5KAd5IiXVO8yXTFKwqbe8ym2w2sLPwtr0VLr/G8d+MGSS2n05134hrvkggQmZeoRC Oyjg==
X-Gm-Message-State: APjAAAW5Wr7ytTEBK46MmJI8de6luIfwtltQBhEyylFIqY3uDD4ALYtz TRCERmu4anmik7c7DwJd5y4=
X-Google-Smtp-Source: APXvYqxzfun3ef2z8U0e5le798P6xhgW6BUJYJc4VJ6U5Y69UTz2r5TD6bkapXeWx2pr6xxCtDDrGQ==
X-Received: by 2002:a63:4e5b:: with SMTP id o27mr11341170pgl.204.1553293583562; Fri, 22 Mar 2019 15:26:23 -0700 (PDT)
Received: from ?IPv6:2601:647:4700:1280:cd73:1288:edf2:de9f? ([2601:647:4700:1280:cd73:1288:edf2:de9f]) by smtp.gmail.com with ESMTPSA id o2sm14961522pgq.29.2019.03.22.15.26.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Mar 2019 15:26:22 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <E614BCCF-6844-4ED3-906F-5B601A034345@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_B31A3849-28C4-4170-ADD9-1421D3756385"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Fri, 22 Mar 2019 15:26:20 -0700
In-Reply-To: <3D940C67-19BB-4A21-BC73-C83F6F554650@cisco.com>
Cc: Xufeng Liu <xufeng.liu.ietf@gmail.com>, "idr@ietf.org" <idr@ietf.org>
To: "Acee Lindem (acee)" <acee@cisco.com>
References: <155120498877.852.8582818799698080818@ietfa.amsl.com> <68805692-5B0B-4406-92DD-50529E4F8F8D@gmail.com> <CAEz6PPRvvTXOu7akEQGSCE1J+7TzLgkAOeszLhG3YroxuZ9JWw@mail.gmail.com> <F1E6C050-2592-444C-BBFF-2BD1149D3E48@gmail.com> <CAEz6PPQ1un2i4U3-AYPRS+EEaiRk+N0d-3L5A9U7Kvmg2ti=DQ@mail.gmail.com> <3D940C67-19BB-4A21-BC73-C83F6F554650@cisco.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/nHSwzYU_vq3nBvVaGoXWdinKc1c>
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: Fri, 22 Mar 2019 22:26:28 -0000
Hi Acee, How do you propose to change the hierarchy? Keep in mind that it is not just implementation, but other factors that should guide the layout. For example, how are routes accessed, or how are routes going to be cleared. I will need specifics on what the hierarchy should look like, and what are the keys going to be in each of the lists. For example, in the current outlay (see attached file), the address-family is how the tree is divided. Then within each address-family, the routes are keyed on prefix, origin, and path-id. Thanks > On Mar 20, 2019, at 7:56 AM, Acee Lindem (acee) <acee@cisco.com> wrote: > > 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 <mailto:idr-bounces@ietf.org>> on behalf of Xufeng Liu <xufeng.liu.ietf@gmail.com <mailto:xufeng.liu.ietf@gmail.com>> > Date: Wednesday, March 20, 2019 at 10:30 AM > To: Mahesh Jethanandani <mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>> > Cc: IDR List <idr@ietf.org <mailto: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/ <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://tools.ietf.org/html/draft-ietf-idr-bgp-model-04> > > https://datatracker.ietf.org/doc/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 <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/ <ftp://ftp.ietf.org/internet-drafts/> > > > > _______________________________________________ > > Idr mailing list > > Idr@ietf.org <mailto:Idr@ietf.org> > > https://www.ietf.org/mailman/listinfo/idr <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 <https://www.ietf.org/mailman/listinfo/idr> > > Mahesh Jethanandani > mjethanandani@gmail.com <mailto:mjethanandani@gmail.com> Mahesh Jethanandani mjethanandani@gmail.com
- [Idr] I-D Action: draft-ietf-idr-bgp-model-04.txt internet-drafts
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Mahesh Jethanandani
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Dale W. Carder
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Xufeng Liu
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Mahesh Jethanandani
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Mahesh Jethanandani
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Xufeng Liu
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Acee Lindem (acee)
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Rajiv Asati (rajiva)
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… tom petch
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Jeff Tantsura
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Qin Wu
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Mahesh Jethanandani
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Mahesh Jethanandani
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Susan Hares
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Susan Hares
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Susan Hares
- Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04… Acee Lindem (acee)