[Idr] Comments on draft-ietf-idr-bgp-prefix-sid-01

Eric C Rosen <erosen@juniper.net> Thu, 22 October 2015 20:16 UTC

Return-Path: <erosen@juniper.net>
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 A25BE1B401B; Thu, 22 Oct 2015 13:16:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 w0WhKKXu5TWi; Thu, 22 Oct 2015 13:16:38 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0774.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::774]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 33C651B4018; Thu, 22 Oct 2015 13:16:38 -0700 (PDT)
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=erosen@juniper.net;
Received: from [172.29.35.107] (66.129.241.13) by BLUPR0501MB2001.namprd05.prod.outlook.com (10.164.22.27) with Microsoft SMTP Server (TLS) id 15.1.306.13; Thu, 22 Oct 2015 20:16:28 +0000
To: idr wg <idr@ietf.org>, SPRING WG <spring@ietf.org>
From: Eric C Rosen <erosen@juniper.net>
Message-ID: <56294416.8030807@juniper.net>
Date: Thu, 22 Oct 2015 16:16:22 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------060503040909080405030207"
X-Originating-IP: [66.129.241.13]
X-ClientProxiedBy: SN1PR18CA0014.namprd18.prod.outlook.com (25.163.219.152) To BLUPR0501MB2001.namprd05.prod.outlook.com (25.164.22.27)
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB2001; 2:avm2WtBR2VlXkKC7D7QqCvM8DzurzXgz3uBFCHoZ4QXihA9mVpJnbUx/8wMPFWKcIzZVla3rlWML0Lc1SnWfl3pfIsTkkj9gWK1WmX7LKYpOfN4l5m2+uZu+BxVV3tliEwr+cshXT6L925HAuunQiESO/+XEvc0RgYEUaemYzXE=; 3:W9vniql5DurIrwgjv0zmYb6+E/eZ35uibjtolwXtVvgu73zS4f3DWmzMTrgRIv5l7WAuJY0JB+p4pakiyeNcJbZ4NlfdYWwZykutEQNr5pEpJlyCxuucE79VxQIRwBuwsPy4I5CL0QvxvK5cClEc5Q==; 25:iON+3G8dwfGuiLfja9LD/E3dvQ1uQNADjO0UrzXS68phIED3ABWCEixZ+zeQJrlgakKuGCQ2HA8OJIB4OwMem0k7xNjIhLnCLLcAh5QliNNsxPsBsq9nFXVVpMBduIyXY487hCYNqpJF9h7HthqhExP9kRbxp8xbZuuwXDWMBUqyUynu3P1TrRToIClauoPyrkSoKLJqEAmzZcuh52qvHHEdzmCKoeOdbNK8TkhnQkDgBivnHkdyPnierlv8tzq0c5Y2OeQRWH7CyaHffGTQNA==
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0501MB2001;
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB2001; 20:NVkuveQN7q4LH5Xv++Q5QBJUwf7RF/+Qfs/gt70sl6C3FzWX0QmHc5BOiyopwy2SpuMqd5G451BT0a6CsA1dgZ7aolIiZM99MwVyU6J9gR7hUXM90RE0OCtQg1nLI25YBl8DVRKUOE9Bnqrmlnjgc2DXuJ6e+tK0OBAxzsh6/JPVN6pPlRxlj8NDxzYnOc1yNzNx7zNL/9uX0KtRSbLaSIpBmi6NeC6J2k3V4/v4PJpOdMUlo0/Hj3EoNGIu9zCQmh8YdJomwwT+Y1g8bd7HqfwbiUdqH7ix72YSsPX2jC/VlF0HWVYjeHDLPgj8L4DEAuZssTIAmpcUSouaxVLKQ92kjCFRqqt3S5B0HDqzQletrDf7TNNKQs7gFDqsdZs8tBHMfknnEx7jAqzIW5wNN4ibYlyGIfwE6s8Ud7ba8P3BADlQMndpl4MmLQhIEcCLHD5KMAAiaJt15u9zWqZCGydZKUltNBn5Him3f0WxmYHgZpyOk+6pzRBhbwMATo1m; 4:Rm2KfAZkRk8d/6fpSg46L/gNk5hBTRL7pX2wdppY5F6nkwinXz8V5Xzaqj3EqyXLCAJCJ8/CTN2RzkCljUfBncBKY1zGTWjh1bWz9RDK6Ax4u2UlGt31p/Iffyhr2bEpiz2gZ8HwVB9oHgeVjNHutg51Qq0nPYSBysCE8bdf+2LcHd+AqBSAOoRJBSf8Dxnxkdb5NJ2dbpL0ByOLNSwg+38UREIg7y7rYhxUgwOhgPRX4DWpDan/J5wXnz+HGZ+o4iMrGnDLggqxYPZ1Dsa/a5/KJs72MNK0o0bbK+JxTtT4DHTZlXR0grqoQiIn8pt0At/Wr04/Yzw+nPNdW4ZcQLI9oAFgaGYyWbj6w0tRrWLWs8ZucrqaFqu9kMNb3NvM
X-Microsoft-Antispam-PRVS: <BLUPR0501MB2001627148C028F9BE071FC6D4270@BLUPR0501MB2001.namprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(102215026); SRVR:BLUPR0501MB2001; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0501MB2001;
X-Forefront-PRVS: 0737B96801
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6049001)(189002)(199003)(66066001)(65806001)(92566002)(42186005)(5001770100001)(5004730100002)(64126003)(65956001)(5007970100001)(97736004)(4001350100001)(81156007)(77096005)(230783001)(117636001)(36756003)(450100001)(59896002)(5890100001)(5008740100001)(40100003)(87976001)(84326002)(83506001)(189998001)(107886002)(5001960100002)(19580395003)(512874002)(122386002)(16236675004)(561944003)(101416001)(229853001)(65816999)(50986999)(87266999)(86362001)(54356999)(106356001)(99136001)(105586002)(62816006); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR0501MB2001; H:[172.29.35.107]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
Received-SPF: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB2001; 23:fcch5pvpvm2i8qwEh3k6pdoXPsMczE3x9e3a7XijsB6kTGL/f3OuboRbV1Bds5RYvNMpzI6qjdVyBCi1sTWgQFJ3TLWoD93MeUgEVNkZ0D3XvVcOvGJNELrIhSJfj8PO3STMZIE0qM9OH3S0VZUuyn3T3ZsQYzIe+l8DmEEmK7hryG6dSThVt5yycU1ifGMKj/XTjb+mYWOmmYVI6N++x6DjntNH9zMQyk8W1dP+e8VVyKUhzEabkgELugfwc3Obo5/GMclIV6CheY5NW+2kaKiIM5qV7YkQ5bUvBn/fw/WK7iCinxfHBpTqa25jzuucQOnGPpumEg6kbwivKxARKESX5e5Atf+MuKBn01P7ZqVOiKh+9rREFtgy2PPJLMLlE7fcC2hOEkthgx0PhwygTX2vf0KzGeVOb7Ocyh5FbrypHnFIv9mnt+GxenijGbf6SmvKwml1UlzbVPj5Kd86aVXQzsEPLVUa0n6bkBv2KThl3In8KGk4W9YSUCMN3K0TM9em0aQm9DZP0VI/q2h9Ueq5CRlcq9OXcLg64oZv7hW/dT0nzs9iSnlY+/QkT67MbhmTg4Hu9NRtKjfKf1v3sHpFIL8HafChYik4fWop5rTRf2RU5QgyDLRA/lx7rAE+3bSuq0109lmnjp8+f5wRfliigiMxaOkIKu9XgiZEbAZ04X8qmCTcbgagBI37POLp6Ceu14/WX99jAoo7/VQBmk9Lt1tNLKSJYGlQ8dhdp2OW8FcR7iCm2IR8j041/Bh8+5JRWWbOiWw1aFEKp4U2x9/SEdoNSYDIv0JMcHGhREPoT7ub2u3EqHHrKltwQwZ3waeHqV7sjh//b0stqGRcLNTNUDb8zL0lC7ZheuEixwK2GYc+SBDSgBK6IruMUD0p9uzlKhmUPA2cna0wjedT25KuZm4DZBVieh7KoNJcl7yBjhqq3Ooi1yd63ORcnD9KAeE1fKkMNwGBkqRxPvCjyRc36HmxptJlPxrSTg761b1vb8PQMlZQq4xubYQz/9NeEprHiUvuLB0n5h72uvC/rjo7rFMAKRFOkf8gniXY8ncJIeYD5F5BTxG1OwEIJGJLep/9dw1NFn4H6xtGW9lM/lbu9Y7pZbIOYjDpM1CLL9c8Sq0fE8+dLzb09pDMrmNbm4kiJVGrj3+LqPmJXU2pzUSCHkcd63MC2hd+wbGHxiLqXmbOHrt8DW+yeqaelXKl+nM9pXd5rZ24MgTdR07BLRBJlWEJI5WFNSX5u6CyjOg=
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB2001; 5:Pib+uB7egr/vJEcem0NN7hX4NhZn/ZadtBBjEbmI1mzL5eRqKRgsSQmr/VGxXX+6AfY1JmbkzCZc4TTyvCiSk6n3XF1Eqneqv6PCLI6uTs4ayqobQN8lqMyszBUnAfIoWoQE/mks//bU+e0fFWJ6bQ==; 24:2jDkHo5RCXUCFcgZL8LTryDBx/EWiQDuqLJ9lc0jjszMdSNcddWb9N34/zQ8q8mxGPeUGdjy58TW7Scev8PBZANZljFeP0FKhewn0b8/XxM=; 20:flmGPZITsXyDf6fm/qUBXD4F5R784V+Oaxd1ztq68uumbPWYsKMendHXVnlPZm/BMsbCvX9ei9psSHsm7wWK4A==
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2015 20:16:28.9413 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0501MB2001
Archived-At: <http://mailarchive.ietf.org/arch/msg/idr/1m4aZ9mZzNXgwgeU7pWnVK0o8wI>
Subject: [Idr] Comments on draft-ietf-idr-bgp-prefix-sid-01
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: <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: Thu, 22 Oct 2015 20:16:41 -0000

I'd like to make some suggestions for textual changes to sections 3.1 and
4.3 of draft-ietf-idr-prefix-sid.  The main purpose of these suggestions is
to clarify the use of the Originator SRGB TLV, and to remove what I
think is an excessive and distracting amount of repetition about the
inadvisability of allowing different nodes to use different SRGBs.

My proposal for the text of these sections follows.  In addition to the
changes I mentioned above, some typos in the original text are fixed, and
there is a suggestion (explained below in brackets) for slightly modifying
the text about the AFI/SAFIs with which the Prefix-SID attribute may be
used.  A few other explanations can be found in brackets below inside the
proposed text.

--------------------

3.1.  MPLS Prefix Segment

    In this document, we specify "MPLS Prefix Segments" only for BGP routes
    that have an AFI/SAFI of 1/4 or 2/4.  The applicability of MPLS prefix
    segments to other AFI/SAFIs is outside the scope of this document.

[The original text said "A Multiprotocol BGP labeled IPv4/IPv6 Unicast
([RFC3107]) session type is required", I don't think that is quite precise.
If a session has multiple AFI/SAFIs, including 1/4, I don't think we 
want to
say that the attribute can be placed in any UPDATE on that session.  Also,
it's not quite accurate to say that RFC3107 is restricted to 1/4 and 2/4;
RFC3107 doesn't mention the AFI.  And we may want to leave it open that the
Prefix Segment notion may eventually be applied somehow to SAFI-128 
routes.]

    The BGP Prefix Segment is realized on the MPLS dataplane in the
    following way:

       As described in [I-D.ietf-spring-segment-routing-msdc] the
       operator assigns a globally unique "index", L_I, to a locally
       sourced prefix of a BGP speaker N which is advertised to all other
       BGP speakers in the SR domain.

       According to [I-D.ietf-spring-segment-routing], each BGP speaker
       is configured with a label block called the Segment Routing Global
       Block (SRGB).  (While it is recommended to use the same SRGB across
       all the nodes within the SR domain, the SRGB of a node is a local
       property and could be different on different speakers).

       The index L_I is a 32 bit offset in the SRGB.  Each BGP speaker
       derives its local MPLS label, L, by adding L_I to the start value
       of its own SRGB, and programs L in its MPLS dataplane as its
       incoming/local label for the prefix.  (See section 5.1 for more
       details.)

[Added reference to section 5.1.]

       The outgoing label for the prefix is found in the NLRI of the
       Multiprotocol BGP labeled IPv4/IPv6 Unicast prefix advertisement.
       The index L_I is only used as a hint to derive the local/incoming
       label.

    Section 4.1 of this document specifies the Label-Index TLV of the BGP
    Prefix-SID attribute; this TLV can be used to advertise the label index
    of a given prefix.

    If the BGP speakers are not all configured with the same SRGB, and if
    traffic-engineering within the SR domain is required, each node may be
    required to advertise its local SRGB.  One way of advertising the local
    SRGB is to use the segment routing extensions of BGP-LS
    (draft-gredler-idr-bgp-ls-segment-routing-ext-00.txt). An alternative
    option is to use the Originator SRGB TLV of the prefix-SID 
attribute, as
    specified in Section 4.3 of this document.

[Rearranged last paragraphs slightly to improve flow, imo.]



4.3.  Originator SRGB TLV

    The Originator SRGB TLV is an optional TLV and has the following
    format:

      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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |     Type      |          Length               | Flags      |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |     Flags     |
     +-+-+-+-+-+-+-+-+

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |         SRGB 1 (6 octets)                                     |
     | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                               |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |         SRGB n (6 octets)                                     |
     | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                               |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

[I can rarely get the ascii art to render correctly, but the diagram above
is supposed to be unchanged from what appears in the draft.]

    where:

    o  Type is 3.

    o  Length is the total length of the value portion of the TLV: 2 +
       multiple of 6.

    o  Flags: 16 bits of flags.  None are defined in this document.
       Flags SHOULD be clear on transmission and MUST be ignored at
       reception.

    o  SRGB: 3 octets of base followed by 3 octets of range.  Note that the
       SRGB field MAY appear multiple times.  If the SRGB field appears
       multiple times, the SRGB consists of multiple ranges.  The 
meaning of
       an SRGB with multiple ranges is explained in Section 3.2 ("SID/Label
       Range TLV") of [I-D.ietf-ospf-segment-routing-extensions].

[Added some text about the semantics of the SRGB field appearing multiple
times, with reference to a document that actually explains it.]

    When a BGP speaker attaches a Prefix-SID attribute to a given route, 
the
    Originator SRGB TLV MUST NOT be included in the attribute unless the
    following conditions hold:

    - The prefix field of the route's NLRI contains a host address (i.e., a
      /32 IPv4 address or a /128 IPv6 address).

    - The value of the Originator SRGB TLV specifies the SRGB of the node
      that is identified by the prefix field of the NLRI.

[This paragraph and bullet items are added in order to make clear just what
the semantics of the TLV are.]

    If a BGP route is received that contains a Prefix-SID attribute with an
    Originator SRGB TLV, but the prefix field of the NLRI does not 
contain a
    host address, the attribute SHOULD be regarded as malformed. If a
    Prefix-SID attribute contains more than one SRGB TLV, it SHOULD be
    regarded as malformed.  See section 7 for the treatment of a malformed
    Prefix-SID attribute.

    When a route carrying the Prefix-SID attribute is propagated, the
    Originator SRGB TLV (if present) MUST NOT be changed.

-----------------