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

"Acee Lindem (acee)" <acee@cisco.com> Tue, 26 March 2019 08:44 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 4A2421202C0 for <idr@ietfa.amsl.com>; Tue, 26 Mar 2019 01:44:06 -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_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, URIBL_BLOCKED=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=Wtho2aua; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=MmONH+8d
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 hOpS8XHDLSdw for <idr@ietfa.amsl.com>; Tue, 26 Mar 2019 01:44:02 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24D6012028F for <idr@ietf.org>; Tue, 26 Mar 2019 01:44:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=48497; q=dns/txt; s=iport; t=1553589842; x=1554799442; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=+qqOMEATHsjSm9yRX0GrmkbvtkElYe61G0Tnq10AeVE=; b=Wtho2aua/blFBofHJbcFrKQf/mhK6QwhwOfleCE9hwTfnSJUWBn7AJBJ 0ahEk1sHJ/dnt6+0tHfhciS2LWsaNPpjnEWqv1baZtL9Jx+Wt+pOU0Cve yRS/j3hY9yD8GLijzg9Zz5mmPqwsRtH0Ls+tXhzGMuODfFmLpyAkuI3bS g=;
IronPort-PHdr: 9a23:HD+ZIhXiJtDPJ15P91BPwoMg6ijV8LGuZFwc94YnhrRSc6+q45XlOgnF6O5wiEPSANiJ8OpK3uzRta2oGXcN55qMqjgjSNRNTFdEwd4TgxRmBceEDUPhK/u/Zic3EexJVURu+DewNk0GUMs=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ADAAAH5Zlc/4kNJK1kGQEBAQEBAQEBAQEBAQcBAQEBAQGBUQQBAQEBAQsBgQ4vJCwDaHQECyeEDoNHA4RSilqCV36IOo1VgS6BJANQBA0BARgBCgmEQAIXhQgiNAkNAQEDAQEJAQMCbRwMhUoBAQEEAQEhHQEBJQcLAQsEAgEIDgMDAQEBIQEGAwICAh8GCxQJCAIEAQ0FgyIBgRFMAxUBDqIhAooUcYEvgngBAQWBBQEvAg5BgwQNC4IMCIEvAYsxF4F/gREnH4IXNT6CGkcBAQIBARaBZw0JCIJMMYImij+CNIQhHocpjAs2CQKHYYgZgz8ZggJchSGMA4sdgReEb4E6iESDLAIEAgQFAg4BAQWBOxI4QoEUcBUaISoBgkEJggGDboUUhQgBNnIBgSePIAEB
X-IronPort-AV: E=Sophos;i="5.60,271,1549929600"; d="scan'208,217";a="249364348"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 26 Mar 2019 08:44:00 +0000
Received: from XCH-ALN-016.cisco.com (xch-aln-016.cisco.com [173.36.7.26]) by alln-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id x2Q8i0Y8005928 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 26 Mar 2019 08:44:00 GMT
Received: from xhs-aln-003.cisco.com (173.37.135.120) by XCH-ALN-016.cisco.com (173.36.7.26) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 26 Mar 2019 03:43:59 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 26 Mar 2019 03:43:59 -0500
Received: from NAM04-CO1-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; Tue, 26 Mar 2019 03:43:59 -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=+qqOMEATHsjSm9yRX0GrmkbvtkElYe61G0Tnq10AeVE=; b=MmONH+8d8mGPYktVLAVa3PJ9lUFL6jKgW91D4FRO47efOEzGnRNFSqYlzcdKxV+2Ay1SG4nw/1vdC6pD5NvbiBdkMI/mc39FklZfJLYdywvvB2/2hnVCP3zjmvDVcMda3lDMINZcZkCuWZZs99hH9SGwylm0ldH8eqnkr/7Inso=
Received: from BN6PR1101MB2226.namprd11.prod.outlook.com (10.174.112.11) by BN6PR1101MB2308.namprd11.prod.outlook.com (10.174.114.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.19; Tue, 26 Mar 2019 08:43:56 +0000
Received: from BN6PR1101MB2226.namprd11.prod.outlook.com ([fe80::7c15:be1e:a2bd:7e28]) by BN6PR1101MB2226.namprd11.prod.outlook.com ([fe80::7c15:be1e:a2bd:7e28%5]) with mapi id 15.20.1730.019; Tue, 26 Mar 2019 08:43:56 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Susan Hares <shares@ndzh.com>, tom petch <ietfc@btconnect.com>, "Rajiv Asati (rajiva)" <rajiva@cisco.com>, "xufeng.liu.ietf@gmail.com" <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: AQHU43Y/BRcTy8akjEmHmKCLq6s1bKYdVhsA
Date: Tue, 26 Mar 2019 08:43:56 +0000
Message-ID: <0F5575C0-B999-4A7D-BD54-932C849FFB50@cisco.com>
References: <5c998531.6fc.107c.17c5@ndzh.com>
In-Reply-To: <5c998531.6fc.107c.17c5@ndzh.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [2001:420:c0c8:1008::95]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 76c66d11-53c5-45f4-0caf-08d6b1c72f49
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:BN6PR1101MB2308;
x-ms-traffictypediagnostic: BN6PR1101MB2308:
x-ms-exchange-purlcount: 6
authentication-results: spf=none (sender IP is ) smtp.mailfrom=acee@cisco.com;
x-microsoft-antispam-prvs: <BN6PR1101MB2308F8B223B02D4E578625D9C25F0@BN6PR1101MB2308.namprd11.prod.outlook.com>
x-forefront-prvs: 09888BC01D
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(376002)(366004)(136003)(396003)(199004)(189003)(51444003)(51914003)(13464003)(71190400001)(46003)(105586002)(33656002)(606006)(8676002)(11346002)(53936002)(476003)(2616005)(106356001)(83716004)(5660300002)(6486002)(71200400001)(7736002)(186003)(97736004)(446003)(229853002)(36756003)(82746002)(2501003)(14444005)(256004)(4326008)(6436002)(76176011)(8936002)(68736007)(14454004)(6512007)(102836004)(966005)(6246003)(99286004)(236005)(486006)(6506007)(53546011)(54896002)(81156014)(81166006)(316002)(6306002)(25786009)(86362001)(478600001)(110136005)(6116002)(66574012)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1101MB2308; H:BN6PR1101MB2226.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: /ICUcwpgNlGMz28BjUQLozKAMbB+1GmWcsgOkoBomvC9DbtwsFPQkkvfq8HqLn9fYmdbJKHTpzQi2VZX02NE17eysowEl7ynIJW3X0Ln0LDSq47TIhvo34ZoC0SRQqBKnUupPMUaErZjWYrC2mddgwqAwPU0AFuPBGJs6SNlGK+vNsH+UyDL8tMtKKUrLe4uwpLdDXByVeeQYh6LX4giXhd+DvDRcVuXsIqWk6L/1qt6fu1pB9TOiCVRiDl/UPDmp+ek/2zviXPexoVe8ghFZtW9HwPQwJkqwfsIkHbmFJniBUlSbgTUTXzB7hua8GG2ZMU422Ki0dZ2dTufrx/BY03LNCZN3564PSUTnsQ1bVm2pP5EGU6Lf9PVTscIBCuEF+S+OhYXxx49l56n4OPyqepj47+oRXQTLIB1ITPYsDk=
Content-Type: multipart/alternative; boundary="_000_0F5575C0B9994A7DBD54932C849FFB50ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 76c66d11-53c5-45f4-0caf-08d6b1c72f49
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2019 08:43:56.7987 (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: BN6PR1101MB2308
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.26, xch-aln-016.cisco.com
X-Outbound-Node: alln-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/bEUvxpoxZplwAHYa0JP5LL7uxDs>
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 08:44:14 -0000

Since each protocol has its own AF specific constructs and local RIB with varying applicable route attributes, I don’t think more consolidation is desirable.
Thanks,
Acee

From: Susan Hares <shares@ndzh.com>
Date: Monday, March 25, 2019 at 9:50 PM
To: Tom Petch <ietfc@btconnect.com>, "Rajiv Asati (rajiva)" <rajiva@cisco.com>, Acee Lindem <acee@cisco.com>, Xufeng Liu <xufeng.liu.ietf@gmail.com>, Mahesh Jethanandani <mjethanandani@gmail.com>
Cc: IDR List <idr@ietf.org>
Subject: Re: [Idr] I-D Action: draft-ietf-idr-bgp-model-04.txt

 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