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

"Rajiv Asati (rajiva)" <rajiva@cisco.com> Wed, 20 March 2019 15:04 UTC

Return-Path: <rajiva@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 996AD1294B6 for <idr@ietfa.amsl.com>; Wed, 20 Mar 2019 08:04:34 -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, 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=jK2gZ+F3; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=RqW/etUS
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 7ly00RY8RtbR for <idr@ietfa.amsl.com>; Wed, 20 Mar 2019 08:04:31 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F206B12786D for <idr@ietf.org>; Wed, 20 Mar 2019 08:04:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=43365; q=dns/txt; s=iport; t=1553094271; x=1554303871; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=CAn7BIE+8Nvys2VO5e7d1EtsNoIZPN52Xxrxasc0+aI=; b=jK2gZ+F3lsJ7aIeI1f6bzqj6p4+4GCEIbHbqY8WHcI9pP1IeJvMUETOx 31H580y9xyUNPFROFNf8WrG7O8/4MTuj5d3p4bI7FImV0P8mH3kkhrWzw Mc6xnhvb3/C1jalOCDAsuzjDGksCXkC4x7wi8cGAbv2m5AOmmdHrlaa5R o=;
IronPort-PHdr: 9a23:mZAcWBw7Uzze9vLXCy+N+z0EezQntrPoPwUc9psgjfdUf7+++4j5YR2N/u1j2VnOW4iTq+lJjebbqejBYSQB+t7A1RJKa5lQT1kAgMQSkRYnBZufAE/6MvfCZC0hF8MEX1hgrDm2
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ADAABUVZJc/4YNJK1jGQEBAQEBAQEBAQEBAQcBAQEBAQGBUQQBAQEBAQsBgQ4vUANodAQLJ4QNg0cDhFKKVYIyJYkzjVSBLoEkA1AECwEBGAEKCYRAAheEUCI0CQ0BAQMBAQkBAwJtHAyFSgEBAQMBAQEhHQEBJQcLAQQLAgEIEQMBAgEgAQYDAgICHwYLFAkIAgQBDQWDIgGBEUwDDQgBAgyfVgKKFHGBL4J4AQEFgTUCDkGDCA0LggwIgS8BizEXgUA/gTgME4JMgldHAQECAQEWgWcNCQiCTDGCJoxphBoehyKMBjYJAodeiBGDPxmBfVuFGIt1ixKBF4RmgTaIMoMpAgQCBAUCDgEBBYE6EjhCgRRwFRohKgGCQQmCAYNuhRSFP3IBgSeLZAEB
X-IronPort-AV: E=Sophos;i="5.60,249,1549929600"; d="scan'208,217";a="537738495"
Received: from alln-core-12.cisco.com ([173.36.13.134]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 20 Mar 2019 15:04:29 +0000
Received: from XCH-RCD-002.cisco.com (xch-rcd-002.cisco.com [173.37.102.12]) by alln-core-12.cisco.com (8.15.2/8.15.2) with ESMTPS id x2KF4TcF017664 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 20 Mar 2019 15:04:29 GMT
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by XCH-RCD-002.cisco.com (173.37.102.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 20 Mar 2019 10:04:28 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 20 Mar 2019 10:04:28 -0500
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 20 Mar 2019 10:04:28 -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=CAn7BIE+8Nvys2VO5e7d1EtsNoIZPN52Xxrxasc0+aI=; b=RqW/etUSoNjkmR8ifuSgRHCQlLb0zLz2yGybIb0B8Q6TO9WKvt9AC/Tviogzsm3s2c4c237QjNCMsttjZj0gkR+SUSo19QZ9gHq+pRRFKt79Y5Hf9V6nYG1rfYmVkBIM4x3H5YgP8m929fKCZO34dBaLZWeTb6sOsf7T6lsaaMQ=
Received: from DM6PR11MB3068.namprd11.prod.outlook.com (20.177.218.153) by DM6PR11MB2617.namprd11.prod.outlook.com (20.176.99.23) 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 15:04:26 +0000
Received: from DM6PR11MB3068.namprd11.prod.outlook.com ([fe80::5d16:a8db:b524:e147]) by DM6PR11MB3068.namprd11.prod.outlook.com ([fe80::5d16:a8db:b524:e147%4]) with mapi id 15.20.1709.015; Wed, 20 Mar 2019 15:04:26 +0000
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" <idr@ietf.org>
Thread-Topic: [Idr] I-D Action: draft-ietf-idr-bgp-model-04.txt
Thread-Index: AQHU3lhwvq0+3k96b0CZutRXudhpPqYTjvMAgAEG8QCAAAetAP//vxmA
Date: Wed, 20 Mar 2019 15:04:26 +0000
Message-ID: <38C42812-2534-452E-BDEB-5D4710BD7CDE@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>
In-Reply-To: <3D940C67-19BB-4A21-BC73-C83F6F554650@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.17.0.190309
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rajiva@cisco.com;
x-originating-ip: [2001:420:2240:1340:31c8:9b39:7f18:b88]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: fa0037fc-e023-4fb1-0436-08d6ad455864
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:DM6PR11MB2617;
x-ms-traffictypediagnostic: DM6PR11MB2617:
x-ms-exchange-purlcount: 6
x-microsoft-antispam-prvs: <DM6PR11MB261749B710BD2A2948C81382C7410@DM6PR11MB2617.namprd11.prod.outlook.com>
x-forefront-prvs: 098291215C
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(39860400002)(346002)(376002)(396003)(51914003)(199004)(189003)(6246003)(6512007)(81166006)(53546011)(186003)(4326008)(14454004)(2616005)(11346002)(606006)(6506007)(36756003)(476003)(102836004)(5660300002)(6116002)(76176011)(6436002)(966005)(7736002)(236005)(99286004)(54896002)(6486002)(53936002)(6306002)(66574012)(71190400001)(82746002)(229853002)(71200400001)(68736007)(256004)(86362001)(14444005)(97736004)(478600001)(105586002)(106356001)(33656002)(486006)(46003)(93886005)(316002)(8676002)(8936002)(83716004)(446003)(2906002)(110136005)(25786009)(81156014)(58126008); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB2617; H:DM6PR11MB3068.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: 0ZMEjcbx1bYGli1IzHdAClXQHoAlP96rQra2K2F/jAqJ6FIx70/P1LR++fDkQ1YnVkrDPIDn9GnsPwOVRF1Od8XpmbDptDd6hWvGwAkc5WqAKXQCFDB4EE8Ms2R3dYtQvIcKMPIQRpbePnV5j42J3k7HgH2zRRJr0gnQnuYrBJ8bZDbJliyOcL8ddtfO7ZgdfIztl2+XePGvPzDIKprHK7/pT1zmr9nUzowQ9VByW6Cn7zl5EmOkRRZFsiNjsosmtpRmQ8as2Pmoyw3/KPkDsCz8Mnjx4JPNnAFO/pciKVgBfi61lgcD/lTNLKaZmNg2UGg9fbSCrdJ7Jy5KN1NpVPffPLY6uGFWdBzWHBouOvqPtFpGBLMAs+U7zSv0d3xYg/+b70Ytl+RPso7AKIWb4GZMWMvZc1oayOk8SGIV+kY=
Content-Type: multipart/alternative; boundary="_000_38C428122534452EBDEB5D4710BD7CDEciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: fa0037fc-e023-4fb1-0436-08d6ad455864
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2019 15:04:26.4840 (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: DM6PR11MB2617
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.12, xch-rcd-002.cisco.com
X-Outbound-Node: alln-core-12.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/qMxyBjjnCW76aAeydVJ6r-Z7rQA>
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 15:04:35 -0000

Indeed.

It would be useful to have routing protocol independent structure for address-family and minimize the duplication in abstraction (and implementations).

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