Re: [Pce] Shepherd Review of draft-ietf-pce-pcep-flowspec

"Adrian Farrel" <adrian@olddog.co.uk> Sun, 05 January 2020 18:51 UTC

Return-Path: <adrian@olddog.co.uk>
X-Original-To: pce@ietfa.amsl.com
Delivered-To: pce@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6FEFD1200F4; Sun, 5 Jan 2020 10:51:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.618
X-Spam-Level:
X-Spam-Status: No, score=-2.618 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
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 ExgFjPBS_EEz; Sun, 5 Jan 2020 10:51:41 -0800 (PST)
Received: from mta6.iomartmail.com (mta6.iomartmail.com [62.128.193.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 027B612007A; Sun, 5 Jan 2020 10:51:37 -0800 (PST)
Received: from vs2.iomartmail.com (vs2.iomartmail.com [10.12.10.123]) by mta6.iomartmail.com (8.14.4/8.14.4) with ESMTP id 005IpZKv029374; Sun, 5 Jan 2020 18:51:35 GMT
Received: from vs2.iomartmail.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 773EE22044; Sun, 5 Jan 2020 18:51:35 +0000 (GMT)
Received: from asmtp1.iomartmail.com (unknown [10.12.10.248]) by vs2.iomartmail.com (Postfix) with ESMTPS id 6224222042; Sun, 5 Jan 2020 18:51:35 +0000 (GMT)
Received: from LAPTOPK7AS653V (83-215-194-123.stjo.dyn.salzburg-online.at [83.215.194.123]) (authenticated bits=0) by asmtp1.iomartmail.com (8.14.4/8.14.4) with ESMTP id 005IpYGY030136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 5 Jan 2020 18:51:35 GMT
Reply-To: adrian@olddog.co.uk
From: Adrian Farrel <adrian@olddog.co.uk>
To: julien.meuric@orange.com, draft-ietf-pce-pcep-flowspec@ietf.org
Cc: pce@ietf.org
References: <22192_1573830096_5DCEBDD0_22192_23_1_050def8f-dc47-4d5b-1303-2928ef08a041@orange.com>
In-Reply-To: <22192_1573830096_5DCEBDD0_22192_23_1_050def8f-dc47-4d5b-1303-2928ef08a041@orange.com>
Date: Sun, 05 Jan 2020 18:51:34 -0000
Organization: Old Dog Consulting
Message-ID: <001601d5c3f9$277b1b30$76715190$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQIVwtKLKN9myvWGQraM0WDlr6TLxKdcPUew
Content-Language: en-gb
X-Originating-IP: 83.215.194.123
X-Thinkmail-Auth: adrian@olddog.co.uk
X-TM-AS-GCONF: 00
X-TM-AS-Product-Ver: IMSVA-9.0.0.1623-8.2.0.1013-25150.002
X-TM-AS-Result: No--20.540-10.0-31-10
X-imss-scan-details: No--20.540-10.0-31-10
X-TMASE-Version: IMSVA-9.0.0.1623-8.2.1013-25150.002
X-TMASE-Result: 10--20.540100-10.000000
X-TMASE-MatchedRID: 8HTFlOrbAtGWfDtBOz4q23FPUrVDm6jtUb4EdIZGxuCnRvssirgAK4O3 X3IJL/YZ/NIOugvPDyxgBKW7UCfQnnChPHB61wQjcI7vRACwF0Lg02I3oyGU8GmJ+7V5rRczrr5 TE4GLzk2Q63ZCKLk6vXxHUwRvOwGVcrsHGroIav0dDctFr7spHFB1e7/F/vq58jflxBKMkr5qQK teErN22XQ7ZT3z26Zt+6EpEaCf59Dpw2ocrkGyOKmukiZOfPi2dNmQukSciLi5RTcaZKGriQr0S egbwNvkKgu3wA/rn07zH360QvdSLTGzHcks325JvOAv94sAIMTM8zLNncnslQ3Ls6fBybZtBUz2 Q+xpjHj2YFicxslkX4tELTaaa8xj09VVSm4W+C+KYdYQLbymTQXj39T+BEfAI0YrtQLsSUxUCbx ry6s+wAgME5iwys6jTWMd3IobVTmbp59WF6ZpCmgws6g0ewz2SuH+GfgmQGfNWDA/tkxh/wnzjb MpF4NieV1sjgdoraRcYOwV88XbAve68P7UGSXtN19PjPJahlLOFaObL3St2wlAOTb7jjzgTzVBr RvUvYWJzXzyp3mrjiRyWxTA+zKnqUa/04UfX56Ev01fZOqaQH5NUJRWuWaGR/IzlV+CMbZgUob/ Kbg6S1OXFRSgmYIH8/EriPF7LJ2xvbBx4KUBKFkxnoxnQfVSzlT5a6V0OSPcUlQs8YFKzkD4f8Q tBCGZCzAsZLk6v2TkMPza5anWT2o7kOpAebY/RwGuU/RcW5byR9+fVCb6GGmycYYiBYyZmx64yh YBxcfplb8m3Sz+5gL9tGteQH9JeU+pIViiAQeeAiCmPx4NwFkMvWAuahr8m5N2YHMD0b8MyrfP9 j+C1bxAi7jPoeEQftwZ3X11IV0=
X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0-0
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/mb-XHg0A8XSRefShSXiRkgmVWYY>
Subject: Re: [Pce] Shepherd Review of draft-ietf-pce-pcep-flowspec
X-BeenThere: pce@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Path Computation Element <pce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pce>, <mailto:pce-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pce/>
List-Post: <mailto:pce@ietf.org>
List-Help: <mailto:pce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pce>, <mailto:pce-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jan 2020 18:51:46 -0000

Hi Julien,

Long ago you sent your review. Comments in line.

At the same time, we see that IDR has basically completed work on draft-ietf-idr-rfc5575bis and we think we should update this document to use that as a reference instead of RFC 5575 and RFC 7674.

Finally, someone contacted us privately to ask that we add a flag to a PCEP flowspec to indicate that it should not be installed as a data plane filter, but should be installed as a 'normal route' with longest prefix matching. That is a simple change, but nevertheless a change of technical substance. I'll send a separate email to the list to see whether anyone else is interested and determine whether we can craft some text.

I'll do a new revision and then start the thread for the additional point noted above.

Best wishes for the New Year,
Adrian

===

> I still have one pending question, related to section 8.7. (Priorities
> and Overlapping Flow Specifications). I understand this section as
> "priorities within PCEP-installed flow specs follow the same ordering
> rules as BGP-installed flow specs, i.e. [RFC5575]". Let us now look at a
> device supporting both protocols to install flow specs:
> - Is there an implicit scope associated to each set of flow specs making
>   them mutually exclusive?
> - If both sets can overlap, can we assume that priority rules do not
>   care about the protocol used to install the flow specs?
> Adding a couple of sentences may be enough to clarify that.

You raise a very good point. I am not certain how often this is going to arise, but it seems almost certain that were we to decide it could never arise, it would immediately become a requirement from the field. So we should address it.

Now, draft-ietf-idr-rfc5575bis-18.txt talks only about BGP, but section 5.1 gives a description of how flow specifications are ordered for traffic matching regardless of what order they arrive in BGP. I think we should assume that all traffic is open to all flowspecs whether installed by BGP for firewalls or routing, or installed by PCEP for classification onto traffic paths (LSPs or SR paths). I believe that similar work is being looked at for classification of traffic onto service function chains, and I imagine that those flowspecs might also coincide with BGP and PCEP flowspecs.

I think that all we need do is:
- call out that both protocols might be simultaneously present and distributing flowspecs for installation
- make the observation that the rules defined in section 5.1 of draft-ietf-idr-rfc5575bis apply regardless of which protocol distributed the flowspec.

That brings me to the text in 8.7:
OLD
   Flow specifications can overlap.  For example, two different flow
   specifications may be identical except for the length of the prefix
   in the destination address.  In these cases the PCC must determine
   how to prioritize the flow specifications so as to know to which path
   to assign packets that match both flow specifications.  That is, the
   PCC must assign a precedence to the flow specifications so that it
   checks each incoming packet for a match in a predictable order.

   The processing of BGP Flow Specifications is described in [RFC5575].
   Section 5.1 of that document explains the order of traffic filtering
   rules to be executed by an implementation of that specification.

   PCCs MUST apply the same ordering rules as defined in [RFC5575].
NEW
   Flow specifications can overlap.  For example, two different flow
   specifications may be identical except for the length of the prefix
   in the destination address.  In these cases the PCC must determine
   how to prioritize the flow specifications so as to know to which path
   to assign packets that match both flow specifications.  That is, the
   PCC must assign a precedence to the flow specifications so that it
   checks each incoming packet for a match in a predictable order.

   The processing of BGP Flow Specifications is described in 
   [I-D.ietf-idr-rfc5575bis].  Section 5.1 of that document explains the
   order of traffic filtering rules to be executed by an implementation
   of that specification.

   PCCs MUST apply the same ordering rules as defined in 
   [I-D.ietf-idr-rfc5575bis].

   Furthermore, it is possible that Flow Specifications will be distributed
   by BGP as well as by PCEP as described in this document.  In such 
   cases implementations supporting both approaches MUST apply the
   prioritization and ordering rules as set out in [I-D.ietf-idr-rfc5575bis]
   regardless of which protocol distributed the Flow Specifications,
   however implementations MAY provide a configuration control to 
   allow one protocol to take precedence over the other as this may be
   particularly useful if the Flow Specification make identical matches
   on traffic but have different actions.  It is RECOMMENDED that when
   two Flow Specifications distributed by different protocols overlap,
   and especially when one acts to replace another, that a message be 
   logged for the operator to understand the behaviour.
END

> Please find below a few additional nits.
> ------
> 1. Introduction
>
> - The abstract uses "traffic engineered networks", the intro "traffic
> engineering networks". I do not have any strong preference, but
> consistency would be welcome. (By the way, no hyphen in
> "traffic-engineered"?)

Yes. "traffic engineering"

> - s/to Generalized MPLS (GMPLS) networks/to Generalized MPLS
> (GMPLS)-controlled networks/

OK

> - s/about the the LSPs/about the LSPs/

oops

> - OLD:
>   The data flows
>   intended for a tunnel can be described using Flow Specification
>   Components, and when PCEP is in use for tunnel initiation it makes
>   sense for that same protocol to be used to distribute the Flow
>   Specification Components that describe what data is to flow on those
>   tunnels.
>  NEW:
>   The data flows
>   intended for a tunnel can be described using Flow Specification
>   Components; when PCEP is in use for tunnel initiation, it makes
>   sense for that same protocol to be used to distribute the Flow
>   Specification Components that describe what data is to flow on those
>   tunnels.

Going even further and using a period.

> 3.2. Elements of Procedure
> 
> - s/in each case including whether/in each case. This includes whether/

OK

> 6. Flow Filter TLV
> 
> OLD:
>   Only one Flow Filter TLV can be
>   present and represents the complete definition of a Flow
>   Specification for traffic to be placed on the tunnel indicated by the
>   PCEP message in which the PCEP Flow Spec Object is carried.
> NEW:
>   Only one Flow Filter TLV can be
>   present and represents the complete definition of a Flow
>   Specification for traffic to be placed on a tunnel; this tunnel is
>   indicated by the PCEP message in which the PCEP Flow Spec Object
>   is carried.

Again, a period.

> 7. Flow Specification TLVs
>
> [Page 14]
> "Two bit flags (S and G) are defined.  They have the common meanings for
> wildcarding in multicast."
> -> At least a reference would be appreciated to teach about what
> "common" refers to.

I thought I was going to find this in 7761, but it wasn't that easy.
Since the text immediately afterwards explains the bits anyway, we can change this to...

Two bit flags (S and G) are defined to describe the multicast wildcarding in use.

> [Page 15]
>  "if a Multicast Flow
>   Specification TLV is received with S bit = 0 and G bit = 1 the
>   receiver SHOULD respond"
> -> Is there a reason why it is not a MUST?

Right. I can't think of a "but MAY decide to let off fireworks and drink prosecco," so we'll use MUST.

> 13. Manageability Considerations
>
> - s/view the the Flow Specifications/view the Flow Specifications/

Again?

> - s/implementations MUST support indicating/implementations MUST
> indicate/  [Guessing it was wrongly fixed in -06.]

Yes