Re: [spring] draft-voyer-spring-sr-replication-segment-03

Rishabh Parekh <rishabhp@gmail.com> Wed, 15 July 2020 21:05 UTC

Return-Path: <rishabhp@gmail.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 2DE933A0064; Wed, 15 Jul 2020 14:05:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 fKzXsquo48kx; Wed, 15 Jul 2020 14:05:03 -0700 (PDT)
Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (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 CC8A33A005F; Wed, 15 Jul 2020 14:05:02 -0700 (PDT)
Received: by mail-wr1-x436.google.com with SMTP id j4so4334446wrp.10; Wed, 15 Jul 2020 14:05:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=s1kHZN7HTu/GrcVWbJTcxYTOOnzEpHaCGw/l2EogTNw=; b=CxOYONhA6ydVemLjaCuypW5taKYGT+9PTLVbRZDWJxFh4Yw4Jon01At9TTvYF4VFSC 1W8mBkWlE1EkZprcX1bncU+9XDEOGTlemVCRoM05PhQzBnVZbKTrjMvy3O6mW5CBn4EO rTsZec/UWRLElOsAQuiWPGLNb/CZfOTG6l7SawbHSsQcFN5xvRUug30Mk/qILAVy/Z3d Q1HwDZt6T6spHmJW0f3XljjIpyqdWdFwj/ai4s8QQmxveyz6ouJLzBd15ouMg0p5LWse +hCmAMKy3kTZPpL3O0T7XuRN4YqfOKrplQsbdIFqQhrFzzlWVFuAvEVFSjdTTuj6Yxv+ F/LQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s1kHZN7HTu/GrcVWbJTcxYTOOnzEpHaCGw/l2EogTNw=; b=K6Ghhsq0OUJgQGIM42BpZ7TfpPpAKx/ePR5OlCr6KxEVB0D0lHWD3nW+ClNLDb0Gxb 1zdRxUCdqkZyCZ2PxRcvwNVfRieL5EONRspp02f0NE5unGrrIzehCyw/iixY/DHIm8LB fyu7OWX1EjoWYPZZo/O0SPCSJJAOJs9Qa9zp5O0ln9Z09H7+Lc8ltJ2r48rSXh4gppo2 6yA4G9sV8ud+P9vhT4/WW31O9Oj/I4sl665IDG3/W6dPnzRAiDRaYMfLGrHVKOXLq+IW 0z/Hi4hAIQGZNaCGZTSoP1Q4JVa6SU3ywFyHK1NNCdhTaq5NaNU7L8MgP3X44TQC0EjI DalQ==
X-Gm-Message-State: AOAM533OelWx02K3lfuVuREuZ5Lnh+b0p7i2sZKcsypSdXp/Y/E/iziS MNzhXpE42W700D0L0/FPa5HnuJDlF3V6TlAVkpQ=
X-Google-Smtp-Source: ABdhPJwFL54qmbTmQ1S5Llnqdr+HG5ZIwtcrC1Xqb9ECacXsX1IqKViMS6Vsdyn7uJcZWUEeurNb/oNJUXe0jyoL0Uw=
X-Received: by 2002:a5d:4ec7:: with SMTP id s7mr1408246wrv.400.1594847101292; Wed, 15 Jul 2020 14:05:01 -0700 (PDT)
MIME-Version: 1.0
References: <3632_1594220860_5F05E13C_3632_134_1_53C29892C857584299CBF5D05346208A48ECD7AA@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <CABjMoXbqhmkhxJQr9NwXJW8C5KhR_hp-AvMks6ZgJgtQ9fi92Q@mail.gmail.com> <10757_1594836140_5F0F44AC_10757_226_1_53C29892C857584299CBF5D05346208A48EDF693@OPEXCAUBM43.corporate.adroot.infra.ftgroup>
In-Reply-To: <10757_1594836140_5F0F44AC_10757_226_1_53C29892C857584299CBF5D05346208A48EDF693@OPEXCAUBM43.corporate.adroot.infra.ftgroup>
From: Rishabh Parekh <rishabhp@gmail.com>
Date: Wed, 15 Jul 2020 14:04:49 -0700
Message-ID: <CABjMoXYSXihLyN-TJvBCOXRJ0OSyvBLdOOdi93Vopkqhx8JtVw@mail.gmail.com>
To: bruno.decraene@orange.com
Cc: "draft-voyer-spring-sr-replication-segment@ietf.org" <draft-voyer-spring-sr-replication-segment@ietf.org>, "spring@ietf.org" <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f1934305aa8146b8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/5xaepx1cFTv0OWimpHHhvPbzyJA>
Subject: Re: [spring] draft-voyer-spring-sr-replication-segment-03
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 15 Jul 2020 21:05:05 -0000

Bruno,
Replies inline @ [RP]



> [Bruno] Agreed, in this specific case, you don't need the SID on the
> _packet_.
> - Still the PCE/configuration CLI/YANG need a way to identify this
> interface and it could be via a SID (e.g. both local adjacency SID and
> global nodes SID (assuming PHP) seems to work, depending on needs)
> - It seems to me that SR Policy draft is in the same situation, and they
> still call this an SR Policy.
> But that's a detail.
>
> [RP] We are on the same page. An explicit interface can be identified in
different ways.


> [...]
>
> > >
> > > -------
> > >
> > > " o  When the Active Segment [RFC8402] is the Replication SID.  In this
> > >
> > >       case, the operation for a replicated copy is CONTINUE."
> > >
> > >
> > >
> > > "CONTINUE" would mean that the segment is not a local segment.
> > >
> > > So the document really needs to clarify whether the replication
> > SID/segment is a local segment, or a global segment, or something new to
> be
> > defined..
> > >
> > >
> > The CONTINUE operation just captures the label swap for each
> > replication, with just the Downstream Replication SID in the simplest
> > case.
>
> "CONTINUE: the active segment is not completed; hence, it remains
>    active.  In SR-MPLS, the CONTINUE operation is implemented as a SWAP
>    of the top label [RFC3031].  In SRv6, this is the plain IPv6
>    forwarding action of a regular IPv6 packet according to its
>    destination address."
> https://tools.ietf.org/html/rfc8402#section-2
>
> 1) SR terminology
> Given that I think that we agreed that the replication segment is a local
> segment (i.e. local to one node), I don't see how it could continue once
> used. As we used it on the single node which understand it, it needs to be
> terminated (NEXT).
>
> 2) Data plane
> 2.a) SR-MPLS
> I don't see a label swap. I see a pop of the BSID/replication SID and a
> push of the list of SID in the SR-policy. As described in
> https://tools.ietf.org/html/draft-ietf-spring-segment-routing-policy-08#section-8.3
> "Let us assume that headend H has a valid SR Policy P of Segment-List
>    <S1, S2, S3> and BSID B.
>
>    When H receives a packet K with label stack <B, L2, L3>, H pops B and
>    pushes <S1, S2, S3> and forwards the resulting packet according to
>    SID S1."
>
> 2.b) SRv6
> Quoting RFC 8402 (above): "In SRv6, this is the plain IPv6
>    forwarding action of a regular IPv6 packet according to its
>    destination address"
> I don't see how this can translate in a specific SR action (here
> "replication" on the replication node. ) But since there is no SRv6
> specific text in the draft, it's hard to guess.
>

>
> Note that my understanding seems to match your new text/illustration in
> appendix: there is no CONTINUE operation on a replication SID. Only NEXT
> operation:
> " R2, as Leaf, performs NEXT operation, pops R-SID2 label and delivers the
> payload."
> "R6, as Leaf, performs NEXT operation, pops R-SID1 label and delivers the
> payload."
> "R7, as Leaf, performs NEXT operation, pops R-SID7 label and delivers the
> payload."
>
>
[RP] I see you point. We shall re-word the text around this area in a
future WG document (probably in rev 01).


> BTW, there may be two typos in the draft:
> "R6, as Leaf, performs NEXT operation, pops R-SID1 label and delivers the
> payload."
> :s/R-SID1/R-SID6
>
> OLD:    Replication State:
>                 R2: <R-SID1->L12>"
>
> NEW:    Replication State:
>                 R2: <R-SID2, L12>"
>
>
[RP] Thanks for catching these. We will fix them in rev 00 of WG document.


> Thanks,
> Regards,
> --Bruno
>
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations
> confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez
> recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
> electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou
> falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged
> information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and
> delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been
> modified, changed or falsified.
> Thank you.
>
>