Re: [OSPF] [spring] fwd: New Version Notification for draft-xu-ospf-global-label-sid-adv-00.txt

Peter Psenak <ppsenak@cisco.com> Tue, 11 February 2014 08:43 UTC

Return-Path: <ppsenak@cisco.com>
X-Original-To: ospf@ietfa.amsl.com
Delivered-To: ospf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B1C71A0907; Tue, 11 Feb 2014 00:43:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.049
X-Spam-Level:
X-Spam-Status: No, score=-10.049 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.548, 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 bfsy76XCLWvt; Tue, 11 Feb 2014 00:43:41 -0800 (PST)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) by ietfa.amsl.com (Postfix) with ESMTP id 714BE1A08F5; Tue, 11 Feb 2014 00:43:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5936; q=dns/txt; s=iport; t=1392108220; x=1393317820; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=Y8iYoi4B9KumLALNZgI2U5knN+eczryrp1hzXSj7HAM=; b=Mu96IhqOxb0yeFRdpZzMUoEHV06YbdG4FlYceJk0ObpNUbp+wf72yg7o bX97aPQEICrsce9III19Gx4DKPmZaLjGoNEwUV7FVdn6KpqCPAVxZHBOT Ec2MrDm9QdZfSgMcY7lEDkEmYIGdFKF2DD2d2Lmjiq96uOYkTUozLnciN 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgsFAHvh+VKQ/khN/2dsb2JhbABZgwyEELtkgQ0WdIIlAQEBAwEjDwEFPwEBEAkCEgYCAgUMCggDAgIJAwIBAgE0Aw4GDQEFAgEBF4diCIw1m3+gHxeBKY1QBwqCZYFJAQOYKoZHi1mBb4E/Ow
X-IronPort-AV: E=Sophos;i="4.95,824,1384300800"; d="scan'208";a="4202322"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by aer-iport-2.cisco.com with ESMTP; 11 Feb 2014 08:43:39 +0000
Received: from [10.55.51.202] (ams-ppsenak-8719.cisco.com [10.55.51.202]) by ams-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id s1B8hc9R030981; Tue, 11 Feb 2014 08:43:38 GMT
Message-ID: <52F9E2BA.4000201@cisco.com>
Date: Tue, 11 Feb 2014 09:43:38 +0100
From: Peter Psenak <ppsenak@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: Xuxiaohu <xuxiaohu@huawei.com>
References: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE08248329@NKGEML512-MBS.china.huawei.com> <52E61BAF.2060208@cisco.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE08248431@NKGEML512-MBS.china.huawei.com> <52E63015.5090404@cisco.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE082493BE@NKGEML512-MBS.china.huawei.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0824948F@NKGEML512-MBS.china.huawei.com> <52E8C589.9010408@cisco.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE082494C6@NKGEML512-MBS.china.huawei.com> <52E8C8A2.8060306@cisco.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE082494F0@NKGEML512-MBS.china.huawei.com> <52E8D7E2.2030100@cisco.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0824BC7E@NKGEML512-MBS.china.huawei.com>
In-Reply-To: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0824BC7E@NKGEML512-MBS.china.huawei.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: "ospf@ietf.org" <ospf@ietf.org>, "spring@ietf.org" <spring@ietf.org>
Subject: Re: [OSPF] [spring] fwd: New Version Notification for draft-xu-ospf-global-label-sid-adv-00.txt
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <ospf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ospf>, <mailto:ospf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ospf/>
List-Post: <mailto:ospf@ietf.org>
List-Help: <mailto:ospf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Feb 2014 08:43:45 -0000

Hi Xuxiaohu,

please see inline:

On 2/11/14 03:12 , Xuxiaohu wrote:
> Hi Peter,
>
> Sorry for late response due to a long holiday.
>
>> -----邮件原件-----
>> 发件人: Peter Psenak [mailto:ppsenak@cisco.com]
>> 发送时间: 2014年1月29日 18:29
>> 收件人: Xuxiaohu
>> 抄送: ospf@ietf.org; spring@ietf.org
>> 主题: Re: [spring] [OSPF] fwd: New Version Notification for
>> draft-xu-ospf-global-label-sid-adv-00.txt
>>
>> Xuxiaohu,
>>
>> On 1/29/14 10:58 , Xuxiaohu wrote:
>>>
>>>
>>>> -----邮件原件-----
>>>> 发件人: Peter Psenak [mailto:ppsenak@cisco.com]
>>>> 发送时间: 2014年1月29日 17:24
>>>> 收件人: Xuxiaohu
>>>> 抄送: ospf@ietf.org; spring@ietf.org
>>>> 主题: Re: [spring] [OSPF] fwd: New Version Notification for
>>>> draft-xu-ospf-global-label-sid-adv-00.txt
>>>>
>>>> Xuxiaohu,
>>>>
>>>> On 1/29/14 10:16 , Xuxiaohu wrote:
>>>>>
>>>>>
>>>>>> -----邮件原件-----
>>>>>> 发件人: Peter Psenak [mailto:ppsenak@cisco.com]
>>>>>> 发送时间: 2014年1月29日 17:11
>>>>>> 收件人: Xuxiaohu
>>>>>> 抄送: ospf@ietf.org; spring@ietf.org
>>>>>> 主题: Re: [spring] [OSPF] fwd: New Version Notification for
>>>>>> draft-xu-ospf-global-label-sid-adv-00.txt
>>>>>>
>>>>>> Xiaohu,
>>>>>>
>>>>>> On 1/29/14 09:53 , Xuxiaohu wrote:
>>>>>>> For example, assume a label block {1000, 1999} is allocated for
>>>>>>> prefix
>>>>>> segments by almost all SR routers and a global label 1005 is
>>>>>> allocated to a given prefix segment, for a given seldom SR router
>>>>>> which couldn't preserve the above label block and allocates a
>>>>>> different label block (e.g., {2000, 2999}) instead, a local label
>>>>>> corresponding to that global label (or that prefix segment) could
>>>>>> be calculated through offsetting, i.e., the result is 1005+
>>>>>> (2000-1000)=2005. In this way, there is no need for introducing the
>>>>>> Index concept anymore and therefore the architecture becomes much
>>>>>> easy to understand. More importantly, compared to the index binding
>>>>>> advertisement, the label binding advertised by the IGP is exactly
>>>>>> the same as that in the label forwarding table for those most SR
>>>>>> routers which have allocated the above common label block, which is
>>>>>> much
>>>> beneficial when doing troubleshooting. This approach does not violate
>>>> the strongest MPLS dogma (i.e., labels MUST be local) while!
>>>>>>     taking in
>>>>>> to account the actual situation, IMHO
>>>>>>
>>>>>> above would require the "seldom SR router" to know the offset from
>>>>>> the SRGB used by other routers. How do you envision that to be learned?
>>>>>
>>>>> Hi Peter,
>>>>>
>>>>> I don't think it's a big problem. The common SRGB could either be
>>>>> manually
>>>> configured on the seldom SR router or advertised by the MS.
>>>>
>>>> manual configuration is not an option - just imagine you have
>>>> multiple "seldom SR routers", each having a different label block.
>>>> Now you not only need an offset for "common" block, but also offset
>>>> between label blocks used on these "seldom SR routers".
>>>
>>> Peter,
>>>
>>> Why do you need offset between label blocks used on these seldom SR routers?
>> The common block is the only frame of reference, IMO.
>>
>> let's imagine you have two "seldom SR routers", A and B, directly connected. A is
>> using label block 1000-2000, B is using 2000-3000. For simplicity, let's assume
>> rest of the routers use the block 0-1000.
>>
>> Now let's imagine you have a prefix X, which is advertised with label 25 from a
>> router that uses the common block (0-1000). On A you configure the offset
>> +1000, so it allocate a local label of 1025 for X. Now A wants to send a traffic for
>> X via B. You would have to configure on A the offset of B as +2000 (against the
>> common block) or as +1000 (against the A's block), so when A sends a traffic to
>
> Only against the common block since it is the only frame of reference.

'only' is a bit misleading here. The bottom line is that on each router 
that peers with 'seldom SR' router, there would need to be a specific 
config added - IMHO that is not an acceptable solution.


>
>> B, it will use label 2025.
>> No matter which method of specifying the offset you use, the point is that on A
>> you need to know the offset of all "seldom SR" routers that you may end up
>> sending traffic to - either directly, or indirectly. Such a configuration model does
>> not scale.
>
> Those "seldom SR" routers would advertise their own blocks. And only those "seldom SR" routers need to advertise their own blocks. In this way, there is no need to introduce the index space anymore, and therefore the architecture and the troubleshooting become much simpler given the assumption that only seldom SR routers could not allocate that common block.

I believe it is simpler from both implementation and deployment 
perspective to consistently advertise the block from all routers.

thanks,
Peter
>
> Best regards,
> Xiaohu
>
>>
>>>
>>>> Once you start to advertise it, you are back to the model we have
>>>> already, but you made it even worse with offsets.
>>>
>>> I don't think so. Take the above situation as an example, in the index binding
>> mode, you could allow the most SR routers to advertise its label range starting
>> with zero to achieve the above effect (although it conflicts with the definition of
>> label range). However, for the seldom SR router, what label range should it
>> advertise?
>>
>> the simplest model is for every router (seldom or common) to advertise its label
>> block.
>
>> regards,
>> Peter
>>
>>>
>>> Best regards,
>>> Xiaohu
>>>
>>>> regards,
>>>> Peter
>>>>
>>>>>
>>>>> Best regards,
>>>>> Xiaohu
>>>>>
>>>>>> regards,
>>>>>> Peter
>>>>>>
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Xiaohu
>>>>>
>>>
>