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

Eric C Rosen <erosen@juniper.net> Mon, 09 November 2015 15:22 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 ABF471A01E2; Mon, 9 Nov 2015 07:22:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, 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 Mar8J0P581G2; Mon, 9 Nov 2015 07:22:11 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0116.outbound.protection.outlook.com [65.55.169.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9CCE51A8A0C; Mon, 9 Nov 2015 07:22:10 -0800 (PST)
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=erosen@juniper.net;
Received: from [172.29.33.31] (66.129.241.10) by CY1PR0501MB2009.namprd05.prod.outlook.com (10.164.2.27) with Microsoft SMTP Server (TLS) id 15.1.318.15; Mon, 9 Nov 2015 15:22:06 +0000
To: "Stefano Previdi (sprevidi)" <sprevidi@cisco.com>
References: <56294416.8030807@juniper.net> <5104A350-EA8D-4824-A396-1DC46140BA5D@cisco.com>
From: Eric C Rosen <erosen@juniper.net>
Message-ID: <5640BA18.7060807@juniper.net>
Date: Mon, 09 Nov 2015 10:22:00 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <5104A350-EA8D-4824-A396-1DC46140BA5D@cisco.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [66.129.241.10]
X-ClientProxiedBy: CY1PR14CA0046.namprd14.prod.outlook.com (25.164.65.142) To CY1PR0501MB2009.namprd05.prod.outlook.com (25.164.2.27)
X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB2009; 2:kl8KqZQfTI9D6z6R2qH0NNRnbM2Nt07LcFjjgPGAO7+KLytHTmLz1G0TU9gBR70mh0xUh0pXrtXEOE1awCCnE1X0zTwOywnQSwN4w8MsoEvlNwle4TeHe6re/ymH0ELvi8rBXgkVfhIYDxIHFa0iEmhBSm6Npo1RuTR4Ds9ZY78=; 3:naPJakOsOr6g8WfaujEsZAr0cO47Isyzryl703eEknNCn9gAtKcUxlvj2HRjq4Nk2bT2PIUwpY8ypeclGWe7WrEHRF8KWOGv+F7vh1Q6y1Cx6RVFyvjFa/I0r3Y2NupwqZab/p+jm9z2P7fDOeoOjg==; 25:MM7EEYjZqriZYXYCxWVHES+yJlmiWqEhBbngrW2hp1eSN4HN6SvloUTYcywIPCVIjR9bWTRHi5FkF9JKUTkCgoU3uwNL1KXFEmnwI69Z1vSZcdINpBRjGXmarNWB0xOwvGAV66bPr7XB53TZ5jZnePAq3UFxLS0ns8vLSb2lp+WtQWgGh+xD6e9vBqCo7OQVnmdu1e5Yr7IO0mUGlCM7m41R+CaIEeLJ/tgD8deOVfw+W9EH7XpTSwRMI6VZ8Fv2QgwrdYmmWhy2RxdyoPxBuA==
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB2009;
X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB2009; 20:UUwaACpg/HJdA1QynnOcobTPbh8GsVqrYQ1s6L7WXQcTf16Jo0eSTDmloEfGgZjZSpH28eJQuRmWris8B8okpwcHlG4t5Q/rNntZ98bQqQApD7gVN5tuc5g76QUZrNqNdmay+xoQ3rZLvjLuVgoZaF27+I1EF8eqeM9tJBhUhDgIlyBN7a6Z8xgqX5i84LwzhJd8r7bHI5/iwGNVhWAO4vdjhMOxrvcZKPhh5DI/SrpaPjkCPQaB9V/I756b9YRXDRdZXL5U/QN7Z4sGQ4ufCXXpogJQNjl8o52K8+0XhVVgzT0uhNKND0P7BtXViiAzKzfQr2IlkXnj6pgOKsvwMIUyZ2V05bo3wF3qATtGdjF79xtCXKQUPRlEt79dY7zScTSjHhz5Rjv315QJANgqxn+RQ1/aUROcj3rS+l5fjzd9Q7RXmDXvvuaxfRxo2b1LSVDdvaJQKBWGPkUh6CBQwn3E4HFQ6Llvvg6E1ZJIBJ0E+GOyeYU7KKbjyRFDRRix; 4:/gaOBjqTiOY+wNTuZvX6xl3bUogSGdy0L8Bl+9hePmKxL81cp63DpaZA2RDfANIN36GubHyIRQ1o6+vaUTaRnAQeEzZt60boF9JmN3VBUnW6tSoE52oySqz7R4IjKmLdV8nySGY6EjAXTYSUoE0squO/jHcM6rsOb7aY0SxtjgtRKBMfALLOROQn8M0sK0anHElH9ft1eCGSlJJ0fFSFNogI64AvDAZAzBRRFNqdKFQs7K9uos20/gMUHQ5bLZ7U59OlskA+BrhRTy0PdzJvifUUUsKTu21moYH5e1A07ag/MMUMWdCgieGt62A1gFrn+Q+UYf4MCKNWjfgfgOl4NU5crpYADCrMGIEQAw1Rr9ISRseXpkB3vc/qMM0TzE5N
X-Microsoft-Antispam-PRVS: <CY1PR0501MB2009985D4244046C2F67FB5ED4150@CY1PR0501MB2009.namprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001)(10201501046); SRVR:CY1PR0501MB2009; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0501MB2009;
X-Forefront-PRVS: 0755F54DD9
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6049001)(6009001)(199003)(189002)(87266999)(5004730100002)(86362001)(5008740100001)(59896002)(5007970100001)(110136002)(106356001)(105586002)(4001350100001)(65956001)(2950100001)(81156007)(50466002)(36756003)(189998001)(97736004)(47776003)(66066001)(64126003)(5001960100002)(92566002)(50986999)(77096005)(230700001)(87976001)(83506001)(65816999)(42186005)(54356999)(80316001)(65806001)(101416001)(76176999)(230783001)(33656002)(23746002)(40100003)(122386002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0501MB2009; H:[172.29.33.31]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
Received-SPF: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB2009; 23:T5CjqgAItyWsOcn96TkLbHY0l7JEBwDHO3mEinKoPc+emODAlVJ3uJIEJQ0HBZyD56FCXmcH+Dsnt3+zJAWrbR2RkyYWfUYt6athr8rs0SXHk5TSNFsvkcVmnx0FbHTKY39TBPZSp5pDG7qipkKtBdF2YbSzZvrGKZ5odukd8pJXJtaD5Zqgd4PXGAu4TmyZdsbwMtbF/bOUQKXCsrZQeOAzon5+VF3lMNcIh8rxtodaklJsxq2tVd9FNbkAJsld6T3eo6NKlMwoNUgjw2ymK4i5CkdC1Ahgl2xvIQx9HcW/pzMO6dbSGQ9Et50cg0BVqBVJdGMhDHNFWCBeDdUxwZGVAubaaUFmd3QJpQJitnzo1KafNIYjjWIzyGtRonuOpGSjrG5leMqkw4Yb4UHMrPxUfqpqEqKWtH5EUEZ075qdF5Gr+YWd4xR0feHBANJRRrHgoBGE0nldRQKmqpXM80E+Tj/uqb2K1LWSXGzmTn93k7+wPNV22VbkVPLDICjPxrKYdXuAq9EQ7OzPOi9kpImSVCn1fUHO7Jih18Ks/3yzlRy5ys0v4ui8oSXl8MDa35uMJKD8KTASKklNExwl9fHPAovnMTSqI+0OtBdDbXouJgNQbeURlQWy70gTWejJj539zw8UGMd24F3shF0GcC2qodugC0NgoROV+Y/Oyr4+ucckIkWZB7h0IYMLMdgD9fQndEvQTvWAAjB7gQdlHmqYJFVEwMvelJthN01Tp4c+qfgYkGV5lk6knAghOq2DQIl14HO33Alsv9aOKCJAumPF9VTZ+Xp6/RS82e5exdrNPhomwTGHICOWRFHjOl31BOcyfqPmH9U49sVqBxN2NCqtJ85vH+A5TL2b0fXwnr/x0vX+6mlujRhtYYjgQDd685v3AsoRdnh7lsEes+a4Y7AqLfxe8cUQy1i5azdYCNFXX2YzFk8Or7uNAKtTu/UReJwTOth3d94SNEgptf0u96lJy9uEk2fWwRYfv9GMWqQukOKV8DzWWZyEUJ8RZVr8Zafu4AUdEMZTJGPMlh6uGE3QX7MksGpbf6pUtYH6pi4aZn3cjFTRcs0QpA01XWSF9UH2RAzA840ONBFFnbP1Y5AVK3WpepOUuE4VlSs151TnkazfxWAU1KLySwTEtWFm
X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB2009; 5:ReqK0+oJlOl+XYC9DZIz2i074MvAoqO9YAM0GX4BR2pELhShYsE5TJH82rqZYacOfCCLhGsyL6ehBjOx4N2fyuXjiDEsK8Lv9YaRAIvH3X8aAjiS+/aEPiVHZjw2WNvvuArnInQq1uYV8s8jTO2s+g==; 24:I3873SAVMte6jy4ftDpCYO8BQIS7lzI9InYGCSmWNBNHvYJ8XjMrHhKc7htHFUnhocAHre+UD5eQ/G3wtqhr5xneos0F1ef+PJah/wggP4w=; 20:gYnuqgNUwPqvmLwaa72DcefgEEAaqo5IKsKyOyBcJHIOYdy/XseaACsFtRAKmCQfV7SiOujJ23CR4LFKskV6+Q==
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2015 15:22:06.1657 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB2009
Archived-At: <http://mailarchive.ietf.org/arch/msg/idr/gO3S6Xeda0mvI5fYBt-cRZvrqx0>
Cc: idr wg <idr@ietf.org>, SPRING WG <spring@ietf.org>
Subject: Re: [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: Mon, 09 Nov 2015 15:22:14 -0000

Hi Stefano,

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

> why would you need such limitation ? A prefix may have a shorter mask
> than 32 (or 128) and still be ok for the Originator SRGB to be there.

The SRGB is a property of a node, not a property of a prefix.  To make 
use of the "Originator SRGB", you have to know the node whose property 
it is.  And you have to be able to tunnel packets to that node.  In the 
text I wrote above, the prefix field in the NLRI identifies the node to 
which the "Originator SRGB" belongs, and the prefix-SID field 
essentially gives you a node-SID that you can use to tunnel to the node 
in question.

> The Originator-SRGB may only be inserted by the originator of the
> prefix, maybe we should emphasize that, but the masklength is mostly
> irrelevant here.

I don't see that the Originator-SRGB TLV is useful without an explicit 
identification of the node whose SRGB it describes.  Certainly if you 
are trying to set up an explicitly routed path (perhaps as a loose 
source route) what you need are the node-SIDs are of the hops you want 
to specify, and the SRGB of each hop.

When you talk about "the originator of the prefix", I think what you 
really mean is "the last node of the BGP prefix segment".  But I don't 
think that that term necessarily denotes a unique node, as there might 
be multiple ECMP paths to the prefix, and the prefix-SID does not 
distinguish among them.  E.g., the prefix itself might be multi-homed, 
or there might be multiple exit points from the SR domain, all of which 
are equidistant from the prefix.  In cases like that, you have no way of 
knowing whether a label computed from the Originator-SRGB is actually 
going to be correctly interpreted, because you don't really know the 
path a packet will take when it is labeled with the prefix-SID.

Eric