Re: [OSPF] Comments draft-ietf-ospf-segment-routing-extensions-00.txt

Peter Psenak <ppsenak@cisco.com> Thu, 03 July 2014 08:09 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 83FAE1A02F1 for <ospf@ietfa.amsl.com>; Thu, 3 Jul 2014 01:09:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.152
X-Spam-Level:
X-Spam-Status: No, score=-15.152 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, RP_MATCHES_RCVD=-0.651, 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 VL5HCJq1SUh2 for <ospf@ietfa.amsl.com>; Thu, 3 Jul 2014 01:09:34 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 471F21A00E1 for <ospf@ietf.org>; Thu, 3 Jul 2014 01:09:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4784; q=dns/txt; s=iport; t=1404374974; x=1405584574; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=OIAaK8J46Si7K9i/iYdmRzHudCkd5v4Xj92l0fBiqPk=; b=bJzOfMbs3KzUR+LrfxB8iLmqWDlA6gdD7RthzOUeM1WR1y36lCDUQdEG xQGP/TLRte75+7DtkSBesIpb9G13PW60OmbO04EPGD+rQUKL6W0jVUme4 63Qj3h0XAlZ1n6113OMjPVOBazH3yPX/LDJbyWMckcil7DS7MXQGIS1WB o=;
X-IronPort-AV: E=Sophos;i="5.01,593,1400025600"; d="scan'208";a="103604041"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP; 03 Jul 2014 08:09:33 +0000
Received: from [10.55.51.202] (ams-ppsenak-8719.cisco.com [10.55.51.202]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id s6389WwP000518; Thu, 3 Jul 2014 08:09:32 GMT
Message-ID: <53B50FBC.60803@cisco.com>
Date: Thu, 03 Jul 2014 10:09:32 +0200
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: Acee Lindem <acee.lindem@ericsson.com>
References: <948E8138-3BB5-4292-9CF6-4131F6AEED8D@ericsson.com> <53B3EE66.90608@cisco.com> <677E5EF6-C3F0-41DB-A7DA-7C43E07E3B07@ericsson.com>
In-Reply-To: <677E5EF6-C3F0-41DB-A7DA-7C43E07E3B07@ericsson.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/ospf/6SH_xdQY9TTrUqSirw_V-5aOLcI
Cc: OSPF List <ospf@ietf.org>
Subject: Re: [OSPF] Comments draft-ietf-ospf-segment-routing-extensions-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: Thu, 03 Jul 2014 08:09:36 -0000

Hi Acee,

please see inline:

On 7/2/14 19:17 , Acee Lindem wrote:
> Hi Peter,
> It seems there are two distinct deployment scenarios - one where SR routers are given a range and policy and allocate their own SIDs and another where a mapping server does it for the routing domain.

yes, that is correct. The latter is used mainly during migration from 
LDP to SR.



>>>         6. Section 4.2 - I really don’t like having his sub-TLV redefine the subsuming top-level TLV as a range of prefixes of the same length rather than a single prefix. Although this is my first serious reading of the draft, this encoding seems really unwieldy and, in practice, I’d expect the range size always advertised as 1. We can discuss this more in Toronto.
>>
>> an example where the range would be more then 1 is a mapping server case. This helps you to advertise SIDs for loopback addresses of all routers in a non-SR capable part of the network, assuming they are allocated from the contiguous address space. Instead of advertising hundreds of mappings for each /32 address, you can compact it to a single advertisement.
>
> I’ve seen loopbacks allocated sequentially in a few networks but many more where there weren’t.

still, having a mechanism to compact the advertisements if possible 
looks appealing.

>
>>
>> What you need in such case is component prefix/length plus the number of components - OSPF Extended Prefix TLV gives you the component info and Prefix SID Sub-TLV "Range Size' gives you the number of components.
>
> I understood it but I don’t like the sub-TLV extending the specification of the higher level TLV. I especially don’t like it since the top-level TLV is a generic mechanism to advertise attributes.  When additional attributes are defined, it begs the of whether or not they apply solely to the prefix or to the range.

high level TLV advertise a single prefix/mask. It's the sub-TLV which 
may extend the applicability to the range if required, so the scope is 
defined by each sub-TLV.

>
>>
>> We could have defined a separate top level TLV in OSPF Extended Prefix LSA for the advertisement of range of components, but it looks to me that would be an overkill.
>
> I would have preferred that. When the SID attributes are embedded (OSPFv3 and ISIS), I think the semantics are even more unnatural since reachability MAY be advertised for the prefix while SID mapping is being advertised for the range.

I had the same reservations at the beginning :)
But there is no problem really. Prefix-SID sub-TLV never advertises any 
reachability, whether it advertises a single SID or a range of SIDs. For 
Prefix-SID sub-TLV, prefix from the higher level TLV has a meaning of 
"start" and Prefix-SID sub-TLV always carry its own "size" - just a 
different interpretation of the data from the higher level TLV.

Please note that SID range is quite different from the address range we 
are used to from summarization. SID range requires three parameters 
(address/mask and count), compared to two parameter (address/mask) that 
traditional address range uses. As a result, Extended prefix TLV as such 
can not cover the SID range, because it only has address/mask. Defining 
a top-level TLV for a SID range itself does not really fit into Extended 
Prefix LSA and having a new LSA for it is not an option I would say. So 
the current encoding looks like a good compromise to me.

thanks,
Peter

>
>> Current encoding of Prefix SID Sub-TLV gives us all the flexibility we need. In addition it matches what ISIS has done.
>
> I haven’t seen any discussion of the draft on the ISIS list other than the revision updates.
>
> Thanks,
> Acee
>
>
>
>>
>>
>>>
>>>         7. Section 4.2 - Shouldn’t the reference for the mapping server be the “Segment Routing Architecture” rather than the “Segment Routing Use Cases”? In general, the usage of a mapping server and the scope of assignment needs to be described better somewhere (not in the OSPF encoding document).
>>
>> will fix the reference
>>
>>>
>>>         8. Section 6 - It would seem that an entity calculating a multi-area SR path would need access to the topology for all the areas and the SID would need to be globally assigned? Right?
>>
>> correct.
>>
>>> So rules are primarily for the population of the forwarding plane. Right?
>>
>> for advertisement/propagation of SIDs and for forwarding plane programming.
>>
>>>
>>>         9. Section 6.2 - In standard OSPF, inter-area summary propagation only applies to inter-area routes learned over the backbone. Is this any different?
>>
>> no, the mechanism is the same as for type-3s.
>>
>> thanks,
>> Peter
>>
>>>
>>> Thanks,
>>> Acee
>>>
>>>
>>>
>>> .
>>>
>>
>
> .
>