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

"Saikat Ray (sairay)" <sairay@cisco.com> Wed, 03 September 2014 02:24 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 2B0F51A896F for <idr@ietfa.amsl.com>; Tue, 2 Sep 2014 19:24:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.567
X-Spam-Level:
X-Spam-Status: No, score=-14.567 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_FONT_LOW_CONTRAST=0.001, 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 vdbqZZ1XteIo for <idr@ietfa.amsl.com>; Tue, 2 Sep 2014 19:24:29 -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 45FAB1A897D for <idr@ietf.org>; Tue, 2 Sep 2014 19:24:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=58029; q=dns/txt; s=iport; t=1409711069; x=1410920669; h=from:to:cc:subject:date:message-id:mime-version; bh=5RADy1FAplsjaaS5wsRHlWgCk/aSbL4kG/guFoHaNSA=; b=PQo4HFlbP66s+O5mQ90tzfXB0ASwEs9eDSbIZlX3cDlc4yaFgEvuI2qT E8tu+ySHw05rEGpQYfPEtq5rqYGsHDbTR8Kj/SoAc5uHgO47DMnrLVMNQ j/tVrqHjHr3n8HU7QrTgFFBwz+BxeCUWbLkazdQTf0ufer3vQ7ShaCnfC w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgQGACd7BlStJA2G/2dsb2JhbABagkdGU1cEhBSud5NcgV8BC4dKAYESFneEAwEBAQQBAQEXTQcLEgEIEQMBAQEhAQYuCxQJCgQBDQWIQg29HgEXjmsLBgE+AQcGBAaETQWBWIQ8iQmCFIQuhn2BW4pwiFOBZwgWFoFGbAGBBggXIoEHAQEB
X-IronPort-AV: E=Sophos; i="5.04,453,1406592000"; d="scan'208,217"; a="74427672"
Received: from alln-core-12.cisco.com ([173.36.13.134]) by alln-iport-4.cisco.com with ESMTP; 03 Sep 2014 02:24:28 +0000
Received: from xhc-rcd-x10.cisco.com (xhc-rcd-x10.cisco.com [173.37.183.84]) by alln-core-12.cisco.com (8.14.5/8.14.5) with ESMTP id s832ORba028669 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 3 Sep 2014 02:24:27 GMT
Received: from xmb-rcd-x13.cisco.com ([169.254.3.228]) by xhc-rcd-x10.cisco.com ([173.37.183.84]) with mapi id 14.03.0195.001; Tue, 2 Sep 2014 21:24: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: AQHPxx4uKyLgv7j6UUmOKYCHg5K+6g==
Date: Wed, 03 Sep 2014 02:24:27 +0000
Message-ID: <D02BC922.1FD45%sairay@cisco.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_D02BC9221FD45sairayciscocom_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/idr/ysEWX9nqafzF0zKn0KGaxHFa9O0
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: Wed, 03 Sep 2014 02:24:33 -0000

From: "lizhenqiang@chinamobile.com<mailto:lizhenqiang@chinamobile.com>" <lizhenqiang@chinamobile.com<mailto:lizhenqiang@chinamobile.com>>
Date: Tuesday, September 2, 2014 at 7:18 PM
To: sairay <sairay@cisco.com<mailto:sairay@cisco.com>>, 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: Re: [Idr] WG LC for draft-ietf-idr-ls-distribution and draft-ietf-idr-ls-distribut-impl

Placing the type field before the length field is fine for me.

The encoding format for RD in this draft is not consistent with RFC4364. This is the question. RFC6514 says "The Route Distinguisher (RD) is encoded as described in [RFC4364]", please see section 4 of RFC6514.

[SR] That statement in RFC6514 refers to how the 8 bytes of the route-distinguisher field are encoded (different RD types, values, etc.), not to the position of RD field in the NLRI.

I agree with you for the advantage to put the RD before other fields. I raise this quesiton just for clarification.

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

From: Saikat Ray (sairay)<mailto:sairay@cisco.com>
Date: 2014-09-03 05:03
To: lizhenqiang@chinamobile.com<mailto:lizhenqiang@chinamobile.com>; Hannes Gredler<mailto:hannes@juniper.net>
CC: 'idr wg'<mailto:idr@ietf.org>; Susan Hares<mailto:shares@ndzh.com>; 'John G. Scudder'<mailto:jgs@bgp.nu>
Subject: Re: [Idr] WG LC for draft-ietf-idr-ls-distribution and draft-ietf-idr-ls-distribut-impl
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