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

Hannes Gredler <hannes@rtbrick.com> Wed, 03 May 2017 15:42 UTC

Return-Path: <hannes@rtbrick.com>
X-Original-To: rtg-dir@ietfa.amsl.com
Delivered-To: rtg-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D0901129445 for <rtg-dir@ietfa.amsl.com>; Wed, 3 May 2017 08:42:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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_NONE=-0.0001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtbrick.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 Ef9Rm2BCJmNI for <rtg-dir@ietfa.amsl.com>; Wed, 3 May 2017 08:42:36 -0700 (PDT)
Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5FA3A129457 for <rtg-dir@ietf.org>; Wed, 3 May 2017 08:40:24 -0700 (PDT)
Received: by mail-wr0-x242.google.com with SMTP id 6so23550874wrb.1 for <rtg-dir@ietf.org>; Wed, 03 May 2017 08:40:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtbrick.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=u//VV3xQXQGagiCKrwSIZYomytDcJGIUJadCW90ES2k=; b=KIkWdVfgZ2w7hF/DJk+L+KGXO9GemyPgr6wzLK9FbZVvgUXBgLAjBaWkOia0hzVZId gkd234YXU9dDbBI5NumGhsu2BvCxBPaNtq4/3gNprwx3qGgwbGGyoy2A82cvnJ9/OUfK XOn+JYOEepiI81kptsmgOlKCb1ew9qVyCmAejY011ckDFMqtX/XbD2bLvEy5pOvfcohK MH+jwgxsDFEvi0yDVc5lFKwhc68z6vRUHkTbCuA0grldoupgmT68KV8lnH19+pClkYYi sH5RKhj7y0P8HatuuygfCwH+VJWmFuzNXbh8bY8Zfd8ay/Ibw8LM0Ehhm1H03j4x6FLA gI4A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=u//VV3xQXQGagiCKrwSIZYomytDcJGIUJadCW90ES2k=; b=EAsi0cYvLzSBXjZUh9rCC4CvcSzR/XkHuEImbt9OsisafPOcUZKyXIHgr8763AtrOl v/AbZir1mkF04T7U9fgpe60fSrDmI6hJRoRBR1SkKUZoE9xVCDxWDpjFrOHZQJHU4OoH BpHK6ieOheI/3W3/fVuL2ZMTLAsZjyddC4Z+xwv28x/QS+DFbtiEpuXOR8RgFZX4cZV8 /O2J+1QB/RKCEYwTgUTFyRiNr9hS3hyvdTEQHNq1z7dRU5y5jxQjnYKLY2RU1IZ/7t7C afjFefWaH6iQTPExldHIOg5rS8bVpHUFEguHHC3UTWMTJ0wDGt3PhTnq3XElQ4kXa6gG yV0A==
X-Gm-Message-State: AN3rC/5zwUKjvWOrIIZSTDKX/jB/hQV908QE8R3F4W4ol3+00e1lqaUR aTligS67oSqmI9K7
X-Received: by 10.223.173.23 with SMTP id p23mr27146251wrc.117.1493826022736; Wed, 03 May 2017 08:40:22 -0700 (PDT)
Received: from [172.16.213.119] ([46.183.103.8]) by smtp.gmail.com with ESMTPSA id f25sm25920016wrf.13.2017.05.03.08.40.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 May 2017 08:40:22 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (1.0)
From: Hannes Gredler <hannes@rtbrick.com>
X-Mailer: iPhone Mail (14E277)
In-Reply-To: <5909F4C0.2010306@cisco.com>
Date: Wed, 03 May 2017 17:40:13 +0200
Cc: 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
Content-Transfer-Encoding: quoted-printable
Message-Id: <7DFC8F58-1EDD-4239-9D8E-468EEF137FBE@rtbrick.com>
References: <CAHANBt+ZdrU_=CquJSzisV1ore_=_QmPcxDfM=MBGYDj0GKZbg@mail.gmail.com> <5909F4C0.2010306@cisco.com>
To: Peter Psenak <ppsenak@cisco.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-dir/hWwZ8QnwiGIQerq_X-jKZxvfWMg>
Subject: Re: [RTG-DIR] RtgDir QA review: draft-ietf-ospf-segment-routing-extensions-12
X-BeenThere: rtg-dir@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Routing Area Directorate <rtg-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-dir/>
List-Post: <mailto:rtg-dir@ietf.org>
List-Help: <mailto:rtg-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 15:42:39 -0000

not sure where the ordering requirements have come in. no need from my POV.
feel free to drop it.
/hannes

> On 3 May 2017, at 17:18, Peter Psenak <ppsenak@cisco.com> wrote:
> 
> 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
>> .
>> 
>