Re: [spring] I-D Action: draft-ietf-spring-srv6-network-programming-06.txt

Robert Raszuk <robert@raszuk.net> Thu, 19 December 2019 23:02 UTC

Return-Path: <robert@raszuk.net>
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 0FA7D120089 for <spring@ietfa.amsl.com>; Thu, 19 Dec 2019 15:02:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 5glblu-wHQjQ for <spring@ietfa.amsl.com>; Thu, 19 Dec 2019 15:02:06 -0800 (PST)
Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (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 5DEAF12001A for <spring@ietf.org>; Thu, 19 Dec 2019 15:02:06 -0800 (PST)
Received: by mail-qt1-x82d.google.com with SMTP id d18so3825503qtj.10 for <spring@ietf.org>; Thu, 19 Dec 2019 15:02:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HLkr/H6kbsy+zcsQ+6OSQu3pGxX3W8XpUxihqtv9mwU=; b=RbDB44vx50G0v/wqHt0RvKJaOAkfllT+0Wp4al6w/RdpssIn8w3KD0PnC2auaNGD4n umIDwTUL3KMLc0k0kOm6ZVwLZgNZJ3WmtkH4MWLZgFvnB9w8KBXDoen2j4wp9UGmDtug +YO70UsuqCz7O97AKY9sZ+kbtIU5g2iFRPIwEEJGVyYi2mE24lAYBIQIyei/AXH4nn0Q 1T2X/RRfF2xd3w4dN5B6b8CkizJIfgWdb1rpURooXIgvxtz+amkfDBn+NiN5b5gP7LBf s+ShPIVyKPpUasp3qR7PQYeaz4v26ckt3fbbuzOLUbWPUYwDhWo7Vh/3bUlVKLVFWlAh V0ng==
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=HLkr/H6kbsy+zcsQ+6OSQu3pGxX3W8XpUxihqtv9mwU=; b=JhQBeNo3UejcPTKT78t2sh5p5gF1fImRg5tGzEVy0ucYmokg3dfFC62OqoApEQWOtb h+Wh4ZSJDqbIks34a5pw3zBdh/HY+Dlsvu/KqZ4cXVjfTH6YLBXR8bILrIdiK1KRZ3PS MpnzQforQnmJLoQF56p5bTBVBYbVlKeA0j1yPnrgfJujRwDyiYtzw5TeafDQajUekNyo sIdtOgQk0+d+siPEHZQINXsyP66qnQbw3Ln+g0dk1SFzvl/VISWnVuX9RZm2R8sJWLEe 65Jw2aKYE3LIhp2GfezBrvLAPha8M+pP3tKqBVPDcheU9rYV7C1aTtPe2tMqdf+0kHIC yW1Q==
X-Gm-Message-State: APjAAAX8Hd95RDVJR5/HOOMXTa3sHBCXGYMPEb2Bcm82qW37JvPCiilC 7v/Y7lbop7zgHVPp4meK4n6UiYqYxCHULrxBabvHcQ==
X-Google-Smtp-Source: APXvYqxmekBfZs5itmbjzJDas28Lf4alg69GLCXmwLkJunrs3AsYNvp2MmEgUo8rMc1hYVaIDeKoJyGYXsp6Qqxo29s=
X-Received: by 2002:ac8:3703:: with SMTP id o3mr9238801qtb.208.1576796525399; Thu, 19 Dec 2019 15:02:05 -0800 (PST)
MIME-Version: 1.0
References: <157609408568.11496.11799785813274132900@ietfa.amsl.com> <4c762fc5-8a61-e182-a9cc-d45b0f586ccc@gmail.com> <3A12D735-7899-4679-8FC8-DF8875D40A62@cisco.com> <628e5dfb-7ba4-d841-ebeb-cfc52d7294f1@gmail.com> <ACEF56BF-B851-43B2-9211-B6C39C34DB63@cisco.com> <49b7e45f-a26f-cf4a-f8be-9aa917c34203@gmail.com>
In-Reply-To: <49b7e45f-a26f-cf4a-f8be-9aa917c34203@gmail.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Fri, 20 Dec 2019 00:01:57 +0100
Message-ID: <CAOj+MMFBKFBxacT9Z=HR89U10d9=jG-b8ypx4ukQgb0EFfN=Uw@mail.gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>, "spring@ietf.org" <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c7a317059a168c5f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/B7z-eUTlY6h9xUOvDXWFB_Dm2fc>
Subject: Re: [spring] I-D Action: draft-ietf-spring-srv6-network-programming-06.txt
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: Thu, 19 Dec 2019 23:02:08 -0000

>   And where is it forwarded to, since we are already at the DA?

PSP operates at the n-1 segment end of the SR path so naturally after
swapping DA it is forwarded to the segment end. Note that we are all along
operating on the encapsulated header ... original packet including its
original IPv6 header is sitting as passenger here.

So last segment here will received encapsulated IPv6 packet will
decapsulate it and fwd based on the original DA.

Seems very simple :)

Cheers,
R.