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

"Acee Lindem (acee)" <acee@cisco.com> Wed, 20 March 2019 14:56 UTC

Return-Path: <acee@cisco.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 0E2611279AA for <idr@ietfa.amsl.com>; Wed, 20 Mar 2019 07:56:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-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 header.b=mmaukl10; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=WM58QC5j
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 0FB37WYHC2uG for <idr@ietfa.amsl.com>; Wed, 20 Mar 2019 07:56:47 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0CECF1294B6 for <idr@ietf.org>; Wed, 20 Mar 2019 07:56:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=40155; q=dns/txt; s=iport; t=1553093807; x=1554303407; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=iqKRY2QMv9PJC5jcdZPtEwEcLNMGlg8Gh6nnEhoYCBs=; b=mmaukl107CbJ+FX7PSGJgWInTRSSIV/77Nadh1iOF+65v+9/+5xyBOKi Ym4nDFhFJU7G5BW2x1vjsOI132+9r8MCSi4QaoZYDJEscb7FSjvHyXSGW a8aetmttKvx1kEYoW87/YU5GWODA/7TyaMxWXyW8MTloNUpDf0X8PQ4tB M=;
IronPort-PHdr: 9a23:mD3ANBBITHSNmidvlcWJUyQJPHJ1sqjoPgMT9pssgq5PdaLm5Zn5IUjD/qgw3kTRU9Dd7PRJw6rNvqbsVHZIwK7JsWtKMdRXUgMdz8AfngguGsmAXETwIfPCZC0hF8MEX1hgrDm2
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ADAABuU5Jc/5xdJa1jGQEBAQEBAQEBAQEBAQcBAQEBAQGBUQQBAQEBAQsBgQ4vUANodAQLJwqEA4NHA4RSilWCV4kzjVSBLoEkA1AECwEBGAEKCYRAAheEUCI0CQ0BAQMBAQkBAwJtHAyFSgEBAQMBAQEhHQEBJQcLAQQLAgEIEQMBAgEgAQYDAgICHwYLFAkIAgQBDQWDIgGBEUwDDQgBAgyfUwKKFHGBL4J4AQEFgTUCDkFBgkUNC4IMCIEvAYsxF4F/gTgfgkyCV0cBAQIBARaBZw0JCIJMMYImjGmEGh6HIowGNgkCh16IEYM/GYF9W4UYi3WLEoEXhGaBNogygykCBAIEBQIOAQEFgToSOEKBFHAVGiEqAYJBCYIBg26FFIU/cgGBJ4pFAYEeAQE
X-IronPort-AV: E=Sophos;i="5.60,249,1549929600"; d="scan'208,217";a="247522930"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 20 Mar 2019 14:56:45 +0000
Received: from XCH-RCD-006.cisco.com (xch-rcd-006.cisco.com [173.37.102.16]) by rcdn-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id x2KEujoP002745 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 20 Mar 2019 14:56:45 GMT
Received: from xhs-aln-001.cisco.com (173.37.135.118) by XCH-RCD-006.cisco.com (173.37.102.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 20 Mar 2019 09:56:44 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 20 Mar 2019 09:56:43 -0500
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 20 Mar 2019 09:56:43 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector1-cisco-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iqKRY2QMv9PJC5jcdZPtEwEcLNMGlg8Gh6nnEhoYCBs=; b=WM58QC5j4hA0BScxleuMQdaoeKLgPNv8/xBkSsw3HKxTbusvQHNKDKviJ55ZqGR2otdZKf2k+5QlRPA8Zex/JNEXKHOiHhYfkARv5B3iSws3P8QwFJXHveRzZ3/YFVCfIPphd90rdM4j9RyaLsCwUhaMs037Df86Ae8GRQwK2yM=
Received: from BN8PR11MB3683.namprd11.prod.outlook.com (20.178.220.74) by BN8PR11MB3762.namprd11.prod.outlook.com (20.178.221.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Wed, 20 Mar 2019 14:56:42 +0000
Received: from BN8PR11MB3683.namprd11.prod.outlook.com ([fe80::c62:f0b7:72a0:e853]) by BN8PR11MB3683.namprd11.prod.outlook.com ([fe80::c62:f0b7:72a0:e853%4]) with mapi id 15.20.1730.013; Wed, 20 Mar 2019 14:56:42 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Xufeng Liu <xufeng.liu.ietf@gmail.com>, Mahesh Jethanandani <mjethanandani@gmail.com>
CC: "idr@ietf.org" <idr@ietf.org>
Thread-Topic: [Idr] I-D Action: draft-ietf-idr-bgp-model-04.txt
Thread-Index: AQHUzf+gPw/fQbRjhEytt76o/lbh2qYTFOCEgACaxQCAAQbxAP//xJ2A
Date: Wed, 20 Mar 2019 14:56:42 +0000
Message-ID: <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>
In-Reply-To: <CAEz6PPQ1un2i4U3-AYPRS+EEaiRk+N0d-3L5A9U7Kvmg2ti=DQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=acee@cisco.com;
x-originating-ip: [173.38.117.80]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: c7aacd97-7986-46b0-ae49-08d6ad444390
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:BN8PR11MB3762;
x-ms-traffictypediagnostic: BN8PR11MB3762:
x-ms-exchange-purlcount: 6
x-microsoft-antispam-prvs: <BN8PR11MB37627E0ED54711C07EEA6855C2410@BN8PR11MB3762.namprd11.prod.outlook.com>
x-forefront-prvs: 098291215C
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(376002)(346002)(396003)(136003)(51914003)(189003)(199004)(106356001)(105586002)(486006)(6486002)(93886005)(6246003)(53936002)(186003)(6116002)(82746002)(446003)(26005)(68736007)(6306002)(71200400001)(25786009)(66066001)(6512007)(7736002)(6506007)(53546011)(5660300002)(4326008)(2906002)(83716004)(71190400001)(236005)(54896002)(66574012)(478600001)(81156014)(3846002)(966005)(81166006)(14444005)(76176011)(316002)(102836004)(33656002)(8936002)(606006)(110136005)(476003)(2616005)(256004)(36756003)(11346002)(8676002)(14454004)(229853002)(6436002)(86362001)(97736004)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:BN8PR11MB3762; H:BN8PR11MB3683.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: EheVc6HyNTKnM4eu4YDzLSqyRQNL3KQFokqNXQz9OoHrFUJ/eA3nnJdSrUD1QEQ74NVozOLmzk6WJhwgvOEacmoBtrCjGmUDijaduJxos6njBwIzQjMSyUpwJ4n6cIKNZcEGnDdbLHArlNuFMaedkX0sAnkKbyaYl7NAnB7woNSTgTFRbOr6AhelgLJAWJilDIYNuu2ceecALwxOsV3VJWsC9RKiVv5QBOuW/1meNqM73Y3wCDrQh3utiM2rqSvSzB5alfupEul+CdMHeqjOoRyFmQVAqpSof+MQ9egKJELpvqENQsCcvH2o9vMOQ1N6fwaTixfUzWwrpVzIXKeQI6dIVGkVv3KFFhSDpit/QM6BUXX5wHfdUbawZ3ij++8V9f2oy3XFPzIcHtUWHC4yoSBY1AgFpU8YfeSY07zRGik=
Content-Type: multipart/alternative; boundary="_000_3D940C6719BB4A21BC73C83F6F554650ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: c7aacd97-7986-46b0-ae49-08d6ad444390
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2019 14:56:42.1129 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3762
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.16, xch-rcd-006.cisco.com
X-Outbound-Node: rcdn-core-5.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/oBt775qc9zkaEZ4wAwSg_g-492Q>
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 14:56:51 -0000

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>