Re: Protecting SR policy midpoints (draft-bashandy-rtgwg-segment-routing-ti-lfa)

Muthu Arul Mozhi Perumal <muthu.arul@gmail.com> Tue, 28 November 2017 16:54 UTC

Return-Path: <muthu.arul@gmail.com>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 355DD1287A5 for <rtgwg@ietfa.amsl.com>; Tue, 28 Nov 2017 08:54:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.998
X-Spam-Level:
X-Spam-Status: No, score=-0.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 pOdvDGW3DZVR for <rtgwg@ietfa.amsl.com>; Tue, 28 Nov 2017 08:54:22 -0800 (PST)
Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 31080126DED for <rtgwg@ietf.org>; Tue, 28 Nov 2017 08:54:22 -0800 (PST)
Received: by mail-io0-x230.google.com with SMTP id d21so523914ioe.7 for <rtgwg@ietf.org>; Tue, 28 Nov 2017 08:54:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=onAbf4RGfcnh2NAzadqpdOrqhrhzERDE+GljKVXtq8Q=; b=IwRZGxv6yLalpl/X1+4GiPomEpKrFlRAKJ2aXeM3KnUFQTHT75dO+lkARCNQzcj3gZ erTWrUpaR324ZuGTMQIDAFHGpXKmPcKwa1rOPyu8ESJdL5t41qc1U7N4HhCI7JSj5tj8 BWsyFeJkUR8B2h/2I2N0BmU4bxgvwW0LdKOTbDMhNOjD4I1d1vk4IcPdWBB3HMb6c6ZN eRwOslUTB6s2p0SciudTpwtDjZhM6kF8w4+35hf8BqC8FPSWmjWlNY7T/hGR4uANF0Rw VqGqdGvlUNi9xyPalUH8ambG8UlgKHq+I0V3amzhqKfz1DxEqEuhLJaOg2YtzVET5nS3 amJw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=onAbf4RGfcnh2NAzadqpdOrqhrhzERDE+GljKVXtq8Q=; b=gca4NnYiaTwIa9gRG+ul6l67VODJIn6Xs5Zs3A1OdxXA0taC/8CjVuRVQSUx+13guS na75yxbMg30UO1y/TkBXEZtaIdcnpU07hgzTz00hx42xuJXSIX0/rQxXL2za4oKJqkT0 u57hwXBvSOKmMnVLsFATgNEbbrcqiooK0PbshtYTVECG2/qGSsvglN1bQN1gKvvootRB Ouw1nPaL0x+Gz0yiQxph+znPxs+5hSyrTJNuT4GvI3UqFczksXsH1WuvXHG8GB7E3aF6 qoIIoRvJDmZdkX/tlw/3gliOuQH8tPzHLoCNtXzhU31blhsqGRGjM77/QpSiu+w5GuXr IWGg==
X-Gm-Message-State: AJaThX7xG4SSt4rCcpHb4tGdjekgYRdvICaQnPHTPwFB9ThtaNIFA3As reUZ1bUrKntoajv4mlRfOEeh77z4rNY6pG53pHI=
X-Google-Smtp-Source: AGs4zMa67p3bLcte1hTQZ2Y2/N9CRCdVbB1kcKbKzwnOouDbgD5T8SbR+7wCxXr3dyHJLQFEAJ/C9vgKK5D2EDx4r40=
X-Received: by 10.107.136.167 with SMTP id s39mr46970526ioi.169.1511888061357; Tue, 28 Nov 2017 08:54:21 -0800 (PST)
MIME-Version: 1.0
Received: by 10.2.134.37 with HTTP; Tue, 28 Nov 2017 08:54:20 -0800 (PST)
In-Reply-To: <5A1D50E5.7030302@cisco.com>
References: <CAKz0y8wLYjkSO486w5WpSuDYV3Cjvgkv6887o9-Ky9o_ViWMrQ@mail.gmail.com> <210606893.1211556.1511362363266@mail.yahoo.com> <CAKz0y8xeYnqOjLxADVwndtOp8QQaPeQBiAO2TtnCi6pYfebONA@mail.gmail.com> <5A1D50E5.7030302@cisco.com>
From: Muthu Arul Mozhi Perumal <muthu.arul@gmail.com>
Date: Tue, 28 Nov 2017 22:24:20 +0530
Message-ID: <CAKz0y8xsM975vAUj4PFf0Lpx=5R4_yyAkpyOsHMvWfhM-sgKJg@mail.gmail.com>
Subject: Re: Protecting SR policy midpoints (draft-bashandy-rtgwg-segment-routing-ti-lfa)
To: "Ahmed Bashandy (bashandy)" <bashandy@cisco.com>
Cc: "sasha@axerra.com" <sasha@axerra.com>, "rtgwg@ietf.org" <rtgwg@ietf.org>
Content-Type: multipart/alternative; boundary="001a113eba3cd662b7055f0dde4e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/vgtyEhOz4vzdAv17W01S9T7GkoM>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Nov 2017 16:54:24 -0000

On Tue, Nov 28, 2017 at 5:34 PM, Ahmed Bashandy (bashandy) <
bashandy@cisco.com> wrote:

> Hi,
>
> The behavior described in section 5.3 is clear:
> - The top label of incoming packet to node "S" is either a prefix SID
> owned by node "F" or an adjacency SID for (S,F)
> - If the link from node "S" to node "F" is up, then the normal behavior
> for node "S" is to apply penultimate hop popping (PHP). HEnce node "S"
> *pops* the top label and sends the packet to node "F"
> - But if the link (S,F) is down and "S" is configured to do node
> protection, then node "S" will still pop the top label. This will promote
> the label right underneath the incoming label to become the *top* label.
> Hence there is no need to peek into the label stack
>

​What if the new top label is a BSID assigned from the SRLB of node F or a
BGP-LU or a VPN label assigned by node F?​


> - In a link-state envirnoment, node "S" knows the SRGB of node "F" as well
> as all adjacency SIDs of node "F". Hence it can now compare the new top
> label against the SRGB or the list of adj-SIDs of the node "F"
>

​What does "it" stand for in "it can now compare"?

​For the control plane to be able to compare it also needs to be imposing
the SR policy as I said earlier.

Or is the MPLS data plane expected to do such a comparison on the fly?


> - If the new top label is within the SRGB of node "F" or an adj-SID of
> node "F", then node "S" applies the behavior described in section 5.3.1 or
> section 5.3.2, respectively
>
> The bottom line is that there is no need for any peeking into the label
> stack. Just inspect the new top label
>

​How is the MPLS data plane in a transit node expected to be programmed to
make this work?

Regards,
Muthu​



> Thanks
>
> Ahmed
>
>
> On 11/23/2017 5:04 AM, Muthu Arul Mozhi Perumal wrote:
>
> My understanding is that draft wants to provide a solution for the problem
> where the active segment is a prefix/adjacency segment of the neighbor and
> the neighbor fails. A solution to this is possible only at a node that is
> enforcing the SR policy (consisting of the segment list). For a transit
> node, its data plane would have to peek into the label stack and determine
> the type of the segment/label following the active segment and act
> accordingly, which is not inline with the SR architecture which requires SR
> to work 'as is' on traditional MPLS data plane
>
> ​ Muthu​
>
> On Wed, Nov 22, 2017 at 8:22 PM, Alexander Vainshtein <vinesasha@yahoo.com
> > wrote:
>
>> Muthu and all,
>> I do not see how the draft in quesrion us related to "SR Policy".
>>
>> From my POV its scope is a SR LSP comprised of multiple Node SIDs within
>> a single IGP domain, and it provides local fast protection against failure
>> of a node that terminates one of the segments comprising this LSP.
>> Pritection action is performed by the penultimate node.
>>
>> My 2c.
>>
>> Sent from Yahoo Mail on Android
>> <https://overview.mail.yahoo.com/mobile/?.src=Android>
>>
>> On Wed, Nov 22, 2017 at 3:27, Muthu Arul Mozhi Perumal
>> <muthu.arul@gmail.com> wrote:
>> Section 5.3 of draft-bashandy-rtgwg-segment-routing-ti-lfa describes
>> protecting SR policy midpoints against node failure for the case where the
>> active segment is the prefix or adjacency segment of a neighbor.
>>
>> I believe the steps described in the procedure is applicable only for a
>> node steering packets into the SR policy. This could be an ingress PE
>> steering IP packets into a SR-TE tunnel or an intermediate node steering
>> labeled packets received with a BSID into a SR-TE tunnel identified by that
>> BSID.
>>
>> A transit node that has no idea about the SR policy itself is not
>> expected to perform the procedure described in that section.
>>
>> Is my understanding correct?
>>
>> Regards,
>> Muthu
>> _______________________________________________
>> rtgwg mailing list
>> rtgwg@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtgwg
>>
>>
>
>
> _______________________________________________
> rtgwg mailing listrtgwg@ietf.orghttps://www.ietf.org/mailman/listinfo/rtgwg
>
>
>