Re: [spring] [Pce] A technical concern regarding Circuit Style Segment Routing Policies draft

Dhruv Dhody <dd@dhruvdhody.com> Sun, 17 July 2022 13:43 UTC

Return-Path: <dd@dhruvdhody.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 22D8BC16ECAF for <spring@ietfa.amsl.com>; Sun, 17 Jul 2022 06:43:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.904
X-Spam-Level:
X-Spam-Status: No, score=-1.904 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=dhruvdhody-com.20210112.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M1x_0F6sh4nv for <spring@ietfa.amsl.com>; Sun, 17 Jul 2022 06:43:49 -0700 (PDT)
Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 32C7BC16ECA8 for <spring@ietf.org>; Sun, 17 Jul 2022 06:43:49 -0700 (PDT)
Received: by mail-pf1-x42d.google.com with SMTP id g126so8568569pfb.3 for <spring@ietf.org>; Sun, 17 Jul 2022 06:43:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvdhody-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zxd08uCh4y6B8q1xT2iLzB0ZpJ43/DSn/G+OfSw1pYA=; b=bOfLMgTRA/VowrnzB3wKewbPfmAP8xxC0AFGnAl11uZCOdoOTu4J7kcmcNnsCh+N9e qO7eJ4vL8hZhcpHaQJRpIrydS7uIUiDtv184elA2BgPRLSHNVoRO/ldKeXl2A7LFdRLY EIjHP9QwyoJN1za5Hpgl3mumH1GOE2Mc6stBinEST9CEdNuK76TCt/kgQra6xe+ZguDM t9GR5TAXGzykM9YYIBq4R9YGQEh+ZzBBmvvkhqo5XqOvusfG1fbTpDFJmyXw3aeV27V6 ba6ZO/wKZ8UG+xIA+JU/zDnLaFqC0Sl4gM6dHMYLHirfGLbERvre4zEhLAj3dkjkG80z k5UQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zxd08uCh4y6B8q1xT2iLzB0ZpJ43/DSn/G+OfSw1pYA=; b=kSmOLQYwwznTDm9X7ju0K9LhwMuV1IgtKshY/5WZ2Q4GtrlA1yglGC2u+JfB51o92m Yu5emRiHqrHVZt1yLHbyakC0AaE8Ndxcu07V1BPYS39Wqc4Ny+n88dq0F3DB/QetkG2c burgearZxEqsxiM05aNpVTz0ZHhu4nKRPUgk2uQQRCo6HlApibqw72Fig/ZUy6Av/qNk ZAMSZRSz2y8Rg5krtxKxMQTl9kao4795zeS+VVdoZUfUXvMSzjheL2gZywGnlQEABBDG RAOxtRjZU+WE7YGMN2eDY5PCQFJEQJ+1V6TihLgP8cSqSU24QlCNu56WgZdFm3lRIni8 j/Zg==
X-Gm-Message-State: AJIora/DmJp9AiHt1YGXZUZKDH6MlV1wrWr3uazVIBBdr55Ih36idw41 Jhc5vjtazlqORMLCASje62oGAn3tLZ2l+Qz7w3JzZQ==
X-Google-Smtp-Source: AGRyM1vJvYWsXrhnb6G2o4/tqY+96gemvIjQ4XSgbMx5ON0QCJUmREmTTqhl2/2LmTTmxR1XvHyuV4IHC38TqvnLSsI=
X-Received: by 2002:a05:6a00:1992:b0:52b:183e:d829 with SMTP id d18-20020a056a00199200b0052b183ed829mr20156570pfl.26.1658065428281; Sun, 17 Jul 2022 06:43:48 -0700 (PDT)
MIME-Version: 1.0
References: <PH0PR03MB63003CD1375C7712BF247CE8F6879@PH0PR03MB6300.namprd03.prod.outlook.com>
In-Reply-To: <PH0PR03MB63003CD1375C7712BF247CE8F6879@PH0PR03MB6300.namprd03.prod.outlook.com>
From: Dhruv Dhody <dd@dhruvdhody.com>
Date: Sun, 17 Jul 2022 19:13:12 +0530
Message-ID: <CAP7zK5Zyqy-guzB3fJZ6E1smPAqUg8zX8TvHJHUxmzwO9vTm=w@mail.gmail.com>
To: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>
Cc: "draft-schmutzer-pce-cs-sr-policy.all@ietf.org" <draft-schmutzer-pce-cs-sr-policy.all@ietf.org>, "pce@ietf.org" <pce@ietf.org>, "spring@ietf.org" <spring@ietf.org>, Rotem Cohen <Rotem.Cohen@rbbn.com>, Nitsan Dolev <Nitsan.Dolev@rbbn.com>, Dmitry Valdman <Dmitry.Valdman@rbbn.com>
Content-Type: multipart/alternative; boundary="000000000000de108105e400709d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/ctrAx6JFaNwLhMCQB5QUdBCR7B8>
Subject: Re: [spring] [Pce] A technical concern regarding Circuit Style Segment Routing Policies draft
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Jul 2022 13:43:52 -0000

Hi Sasha,

Great Questions!

Samuel Sidor might still be on a break. Can any other author like to take a
stab at replying? I would also suggest covering this point during the slot
in the PCE WG session.

Thanks!
Dhruv



On Mon, Jul 11, 2022 at 1:45 PM Alexander Vainshtein <
Alexander.Vainshtein@rbbn.com> wrote:

> Hi all,
>
> I would like to share with you what I see as a serious (and probably
> critical) technical issue with the Circuit Style Segment Routing Policies
> <https://datatracker.ietf.org/doc/html/draft-schmutzer-pce-cs-sr-policy-02>
> draft.
>
>
>
> As I see it:
>
>    - One of the key objectives of this draft is to provide bandwidth
>    guarantees for SR-CS policies
>    - The draft proposes to be achieve this objective by implementing
>    these policies as stacks of unprotected Adj-SIDs (augmented by B-SIDs as
>    teh stack depth reduction mechanisms) and associating specific BW
>    guarantees with these Adj-SIDs that are known to the PCE-based controller.
>
>
>
> The problem with this approach (as defined in the draft) is that IMHO and
> FWIW it completely ignores the possibility of using Adj-SIDs that
> participate in SR-CS policies for other purposes that are neither
> controlled or recognized by the PCE.
>
>
>
> It all starts with the definitions in Section 3.4 of RFC 8402
> <https://datatracker.ietf.org/doc/html/rfc8402#section-3.4> that state
> that:
>
>
>
>
>
>    A node SHOULD allocate one Adj-SID for each of its adjacencies.
>
>
>
>    A node MAY allocate multiple Adj-SIDs for the same adjacency.  An
>
>    example is to support an Adj-SID that is eligible for protection and
>
>    an Adj-SID that is NOT eligible for protection.
>
>
>
> This approach is aligned with the way Adj-SIDs are advertised in IS-IS
> extensions (see Section 2.2.1 of RFC 8667
> <https://datatracker.ietf.org/doc/html/rfc8667#section-2.2.1>) and
> parallel definitions for OSPF.
>
>
>
> It is my understanding that in practice, in modern networks exactly two
> Adj-SIDs – unprotected and protected – are allocated for each IGP
> adjacency, while the SR-CS draft explicitly precludes usage of protected
> Adj-SIDs in SR-CS policies. *SR-CS draft neither explicitly require
> allocation of additional SIDs nor specifies any way for differentiation of
> such SIDs (if they were allocated) from the “normal” unprotected SIDs in
> their IGP advertisements.*
>
>
>
> And unprotected Adj-SIDs  may be – and typically are – used by the
> following mechanisms:
>
>    - TI-LFA as described in Section 6.3 of the TI-LFA draft
>    <https://datatracker.ietf.org/doc/html/draft-ietf-rtgwg-segment-routing-ti-lfa-08#section-6.3>
>    - Micro-loop Avoidance using Segment Routing
>    <https://datatracker.ietf.org/doc/html/draft-bashandy-rtgwg-segment-routing-uloop-13>.
>    Multiple examples in this document explicitly refer to usage of Adj-SIDs in
>    the micro-loop avoidance paths, and, to the best of my understanding, usage
>    of unprotected Adj-SIDs is expected to guarantee loop avoidance.
>
>
>
> Both above-mentioned mechanisms are commonly considered as necessary for
> reliable delivery of what the SR-CS draft calls “connection-less services”
> and, AFAIK,  are widely deployed today. Both rely on network elements
> locally computing certain SR-TE paths after each topology change and using
> them for forwarding traffic under certain conditions while the PCE, even if
> it exists,  remains completely unaware about both potential and actual
> usage of these paths and amount of traffic they carry.  The time when these
> paths are used can vary and may easily be extended to a few seconds “to be
> on the safe side” (e.g., to guarantee that all the routers  in the network
> have completed their IGP convergence).
>
>
>
> It is easy to see that, if the same Adj-SID is simultaneously used in the
> active candidate path of a SR-CS policy and in a transient SR-TE path
> computed by one of the above-mentioned mechanisms, all the BW guarantees of
> the CR-CS policy in question can be violated. And there is not anything
> that the PCE or the head-end of the SR-CS policy) can do about that; most
> probably they even will not be aware of the violation.
>
>
>
>
>
> Hopefully these notes will be useful.
>
>
>
>
>
> Regards,
>
> Sasha
>
>
>
> Office: +972-39266302
>
> Cell:      +972-549266302
>
> Email:   Alexander.Vainshtein@rbbn.com
>
>
>
> Notice: This e-mail together with any attachments may contain information
> of Ribbon Communications Inc. and its Affiliates that is confidential
> and/or proprietary for the sole use of the intended recipient. Any review,
> disclosure, reliance or distribution by others or forwarding without
> express permission is strictly prohibited. If you are not the intended
> recipient, please notify the sender immediately and then delete all copies,
> including any attachments.
> _______________________________________________
> Pce mailing list
> Pce@ietf.org
> https://www.ietf.org/mailman/listinfo/pce
>