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

Rishabh Parekh <rishabhp@gmail.com> Wed, 15 July 2020 21:28 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 3A5843A095D; Wed, 15 Jul 2020 14:28:21 -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 m8cgfHXl8iFo; Wed, 15 Jul 2020 14:28:19 -0700 (PDT)
Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 21C8E3A0955; Wed, 15 Jul 2020 14:28:19 -0700 (PDT)
Received: by mail-wr1-x434.google.com with SMTP id j4so4412260wrp.10; Wed, 15 Jul 2020 14:28:19 -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=BEsK2sRlHHPkrW1RToWhMBJOFBdpSfmxHZuY53/pCV4=; b=p/Mw3axTBcfg4ih31p/04nLcOKNVDIL+JNklgShS8VMUDWns1KFanG2MEXLiNOsv3f HilIfzxFpVCJzQckUVWbnWWe/QsakPFVfTYn4I42XhF3R+Iq4Rfwu+1XCg1MdK4bOJ8B 0PPj4w6wG+qpLrX1kfsyKP2j9PGV9IQFZJlB0kNQGZNzxkrXgbXuBQ7EhTrywAbngH0z MbVlN1TGLfQZKzKDMiUrfXUJbRXczYjVB8p5TLHTWAo7hHQY5M7waxHwt1EFedYMncCK PbEevD2INZmhlIZvJRQpTV39On0OSWmdO+U8afqtd2UvI7+0K8cH5TFPKx0rs9xyIzhZ HQQg==
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=BEsK2sRlHHPkrW1RToWhMBJOFBdpSfmxHZuY53/pCV4=; b=qL4lp292Ho72RZDsWzPCc84eh+z7Ei6/+enkXwrUPDTdI8/VuBxZ0gWtw0T0/4EfrA BhX0R8spdgw8wkp3gq9vmriV98r9A9z/0MIh/Zu7T3P0ZLnQcKPhxv3bYKqc2I/AqajJ VVx1ShsD+nE/5SR5k/j5sJgoITEqMdz8VqjAbPdmzTvOFKGXx8SBkuqMJBXqPrhvSd/j yk88ZPGdf+NbhGyE8oAkf2+CRC6XV4pki5GmIocm4M9VbeAH47Fj3Cwfn1LXvUQQ+lyK 2QA6bz7/JRk9ycgzc5pMGQG4h1VxovhBUIsQOdgal0iAputcvR2CWiegVlJ/s4xozDY5 kCjg==
X-Gm-Message-State: AOAM533O3NuRCC1uBGw7gA+wQW+mx7aQhnggTjo+IPZ2tPkbJ+47CSht HsZprZalLFOOg2czQ+cs8UWxSoJwYGllkeUHS/I=
X-Google-Smtp-Source: ABdhPJzDi9pEgv7gJRX6z6IY1lCQiP2NYNQNwTPM0yvpq3fMnqanwSw5qA3qngngAgas0T5Y2wweQgbxmWwQUosX5cA=
X-Received: by 2002:a5d:4ec7:: with SMTP id s7mr1524516wrv.400.1594848497605; Wed, 15 Jul 2020 14:28:17 -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> <CABjMoXYSXihLyN-TJvBCOXRJ0OSyvBLdOOdi93Vopkqhx8JtVw@mail.gmail.com>
In-Reply-To: <CABjMoXYSXihLyN-TJvBCOXRJ0OSyvBLdOOdi93Vopkqhx8JtVw@mail.gmail.com>
From: Rishabh Parekh <rishabhp@gmail.com>
Date: Wed, 15 Jul 2020 14:28:05 -0700
Message-ID: <CABjMoXaxFsv_qcdcinRW9nPYasisJeqFzVnT2AfH0tGX3dz=Aw@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="0000000000002ba16705aa819a80"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/_XU6xIW3wO0PEFdwEVf5-xR8SkY>
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:28:21 -0000

Bruno,
One clarification:

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>"
>
>
We did not want L12 to be mistaken as a SID and hence the "<R-SID2->L12>"
convention (indicating push R-SID2 and send on interface L12) as compared
to
"<N-SID6, R-SID6>" where both elements are SIDs.

-Rishabh

On Wed, Jul 15, 2020 at 2:04 PM Rishabh Parekh <rishabhp@gmail.com> wrote:

> 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.
>>
>>