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

Jeff Tantsura <jefftant.ietf@gmail.com> Wed, 20 March 2019 18:06 UTC

Return-Path: <jefftant.ietf@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 771A51310AB for <idr@ietfa.amsl.com>; Wed, 20 Mar 2019 11:06:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level:
X-Spam-Status: No, score=-0.999 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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no 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 8acKBaJZLYTQ for <idr@ietfa.amsl.com>; Wed, 20 Mar 2019 11:06:36 -0700 (PDT)
Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) (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 CC68C131084 for <idr@ietf.org>; Wed, 20 Mar 2019 11:06:36 -0700 (PDT)
Received: by mail-pg1-x52f.google.com with SMTP id y3so2340713pgk.12 for <idr@ietf.org>; Wed, 20 Mar 2019 11:06:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version; bh=KQ2U9mKeyQJIizCShtvOQWj7IPhrjQjttWE3GZWIP48=; b=RGlaxdBtc9TX0vKQCniLVW/eCgarFumrOnbBGsR1ZTVcgaHXHKq827tQtU1WNbJJR2 g2hH/ZdZ+OzAAj5RMpuExefdmgxqAxTJ4TXRxexggZJ0cMOxMGhzD0+suZMGwoB3G3zQ uFB22vd+cNRjZYXsZ75HmAUraji+ULFx2v9R8WD/utDNqtylE22osM8G2KIX+seYh5yb 8+S6U/57BAwrXF4Kgyu+N9KyYYfgv3O87P3Ot4j//LOy04qSKDCDucDWYBZe8yhko320 NMUkPKW3D1QCs+94dser/Dmem528NNfLidVZLLxMDsoW6gRUeniKCT7t67KGrAnd5Dx+ TYmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version; bh=KQ2U9mKeyQJIizCShtvOQWj7IPhrjQjttWE3GZWIP48=; b=gC/1Eu9nlNMfHpl0a6K7sz8rv7XmcdXggNsFPkJmOGkmODpdDLdwqhMAAm8B8VpcZA thrJUinVIOWU2WltRA4N9vSn+hAte9EqyM9Liw9Lwh5QcFqdb9p3KsYiqDzQTJgaTB6q QPmxDWIzeOVjqpCAAaZFPfgEVFK4Tc2jOfRY+tSTD7mLtMjUJavIW72SIMP5OUSTdiDC 8VDy9OXCFhGcjr0G1ePWf9WfeadsyNlYOinfuFUSd8jEcgWuffe1UxYSPG9IJouAyJS9 M3+fGP3bYuPWuF+6JJanxqv2oydAIzoliF9bayCAr2jGBWobMJEwq665pKOKQH+iXSom r7jA==
X-Gm-Message-State: APjAAAU7BpOSYVtZBAyaGRuxXuwJb2hYGU3hvhnxmdEn1o9EKWXLIbah dWiGtJtwjWhTI/AMz+Wrz5s=
X-Google-Smtp-Source: APXvYqzSuor7RLL1zltzqd2Tz3WFiSrWDao0ddw+DrKNRQ8MhtrBSXuIvSuRfOaV1MvM3O0HFznTmg==
X-Received: by 2002:aa7:811a:: with SMTP id b26mr8808935pfi.250.1553105196170; Wed, 20 Mar 2019 11:06:36 -0700 (PDT)
Received: from [10.5.5.194] ([50.235.77.202]) by smtp.gmail.com with ESMTPSA id h64sm4496825pfj.40.2019.03.20.11.06.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Mar 2019 11:06:35 -0700 (PDT)
Date: Wed, 20 Mar 2019 11:06:25 -0700
From: Jeff Tantsura <jefftant.ietf@gmail.com>
To: Xufeng Liu <xufeng.liu.ietf@gmail.com>, Mahesh Jethanandani <mjethanandani@gmail.com>, "Acee Lindem (acee)" <acee@cisco.com>
Cc: "idr@ietf.org" <idr@ietf.org>
Message-ID: <c4efbba9-2c75-4bb2-a404-25959f692c35@Spark>
In-Reply-To: <3D940C67-19BB-4A21-BC73-C83F6F554650@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-Readdle-Message-ID: c4efbba9-2c75-4bb2-a404-25959f692c35@Spark
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="5c928128_34fd6b4f_137d4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/2nImr0JjfM5lKxkA_D9juYbN_vo>
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: Wed, 20 Mar 2019 18:06:40 -0000

+1

Cheers,
Jeff
On Mar 20, 2019, 7:57 AM -0700, 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> 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> wrote:
> > Hi Xufeng,
> >
> >
> > > On Mar 19, 2019, at 6:31 AM, Xufeng Liu <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> 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 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.
> > > > >
> > > > > Internet-Drafts are also available by anonymous FTP at:
> > > > > ftp://ftp.ietf.org/internet-drafts/
> > > > >
> > > > > _______________________________________________
> > > > > Idr mailing list
> > > > > Idr@ietf.org
> > > > > https://www.ietf.org/mailman/listinfo/idr
> > > >
> > > > Mahesh Jethanandani
> > > > mjethanandani@gmail.com
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Idr mailing list
> > > > Idr@ietf.org
> > > > https://www.ietf.org/mailman/listinfo/idr
> >
> > Mahesh Jethanandani
> > mjethanandani@gmail.com
> >
> >
> >
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr