Re: [OSPF] draft-ietf-ospf-segment-routing-extensions-03

Peter Psenak <ppsenak@cisco.com> Wed, 17 December 2014 07:52 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 1580D1A0673; Tue, 16 Dec 2014 23:52:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -12.011
X-Spam-Level:
X-Spam-Status: No, score=-12.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_DBL_ABUSE_BOTCC=2.5, 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 QpYbnedlFWOx; Tue, 16 Dec 2014 23:52:52 -0800 (PST)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7292B1A6F49; Tue, 16 Dec 2014 23:52:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6020; q=dns/txt; s=iport; t=1418802771; x=1420012371; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=VfQvrRV3fiarnZKd2E9EI8gVGm1iGFBt+CNNrP8jdTs=; b=aUlnAtCmwvnjnHHZDRhcLfcJYtZE8Bm+VNYK8Erg9bs7JkIO9ZEd++Mm FNcQgXo4uyddqYqq1pwm6yQUZYhgG4U9HUEM7KEofDPqbkPmyq9D34Ayl aYnYK3Z1rZXMd0q78PPYZlMQiquPsiUfdYYdGxGWM+5FEv0II6ENP+UIS s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgEFAEA1kVStJssW/2dsb2JhbABahDDLdwKBMQEBAQEBfYQMAQEBAwE4NQsBDAQLEQQBAQEJFggHCQMCAQIBNAkIBgEMAQUCAQGIIAjUKQEBAQEBAQEBAQEBAQEBAQEBAQEBARePcgcGhCMBBJZ3gQuCXoIQi0Aig209MIJDAQEB
X-IronPort-AV: E=Sophos;i="5.07,592,1413244800"; d="scan'208";a="273243763"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP; 17 Dec 2014 07:52:49 +0000
Received: from [10.55.51.195] (ams-ppsenak-8712.cisco.com [10.55.51.195]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id sBH7qmiK007650; Wed, 17 Dec 2014 07:52:49 GMT
Message-ID: <54913651.2050600@cisco.com>
Date: Wed, 17 Dec 2014 08:52:49 +0100
From: Peter Psenak <ppsenak@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Shraddha Hegde <shraddha@juniper.net>, "rob.shakir@bt.com" <rob.shakir@bt.com>, "draft-ietf-ospf-segment-routing-extensions@tools.ietf.org" <draft-ietf-ospf-segment-routing-extensions@tools.ietf.org>
References: <BY1PR0501MB13814F720E08CE2F7F36BE44D56C0@BY1PR0501MB1381.namprd05.prod.outlook.com> <D0B60FCD.70368%rob.shakir@bt.com> <BY1PR0501MB13811178FB2F413C670A0B45D56C0@BY1PR0501MB1381.namprd05.prod.outlook.com> <54907493.8030800@cisco.com> <BY1PR0501MB13810327100BBA41ECEFA68DD56D0@BY1PR0501MB1381.namprd05.prod.outlook.com>
In-Reply-To: <BY1PR0501MB13810327100BBA41ECEFA68DD56D0@BY1PR0501MB1381.namprd05.prod.outlook.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/ospf/3gc_buKlG12KxURi8CKQY9jvWXE
Cc: "ospf@ietf.org" <ospf@ietf.org>, "isis-wg@ietf.org" <isis-wg@ietf.org>
Subject: Re: [OSPF] draft-ietf-ospf-segment-routing-extensions-03
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: Wed, 17 Dec 2014 07:52:54 -0000

Shraddha,

added ISIS WG alias, as this is not specific to OSPF.

Please see inline:


On 12/17/14 06:43 , Shraddha Hegde wrote:
> Peter,
>
>
> Please see inline:
>
> -----Original Message-----
> From: Peter Psenak [mailto:ppsenak@cisco.com]
> Sent: Tuesday, December 16, 2014 11:36 PM
> To: Shraddha Hegde; rob.shakir@bt.com; draft-ietf-ospf-segment-routing-extensions@tools.ietf.org
> Cc: ospf@ietf.org
> Subject: Re: draft-ietf-ospf-segment-routing-extensions-03
>
> Hi Shraddha,
>
> please see inline:
>
> On 12/16/14 18:31 , Shraddha Hegde wrote:
>> Rob,
>>
>> Pls see inline..
>>
>> -----Original Message-----
>> From: rob.shakir@bt.com [mailto:rob.shakir@bt.com]
>> Sent: Tuesday, December 16, 2014 10:11 PM
>> To: Shraddha Hegde; ppsenak@cisco.com;
>> draft-ietf-ospf-segment-routing-extensions@tools.ietf.org
>> Cc: ospf@ietf.org
>> Subject: Re: draft-ietf-ospf-segment-routing-extensions-03
>>
>> Shraddha,
>>
>> Is it really up to the neighbor to specify what was previously a bundle?
>>
>> <Shraddha>  The graceful restart in OSPF as per RFC  3623 works by learning  the LSAs from neighbor after the restating router comes up and builds the LSA database based on the learnt 		LSAs.
>> 	          The neighbor relays back the LSA generated by the restarting router. The Extended link LSA contains the adj-sid Label TLV which
>>                              Has the "s bit" set indicating the label is a set label. If there are multiple such set labels associated with a link, its difficult to associate which label was allocated for which bundle.
>>
>>                             If there is a some kind of identifier for the bundle, the label can be easily associated.
>
> I don't think adding additional info to be distributed by the protocol is the right way to address the local data persistence across restart/switch over. If you need to make sure that the LSA contains the same data prior and after GR, you can checkpoint them and restore from checkpoint after GR.
>
> <Shraddha>I think if the protocol extensions are flexible enough, no checkpointing would be required and everything can be recovered from the information learnt from neighbor.
>
>                           It is not only about "graceful restart", I find the information to associate set label to a bundle missing. Think of an application which has to look up the LSA database and build
>                           An explicitly routed label stack using bundled labels. If there are multiple adj-sid with "s bit  set"originated by a node, it's not easy to make a choice which set label to use!
>                          Since there is no information about which label corresponds to which bundle.


Let's imagine you have 4 links (l1, l2, l3, l4) between R1 and R2. You 
split these to two sets on R1:
S1(l1,l2)
S1(l3,l4)

On R1, for links in S1 you advertise Adj-SID 10 and for link in S2 you 
advertise Adj-SID 20.

Any router looking at advertisement from R1 can clearly see the two 
sets. Am I missing something?

thanks,
Peter

>
>                            I find the adj-sid set a very interesting and very useful feature but find the OSPF/ISIS protocol extensions not flexible enough to accommodate all the different ways
>                            An operator may want to deploy bundles.
>
>
>>
>> It is surely the local configuration of the node that determines what the bundle is in the first place, and this is persistent over a graceful-restart of the session?
>>
>> <Shraddha> Yes, IMO local configuration decides which links belong to the bundle. This configuration is persistent over graceful restart.
>>                             You MAY want to bundle all the parallel links between two nodes into a bundle, in which case the existing protocol operations work fine.
>>                              But I think protocol should provide flexibility to make multiple bundles, able to assign a link to multiple bundles (if so desired) and recovering the label across restart.
>
> sure. If you need to make sure that same label is used prior and post GR, you do not need protocol help for that.
>
> thanks,
> Peter
>>
>>
>> Thanks,
>> r.
>>
>> [16/12/2014 16:34, "Shraddha Hegde" <shraddha@juniper.net>]
>>
>>> Peter,
>>>
>>> An extended link LSA can contain multiple adj-sid labels with "s bit" set.
>>> During graceful restart , when self generated LSAs are learnt from
>>> neighbors, A handle is required to associate the set label with the
>>> bundle.
>>>
>>> I think a group-id field along with set label would serve the purpose.
>>>
>>> Rgds
>>> Shraddha
>>> -----Original Message-----
>>> From: Peter Psenak [mailto:ppsenak@cisco.com]
>>> Sent: Sunday, December 14, 2014 4:08 PM
>>> To: Shraddha Hegde;
>>> draft-ietf-ospf-segment-routing-extensions@tools.ietf.org
>>> Cc: OSPF WG List
>>> Subject: Re: draft-ietf-ospf-segment-routing-extensions-03
>>>
>>> Shraddha,
>>>
>>> the idea is that you can assign the same Adj-SID to multiple links.
>>> That way you can create multiple sets as you need.
>>>
>>> thanks,
>>> Peter
>>>
>>>
>>> On 12/13/14 19:19 , Shraddha Hegde wrote:
>>>> Authors,
>>>>
>>>>            When there are multiple parallel links between two nodes,
>>>> it is useful to
>>>>
>>>> Group them into different bundles and use each bundle for load-balancing
>>>>     for different traffic flows.
>>>>
>>>> What we have in adjacency sid is just a flag to indicate that the
>>>> label is a "set label" by setting a flag
>>>>
>>>> In adj-sid TLV. It serves the purpose when all the parallel links
>>>> are in one bundle but not sufficient when
>>>>
>>>> There can be different bundles and different labels for each of them.
>>>>
>>>> An identifier for the group, probably "group-id" is needed to
>>>> associate the label with the interface group.
>>>>
>>>> Any thoughts on this?
>>>>
>>>> Rgds
>>>>
>>>> Shraddha
>>>>
>>>
>>
>> .
>>
>
> .
>