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

Shraddha Hegde <shraddha@juniper.net> Wed, 17 December 2014 08:51 UTC

Return-Path: <shraddha@juniper.net>
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 920761A1B9A; Wed, 17 Dec 2014 00:51:48 -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, 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 qZsFD1UCEay5; Wed, 17 Dec 2014 00:51:46 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0712.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:712]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 88B711A1B88; Wed, 17 Dec 2014 00:51:45 -0800 (PST)
Received: from BY1PR0501MB1381.namprd05.prod.outlook.com (25.160.107.139) by BY1PR0501MB1383.namprd05.prod.outlook.com (25.160.107.141) with Microsoft SMTP Server (TLS) id 15.1.36.23; Wed, 17 Dec 2014 08:51:22 +0000
Received: from BY1PR0501MB1381.namprd05.prod.outlook.com ([25.160.107.139]) by BY1PR0501MB1381.namprd05.prod.outlook.com ([25.160.107.139]) with mapi id 15.01.0031.000; Wed, 17 Dec 2014 08:51:22 +0000
From: Shraddha Hegde <shraddha@juniper.net>
To: Peter Psenak <ppsenak@cisco.com>, "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>
Thread-Topic: draft-ietf-ospf-segment-routing-extensions-03
Thread-Index: AdAW/kuWGscufT8EQDeA0Yv5U29aiwAi7qSAAGZ5RmAACscGgAABGydwAAHhR4AAF+92MAAE7zeAAAFQ+jA=
Date: Wed, 17 Dec 2014 08:51:21 +0000
Message-ID: <BY1PR0501MB1381EE162C9D448F4CC978B6D56D0@BY1PR0501MB1381.namprd05.prod.outlook.com>
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> <54913651.2050600@cisco.com>
In-Reply-To: <54913651.2050600@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [116.197.184.19]
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:BY1PR0501MB1383;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:; SRVR:BY1PR0501MB1383;
x-forefront-prvs: 042857DBB5
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(13464003)(199003)(24454002)(164054003)(51704005)(479174004)(189002)(2656002)(87936001)(76576001)(46102003)(21056001)(66066001)(64706001)(20776003)(33656002)(31966008)(54206007)(4396001)(101416001)(19580405001)(19580395003)(2900100001)(2950100001)(102836002)(68736005)(106356001)(99286002)(105586002)(93886004)(230783001)(107046002)(97736003)(2501002)(40100003)(92566001)(122556002)(86362001)(2201001)(62966003)(77156002)(54606007)(50986999)(76176999)(54356999)(74316001)(99396003)(120916001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0501MB1383; H:BY1PR0501MB1381.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Dec 2014 08:51:21.1753 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0501MB1383
Archived-At: http://mailarchive.ietf.org/arch/msg/ospf/qY98xh4gUSOG58lbTMHpelyaOCw
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 08:51:48 -0000


-----Original Message-----
From: Peter Psenak [mailto:ppsenak@cisco.com] 
Sent: Wednesday, December 17, 2014 1:23 PM
To: Shraddha Hegde; rob.shakir@bt.com; draft-ietf-ospf-segment-routing-extensions@tools.ietf.org
Cc: ospf@ietf.org; isis-wg@ietf.org
Subject: Re: draft-ietf-ospf-segment-routing-extensions-03

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?


<Shraddha> Lets say set  S1 has some characteristic  "X" and set S2 has characteristic "Y".
                         Lets say we want to build explicit routed label stack which says " give me load balancing path using links with characteristic X".
                         

                         Lets say there is another set of nodes R3 and R4 and similar S1 and S2 bundles on them and R3 advertising label 30 and 40 for S1 and S2
                        Respectively. Labels are local to the nodes and we cannot use labels to identify what characteristic or set they stand for.

                       .To satisfy the constraint whether to use label 10
                        Or 20 on R1 and whether to use 30 or 40 is a problem. The application which is trying to build the label stack cannot identify which label to use from R1 and R3 because there are              sets and labels but which label  Represents which set is missing.
                        If there is an identifier for the set and this identifier comes with label it can be done easily.
       
                        

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