Re: [Idr] WG LC for draft-ietf-idr-ls-distribution and draft-ietf-idr-ls-distribut-impl

"Saikat Ray (sairay)" <sairay@cisco.com> Tue, 02 September 2014 21:03 UTC

Return-Path: <sairay@cisco.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 442641A069B for <idr@ietfa.amsl.com>; Tue, 2 Sep 2014 14:03:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.568
X-Spam-Level:
X-Spam-Status: No, score=-14.568 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, J_CHICKENPOX_21=0.6, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.668, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 OdBtpx-ciF9v for <idr@ietfa.amsl.com>; Tue, 2 Sep 2014 14:03:31 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 724DB1A06EB for <idr@ietf.org>; Tue, 2 Sep 2014 14:03:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=52283; q=dns/txt; s=iport; t=1409691810; x=1410901410; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=0TPqNI3VlfI6q28ecSTFV50YAKXA7iM0dA48lR/dPXw=; b=fSGKqJhdtuBWXHQQEyAYXiHBaJkUTb6pbsugTboGoAmRAh6pspd9ceUB s2+bS+JWyLPOf8Y7P7jzXI8Tm2cuguxiVfPFMEZ+s1j6X9Z1rRb7ENIUy 9q08SuSznGfB7sPTxuc3JnXIHEIUkRO06cDcDDQrJFR5xvBD7AnqhxMAQ w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgQGACswBlStJV2R/2dsb2JhbABagkdGU1cEhBSuS5NcgV8BC4dKAYETFneEAwEBAQQBAQEXTQcLEAIBCBEDAQEBIQEGBycLFAkIAgQBDQWIQg28ewEXjmsLBgE+AQcGBAYBhEwFgViEPIkJghSELoZ9gVuKcIhTgW8WFoFGbAGBBggXIoEHAQEB
X-IronPort-AV: E=Sophos; i="5.04,451,1406592000"; d="scan'208,217"; a="74354237"
Received: from rcdn-core-9.cisco.com ([173.37.93.145]) by alln-iport-4.cisco.com with ESMTP; 02 Sep 2014 21:03:28 +0000
Received: from xhc-rcd-x08.cisco.com (xhc-rcd-x08.cisco.com [173.37.183.82]) by rcdn-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id s82L3Sfp025854 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 2 Sep 2014 21:03:28 GMT
Received: from xmb-rcd-x13.cisco.com ([169.254.3.228]) by xhc-rcd-x08.cisco.com ([173.37.183.82]) with mapi id 14.03.0195.001; Tue, 2 Sep 2014 16:03:27 -0500
From: "Saikat Ray (sairay)" <sairay@cisco.com>
To: "lizhenqiang@chinamobile.com" <lizhenqiang@chinamobile.com>, Hannes Gredler <hannes@juniper.net>
Thread-Topic: [Idr] WG LC for draft-ietf-idr-ls-distribution and draft-ietf-idr-ls-distribut-impl
Thread-Index: AQHPxoW/KyLgv7j6UUmOKYCHg5K+6pvt2HeA///alIeAAIEOgA==
Date: Tue, 02 Sep 2014 21:03:27 +0000
Message-ID: <D02B7B90.1FCFC%sairay@cisco.com>
References: <025201cfc15c$bbe17260$33a45720$@ndzh.com> <1B502206DFA0C544B7A60469152008633F364057@eusaamb105.ericsson.se> <20140901180518.GA34789@juniper.net> <2014090214443576954410@chinamobile.com> <1409642967216.58954@juniper.net> <2014090216125846667724@chinamobile.com> <20140902083527.GC39341@juniper.net> <2014090219212399332244@chinamobile.com>
In-Reply-To: <2014090219212399332244@chinamobile.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.4.140807
x-originating-ip: [128.107.165.83]
Content-Type: multipart/alternative; boundary="_000_D02B7B901FCFCsairayciscocom_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/idr/aJflgXxoY7tuPFUSd8EZPfYHMSk
Cc: 'idr wg' <idr@ietf.org>, "'John G. Scudder'" <jgs@bgp.nu>, Susan Hares <shares@ndzh.com>
Subject: Re: [Idr] WG LC for draft-ietf-idr-ls-distribution and draft-ietf-idr-ls-distribut-impl
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 02 Sep 2014 21:03:35 -0000

Hi Zhenqiang:

For the NLRIs that uses a "type" field, such as MVPN (see RFC6514), the convention is to encode the type field before the length field. This allows for greatest flexibility for future extensions. In BGP-LS, we have used the same convention.

Other than that, the RD is for the entire bgp-ls object (be it a Node, Link or Prefix). So placing the RD field before other fields is logically accurate.

Thanks.

From: "lizhenqiang@chinamobile.com<mailto:lizhenqiang@chinamobile.com>" <lizhenqiang@chinamobile.com<mailto:lizhenqiang@chinamobile.com>>
Date: Tuesday, September 2, 2014 at 4:21 AM
To: Hannes Gredler <hannes@juniper.net<mailto:hannes@juniper.net>>
Cc: "idr@ietf.org<mailto:idr@ietf.org>" <idr@ietf.org<mailto:idr@ietf.org>>, "shares@ndzh.com<mailto:shares@ndzh.com>" <shares@ndzh.com<mailto:shares@ndzh.com>>, 'John Scudder' <jgs@bgp.nu<mailto:jgs@bgp.nu>>
Subject: Re: [Idr] WG LC for draft-ietf-idr-ls-distribution and draft-ietf-idr-ls-distribut-impl

Hi Hannes,

One example to explain the differences. One VPN route with prefix length 24 is carried in the NRLI.

The format this draft specified is as follows.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |            NLRI Type = 3         |     Total NLRI Length         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                                                               |
+                       Route Distinguisher                     +
 |                                                               |
+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Protocol-ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Identifier |
| (64 bits) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
// Local Node Descriptor (variable) //
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type = 265                            | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Prefix Length = 24 | IP Prefix (variable) //
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


The format RFC4363 specified is as follows.
+---------------------------------------------------------+
| Address Family Identifier (2 octets) |
+---------------------------------------------------------+
| Subsequent Address Family Identifier (1 octet) |
+---------------------------------------------------------+
| Length of Next Hop Network Address (1 octet) |
+---------------------------------------------------------+
| Network Address of Next Hop (variable) |
+---------------------------------------------------------+
| Reserved (1 octet) |
+---------------------------------------------------------+
| Prefix Length = 88 |  IP Prefix (variable) = RD followed by IP prefix //
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++

________________________________
lizhenqiang@chinamobile.com<mailto:lizhenqiang@chinamobile.com>

From: Hannes Gredler<mailto:hannes@juniper.net>
Date: 2014-09-02 16:35
To: lizhenqiang@chinamobile.com<mailto:lizhenqiang@chinamobile.com>
CC: Uma Chunduri<mailto:uma.chunduri@ericsson.com>; 'idr wg'<mailto:idr@ietf.org>; 'John G. Scudder'<mailto:jgs@bgp.nu>; Susan Hares<mailto:shares@ndzh.com>
Subject: Re: RE: [Idr] WG LC for draft-ietf-idr-ls-distribution and draft-ietf-idr-ls-distribut-impl
hi zhenqiang,

On Tue, Sep 02, 2014 at 04:12:58PM +0800, lizhenqiang@chinamobile.com<mailto:lizhenqiang@chinamobile.com> wrote:
|    Two types of link state NLRIs are defined in section 3.2 of this
|    draft, AFI 16388 / SAFI 71 for non-VPN, AFI 16388 / SAFI 128 for VPN.

correct;

|    My question is about AFI 16388 / SAFI 128 NLRI. From the figure in page 9
|    of draft version 5, we can see that RD is put before link state NLRI.


from http://tools.ietf.org/html/draft-ietf-idr-ls-distribution-05#section-3.2

this is the NLRI format for AFI 16388 / SAFI 71 (unicast)

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |            NLRI Type          |     Total NLRI Length         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                                                               |
   //                  Link-State NLRI (variable)                 //
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

and this is the NLRI format for AFI 16388 / SAFI 128 (VPN-unicast)

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |            NLRI Type          |     Total NLRI Length         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                                                               |
   +                       Route Distinguisher                     +
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                                                               |
   //                  Link-State NLRI (variable)                 //
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+



|    The link state NLRI field in this figure contains the IP prefix. As RFC4364
|    specifies, the VPN routes should be carried in the NLRI prepending with
|    RD.

that is what we do - i fail to see the offending part with respect to RFC4364.

/hannes

|
|      From: [1]Hannes Gredler
|      Date: 2014-09-02 15:29
|      To: [2]lizhenqiang@chinamobile.com<mailto:lizhenqiang@chinamobile.com>; [3]Uma Chunduri
|      CC: [4]'idr wg'; [5]'John G. Scudder'; [6]Susan Hares
|      Subject: RE: Re: [Idr] WG LC for draft-ietf-idr-ls-distribution and
|      draft-ietf-idr-ls-distribut-impl
|
|      hi zhenqiang,
|
|      The Route-distinguisher's purpose is to add 64-bits of  disambiguating
|      entropy to the NLRI, such
|
|      that the route-reflectors do not "swallow" that path as part of the
|      best-path election
|
|      procedure. The link-state NLRI (encapsulated in MP_REACH/ MP UNREACH PA)
|
|      is a RD-less version of the vpn-link-state NLRI.
|
|      In a certain way these correspond to RFC3107 / RFC4364 NLRI formats.
|
|      The former is a RD-less version of the latter.
|
|      On your question "Why do't you put RD in IP Reachability Information,
|      just prepending RD with IP prefix as RFC4364 specifies." - This is
|      actually what we *are* doing - we put the RD before the link-state NLRI
|      inside the MP_REACH/MP_UNREACH Attribute.
|
|      HTH,
|
|      /hannes
|
|    --------------------------------------------------------------------------
|
|      From: lizhenqiang@chinamobile.com<mailto:lizhenqiang@chinamobile.com> <lizhenqiang@chinamobile.com<mailto:lizhenqiang@chinamobile.com>>
|      Sent: Tuesday, September 02, 2014 8:44
|      To: Hannes Gredler; Uma Chunduri
|      Cc: 'idr wg'; 'John G. Scudder'; Susan Hares
|      Subject: Re: Re: [Idr] WG LC for draft-ietf-idr-ls-distribution and
|      draft-ietf-idr-ls-distribut-impl
|
|      One question about the VPN Link-State NLRI in section 3.2. Why do you
|      put the RD before link state NRLI? Why do't you put RD in IP
|      Reachability Information, just preprending RD with IP prefix as RFC4364
|      specifies.
|
|    --------------------------------------------------------------------------
|
|      lizhenqiang@chinamobile.com<mailto:lizhenqiang@chinamobile.com>
|
|
|        From: [7]Hannes Gredler
|        Date: 2014-09-02 02:05
|        To: [8]Uma Chunduri
|        CC: [9]idr@ietf.org<mailto:idr@ietf.org>; [10]'John G. Scudder'; [11]Susan Hares
|        Subject: Re: [Idr] WG LC for draft-ietf-idr-ls-distribution and
|        draft-ietf-idr-ls-distribut-impl
|        hi uma,
|
|        see comments/responses inline:
|
|        On Wed, Aug 27, 2014 at 11:07:01AM +0000, Uma Chunduri wrote:
|        |    Support.
|        |
|        |    I see, hierarchy is WELL  defined when multiple instances of IGP
|        with
|        |    multiple AFs are running. Good work.
|        |
|        |
|        |
|        |    Have following Qs:
|        |
|        |    1.       Any discussion of the delay introduced by BGP (packing,
|        update
|        |    generation, processing etc..) to transport the LS information
|        |
|        |    especially, when LSDB is changing faster perhaps with large
|        number of
|        |    nodes/links inside an AS and with multiple ASes) to the
|        controller will be
|        |    useful.
|
|        this is highly implementation dependent; -
|        some vendors do the packaging of BGP updates entirely event-driven
|        and others pack things up and have a worst case delay between
|        the trigger event and the BGP update. the protocol
|        itself does not prohibit/limit the propagation speed.
|        (in fact it can be shown that sometimes updates
|        travel faster on the (dataplane forwarded) iBGP mesh,
|        rather than propgate using the hop-by-hop control-plane flooding
|        protocol)
|
|        |                 A note on the sensitivity of this delay to the
|        consumer
|        |    (applications) at the controller  can be helpful. I saw very
|        little
|        |    discussion in Section 6 (6.1.5)
|
|        difficiult - its hard to have some sort of general comment as things
|        are
|        highly implementation dependent.
|
|
|        |    2.       This document encompasses pretty much both OSPF and ISIS
|        |    extensions done till date. How it will keep up with future
|        extensions in
|        |    OSPF/ISIS.
|
|        we have set up an IANA registries for the carriers of information.
|        it is expected by authors of "topological relevant" IGP extensions
|        to supply also BGP-LS extensions.
|
|        |    A mechanism in place would be helpful. My suggestion would be-
|        the
|        |    respective IGP documents should assess the impact and define
|        |
|        |    corresponding new TLVs for BGP LS? But how this can be enforced?
|
|        i have no idea - today its entirely voluntary.
|
|        |    3.       Section 4, gives glimpse what's possible and the node
|        aggregating
|        |    the links obviously need to tinker the LSDB to represent the same
|        |    correctly.
|        |
|        |    Some more details would be helpful to represent the changes on
|        |    aggregation/de-aggregation subsequently.
|
|        this may quickly get you into the "abstracted topology models"
|        discussion that keeps emerging  periodically. -
|        we did not want to stop progress on the protocol by arguing
|        "whats the right abstraction model" and have agreed
|        on the minimalistic nature of the section as-is.
|
|
|        |    4.       Section 6.2 has empty sub-sections and TBDs.
|
|        right ... so suggest to remove section 6.2 altogether.
|
|        |    5.       It's good to see Implementation report shed light on
|        performance
|        |    seen with multiple ASes.
|        |
|        |    6.       It's good to see if any application of policy on LSDB is
|        done
|        |    (one of the primary drivers of the specification).
|
|
|        thanks,
|
|
|        /hannes
|
|        |
|        |    From: Idr [mailto:idr-bounces@ietf.org] On Behalf Of Susan Hares
|        |    Sent: Tuesday, August 26, 2014 11:37 AM
|        |    To: idr@ietf.org<mailto:idr@ietf.org>
|        |    Cc: 'John G. Scudder'; shares@ndzh.com<mailto:shares@ndzh.com>
|        |    Subject: [Idr] WG LC for draft-ietf-idr-ls-distribution and
|        |    draft-ietf-idr-ls-distribut-impl
|        |
|        |
|        |
|        |    This is a WG LC for
|        |
|        |
|        |
|        |
|        [1]http://datatracker.ietf.org/doc/draft-ietf-idr-ls-distribution/
|        |
|        |
|        [2]http://datatracker.ietf.org/doc/draft-ietf-idr-ls-distribution-impl/
|        |
|        |
|        |
|        |    Please respond with comments and "support or no support."  This
|        WG LC also
|        |    includes a request for the authors to provide IPR on the subject.
|        |
|        |
|        |
|        |    Please note: due to the European vacations in August, we are
|        bundling
|        |    these three reviews into the next two weeks (these two drafts and
|        |    draft-ietf-as-migration).   The chairs would like feedback (list
|        or
|        |    private email) whether the three WG LC s impact anyone's ability
|        to review
|        |    these drafts carefully.
|        |
|        |
|        |
|        |    Thank you,
|        |
|        |
|        |
|        |    Sue Hares and John Scudder
|        |
|        | References
|        |
|        |    Visible links
|        |    1.
|        http://datatracker.ietf.org/doc/draft-ietf-idr-ls-distribution/
|        |    2.
|        http://datatracker.ietf.org/doc/draft-ietf-idr-ls-distribution-impl/
|
|        | _______________________________________________
|        | Idr mailing list
|        | Idr@ietf.org<mailto:Idr@ietf.org>
|        | https://www.ietf.org/mailman/listinfo/idr
|
|        _______________________________________________
|        Idr mailing list
|        Idr@ietf.org<mailto:Idr@ietf.org>
|        https://www.ietf.org/mailman/listinfo/idr
|
|
| References
|
|    Visible links
|    1. mailto:hannes@juniper.net
|    2. mailto:lizhenqiang@chinamobile.com
|    3. mailto:uma.chunduri@ericsson.com
|    4. mailto:idr@ietf.org
|    5. mailto:jgs@bgp.nu
|    6. mailto:shares@ndzh.com
|    7. mailto:hannes@juniper.net
|    8. mailto:uma.chunduri@ericsson.com
|    9. mailto:idr@ietf.org
|   10. mailto:jgs@bgp.nu
|   11. mailto:shares@ndzh.com