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

Shraddha Hegde <shraddha@juniper.net> Wed, 17 December 2014 05:44 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 894361A1BFA for <ospf@ietfa.amsl.com>; Tue, 16 Dec 2014 21:44:05 -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 PVCQh-to0JMo for <ospf@ietfa.amsl.com>; Tue, 16 Dec 2014 21:44:03 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0794.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::794]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BAA871A1BFC for <ospf@ietf.org>; Tue, 16 Dec 2014 21:44:02 -0800 (PST)
Received: from BY1PR0501MB1381.namprd05.prod.outlook.com (25.160.107.139) by BY1PR0501MB1381.namprd05.prod.outlook.com (25.160.107.139) with Microsoft SMTP Server (TLS) id 15.1.31.17; Wed, 17 Dec 2014 05:43:38 +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 05:43:38 +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+92MA==
Date: Wed, 17 Dec 2014 05:43:38 +0000
Message-ID: <BY1PR0501MB13810327100BBA41ECEFA68DD56D0@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>
In-Reply-To: <54907493.8030800@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:BY1PR0501MB1381;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:; SRVR:BY1PR0501MB1381;
x-forefront-prvs: 042857DBB5
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(24454002)(479174004)(13464003)(51704005)(164054003)(377454003)(189002)(199003)(107046002)(93886004)(230783001)(4396001)(54206007)(2501002)(64706001)(46102003)(68736005)(102836002)(66066001)(99286002)(76576001)(97736003)(86362001)(101416001)(33656002)(122556002)(99396003)(50986999)(54356999)(105586002)(120916001)(87936001)(21056001)(40100003)(74316001)(2201001)(20776003)(76176999)(31966008)(62966003)(92566001)(2656002)(77156002)(106356001)(2900100001)(19580405001)(2950100001)(54606007)(19580395003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0501MB1381; H:BY1PR0501MB1381.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
Archived-At: http://mailarchive.ietf.org/arch/msg/ospf/zKhglxxt-SRqzUqjWSFNvbpXhgk
Cc: "ospf@ietf.org" <ospf@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 05:44:05 -0000

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.

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