Re: [OSPF] RtgDir QA review: draft-ietf-ospf-segment-routing-extensions-12

Peter Psenak <ppsenak@cisco.com> Wed, 03 May 2017 15:20 UTC

Return-Path: <ppsenak@cisco.com>
X-Original-To: ospf@ietfa.amsl.com
Delivered-To: ospf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 10418129B8B; Wed, 3 May 2017 08:20:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.523
X-Spam-Level:
X-Spam-Status: No, score=-14.523 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 3BJ3WfxebMlT; Wed, 3 May 2017 08:20:55 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8BFE129B3F; Wed, 3 May 2017 08:18:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6983; q=dns/txt; s=iport; t=1493824708; x=1495034308; h=message-id:date:from:mime-version:to:subject:references: in-reply-to:content-transfer-encoding; bh=otXmcu1OwOMIwBn9yUH0SJTT3te5WKZzq5rTwPs036Q=; b=hVUQ52iQJkmb/4suYNXdoIkkMJXtW4PqYjU84H7GL8cIeraWHrZO0KmE 4Crv5YLukgZl+PxgY7fnfe1WfvY+znX+OrULcfkb9sc1pP4xMcnt/6piC LzDB1L90wVmDSCiZYtg4ojaEnSOz9Dmm9COy0RGRRBixHkbv8eZ2q9PVY I=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BTAQBn8wlZ/xbLJq1cGgEBAQECAQEBAQgBAQEBiSuKGHOQYXKUfIIPhiQChQEYAQIBAQEBAQEBayiFFQEBAQECASMVQAYLCxgCAgUWCwICCQMCAQIBRQYBDAgBAYoVCLEjghQSinIBAQEBAQEBAQEBAQEBAQEBASGBC4VUgV6CZzSEKSSDHIJfAQSWW4cBik6IRoIChTmDQoZjlDQfOIEKLiAIGRWFNhyBZT6JFAEBAQ
X-IronPort-AV: E=Sophos;i="5.38,284,1491264000"; d="scan'208";a="652612578"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 May 2017 15:18:25 +0000
Received: from [10.147.24.33] ([10.147.24.33]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id v43FIO5J022043; Wed, 3 May 2017 15:18:25 GMT
Message-ID: <5909F4C0.2010306@cisco.com>
Date: Wed, 03 May 2017 17:18:24 +0200
From: Peter Psenak <ppsenak@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Stig Venaas <stig@venaas.com>, rtg-dir@ietf.org, ospf@ietf.org, ospf-chairs@ietf.org, draft-ietf-ospf-segment-routing-extensions.all@ietf.org
References: <CAHANBt+ZdrU_=CquJSzisV1ore_=_QmPcxDfM=MBGYDj0GKZbg@mail.gmail.com>
In-Reply-To: <CAHANBt+ZdrU_=CquJSzisV1ore_=_QmPcxDfM=MBGYDj0GKZbg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ospf/_iDN3mNNknRnLAuNFIZtmCNujNQ>
Subject: Re: [OSPF] RtgDir QA review: draft-ietf-ospf-segment-routing-extensions-12
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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, 03 May 2017 15:20:58 -0000

Hi Stig,

please see inline:

On 27/04/17 00:08 , Stig Venaas wrote:
> Hello,
>
> I have been selected as the Routing Directorate reviewer for this
> draft. This is just an early QA review.
>
> The draft is in good shape, but I did find some minor issues and nits.
> It is fairly readable, but it could be improved in a few places.
>
>
> Minor issues:
>
> In 3.1:
> The SR-Algorithm TLV is some places called a Sub-TLV. It might be
> good to be consistent.

fixed.

>
> This is not clear in 3.1:
>     The SR-Algorithm Sub-TLV is optional. It MAY only be advertised once
>     in the Router Information Opaque LSA.
> Is this trying to say that it MUST NOT be advertised more than
> once? With the current wording this is not obviously that strict.

yes, I changed the text to: "It MUST only be advertised once in the 
Router Information Opaque LSA". Hope that is clear enough.


>
> I see some text regarding multiple SR-Algorithm sub-TLVs, but it also
> looks like one can have multiple algorithms in one sub-TLV. At least
> from the diagram.

yes, multiple algorithms in the same SR-Algorithm TLV is fine.

> But I don't see any discussion about this. Is it OK
> to add multiple? When can it be done, what does it mean? What if
> routers don't support the exact same set of algorithms?

router advertise all algorithms it supports. Each router may support 
different set.

>
> The term "lowest flooding scope" is used a couple of places. I think I
> know what it means, but it might be good to point it out. Also, I'm
> used to seeing the term "smallest" rather than "lowest". I'm assuming
> they mean the same.

I changed all places to "narrowest flooding scope".

>
> In 3.2 there is this bullet point:
>     The receiving router must adhere to the order in which the ranges
>     are advertised when calculating a SID/label from a SID index.
>
> You probably should use MUST here.

fixed.

>
> Section 4:
> In section 4 there is a range for advertising a range of prefixes.
> But it looks like it contains a single prefix length and it says
> the length is the length of the prefix. While it says range size
> is the number of prefixes. I don't understand from the text what
> really prefix length and range size means and how this should be
> used.

10.0.1.0/24 - 10.0.100.0/24 represents a range of 100 /24 prefixes, where:

(starting) prefix - 10.0.1.0
length of the prefix is 24
range size is 100

>
> I understand this is IPv4 only since OSPFv2, but rather than just
> saying IPv4 is 0, maybe refer to an IANA AF registry? This might
> be helpful if you want to use the same sub-TLV in OSPFv3 and
> use the same code for parsing etc. IANA has 1 for IPv4 though.

this is equivalent to section 2.1 of RFC7684. I have updated the text to 
match RFC7684.

>
> Section 5:
> Is it intentional that the flags start in position 1 rather than
> 0?

yes. Originally we had N-flag (Node Flag) defined at position 0, but we 
moved that to the OSPFv2 Extended Prefix TLV (section 2.1 of RFC7684). 
Due to an existing implementations, we did not shift all other bits 
after that.

>
> I see that the NP flag should be ignored when M is set. Then I
> see this text:
>     As the Mapping Server does not specify the originator of a prefix
>     advertisement, it is not possible to determine PHP behavior solely
>     based on the Mapping Server advertisement.  However, PHP behavior may
>     safely be done in following cases:
> This seems not very precise. Could you say exactly what the behavior
> should be, rather than saying "behavior may be done"?

would changing  "may safely be done" to "SHOULD be done" be sufficient?

>
> Section 6:
> It might be good to make clear that other flag positions are
> reserved, set to 0 and ignored... Perhaps also point out that
> weight is in the range 0-255

fixed both.

>
> I see this sentence:
>        If the SID/Label Sub-TLV appears in the SID/Label Binding Sub-TLV
>        more than once, instances other than the first will be ignored and
>
> Should it say MUST be ignored?

changed to SHOULD as the previous text says "SHOULD only appear once".

>
> Section 6.2 it says:
>     All ERO Sub-TLVs must immediately follow the SID/Label Sub-TLV.
>     All Backup ERO Sub-TLVs must immediately follow the last ERO Sub-TLV.
>
> Should these be normative MUSTs?

Changed both to MUST.
I'm also going to clarify this with Hannes, whether that is still 
required, because I do not see equivalent text in ISIS draft.

>
> In 6.2.1:
> It would be good for all of these to specify that other flags are
> reserved.

done.


>
>
> Nits:
> The intro should perhaps mention LAN adjacency and binding SIDs?

LAN Adjacency SID is a sub-type of the Adjacency SID. I have added 
sentence about binding/other SID types.

>
> 2nd paragraph of section 2 is confusing. It sounds like
> the Opaque LSAs in 7684 were defined for SID in particular,
> but it is a generic mechanism. Perhaps SID was the
> motivation though?

this part is a left-over from the original draft before we split to 
RFC7684 and this draft.

I replaced the whole paragraph with:

"Extended Prefix/Link Opaque LSAs defined in <xref target="RFC7684"/> 
are used for advertisements of the various SID types."

>
> Section 6.1:
> It says:
>     The ERO Metric Sub-TLV advertises the cost of an ERO path.  It is
>     used to compare the cost of a given source/destination path.  A
>     router SHOULD advertise the ERO Metric Sub-TLV in an advertised ERO
>     TLV.
>
> Is the ERO TLV the ERO Sub-TLVs defined in 6.2? It would be good to
> point that out.

ERO Metric Sub-TLV as well as all the other ERO sub-TLVs in sectin 6.2 
are at the same level - they are all sub-TLVs of the Binding TLV. I 
added some text to 6.2 to make that clear.

>
> In 8.4.2:
>     Broadcast, NBMA or or hybrid
> Extra "or".

fixed.

>
> Section 9:
> There are no new registries and most of the TLVs are already
> allocated? It seems there are a few new ones where it should
> probably say TBD, or say something about being suggested values.
> That was done in earlier sections. I see in some places it says
> "are allocated" here, while it says "suggested" in the definition
> of the TLV.

section 9 lists all the updates to the four different registries. Values 
are explicitly mentioned in section 9 for every single code point.

>
> Section 10:
> It says there are responses from 2 implementers, but I see 3.

fixed

>
> Section 11:
> Are these really all the potential security issues?

I'm not aware of any others. Feel free to suggest more if required.

>
> I'm on vacation the next 2 weeks, so I may not reply to any
> emails during that period.

I will post the new version after closing on the ERO part with Hannes 
and others.

thanks,
Peter

>
> Regards,
> Stig
> .
>