Re: [spring] Last Call: <draft-ietf-spring-srv6-network-programming-17.txt> (SRv6 Network Programming) to Proposed Standard

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 27 August 2020 06:29 UTC

Return-Path: <brian.e.carpenter@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 68D923A0D47; Wed, 26 Aug 2020 23:29:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.046
X-Spam-Level:
X-Spam-Status: No, score=-3.046 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, NICE_REPLY_A=-0.948, 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 5Vo6eAxBXKZd; Wed, 26 Aug 2020 23:29:27 -0700 (PDT)
Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) (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 AEC533A0D4E; Wed, 26 Aug 2020 23:29:27 -0700 (PDT)
Received: by mail-pj1-x1042.google.com with SMTP id n3so2157101pjq.1; Wed, 26 Aug 2020 23:29:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=LKIGB+lyCan0jP2K5m2Yzo8r5a6x63uEC0qteWVPISM=; b=Bsv7HuYDEeYOb/tNxNqmbo3oPZslEHmMjNNYq9s+ye7n5VQnmpD2bobvV2J2R+0M9s k0X8ToShn2GzLK20OW440Ld1ejJAAM8AYKiPrUSflVbrwpLKcpvTJWP9Q0rTH1Lx/knU CfrfrIVjAoEwc0QFLlZ+ZIrcAnwYnFMVgIcW8dpf2iIxkLWbbjS1ImeVdo77x4O3NhAl U3f1O2AfukaHwCqm7EKrDmQbR7PN4DDxfm/YDT58sZZVQKnJi/IJl4ICN2J1neVQAhHv QKvRBsKw9+j3hRx6656s63OO19mgi4VNrQbnFNCi0TEMtWNvM2E9v1qxaCtlFQFmuAxD upFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=LKIGB+lyCan0jP2K5m2Yzo8r5a6x63uEC0qteWVPISM=; b=fOjC28VZQOIWnxVFAzQObvZ4INJeQItwD44pvNbsUtFPWXqrIDxnTLS4Wc4Re6C0XU zwgL+XoJgPyOnoesqI4D54t2pMUN/3Vq/D8RJ+Yo9wNZ5evAKhcqgAg2jNxXVm0J+wG2 YpSHR9ISJpxSsi0hglIG7ojJitsVmo98d3YElvgFnLfARJ8R8xLmjDv01M5ox3AnHz5Z +eqTVNubgyZTMBQ2Hor0mcId5uSfRRVH6leFL3P8pQpuffPR388Q25RoP7LW3Bkptms6 Wn8EiynKRqXC12cUzDJzGoZKTCg+Nb1cR2mMVPIXLS7hqEOp+SFSo1/3IrKjjEkv9TPa BnNg==
X-Gm-Message-State: AOAM532Xok9TIIzIWmY9md0Huxo27CrKvD6+RDESqiZW1LQXFpsef8eW xlJMzZYBThWFC0Gzf4ws0NW/+gXtI5Qhxg==
X-Google-Smtp-Source: ABdhPJxL/Hgx5K0y0l2FTJF890TbHr1v0eOfmJ+vWFOkZlOR9PTD26FGuTerK0uq6xiofW+DLmoSOw==
X-Received: by 2002:a17:90a:6a05:: with SMTP id t5mr8903310pjj.26.1598509766812; Wed, 26 Aug 2020 23:29:26 -0700 (PDT)
Received: from [192.168.178.20] ([151.210.139.192]) by smtp.gmail.com with ESMTPSA id s64sm1363360pfs.111.2020.08.26.23.29.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2020 23:29:26 -0700 (PDT)
To: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>, "last-call@ietf.org" <last-call@ietf.org>
Cc: "spring@ietf.org" <spring@ietf.org>, "spring-chairs@ietf.org" <spring-chairs@ietf.org>, Bruno Decraene <bruno.decraene@orange.com>, "jmh@joelhalpern.com" <jmh@joelhalpern.com>, "draft-ietf-spring-srv6-network-programming@ietf.org" <draft-ietf-spring-srv6-network-programming@ietf.org>
References: <159723694970.27067.9766029100632402951@ietfa.amsl.com> <f4a92048-b861-33bf-403d-88893b42dbf6@gmail.com> <MWHPR11MB13741D5F3E9849A87D9BA5FEC9550@MWHPR11MB1374.namprd11.prod.outlook.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <521aafe7-6d05-a245-1b21-e047c0904e08@gmail.com>
Date: Thu, 27 Aug 2020 18:29:20 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <MWHPR11MB13741D5F3E9849A87D9BA5FEC9550@MWHPR11MB1374.namprd11.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/fLz9APwWYOsNUD-vIr5fkjZqJPU>
Subject: Re: [spring] Last Call: <draft-ietf-spring-srv6-network-programming-17.txt> (SRv6 Network Programming) to Proposed Standard
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, 27 Aug 2020 06:29:30 -0000

Thanks Pablo, that clarifies the point for me.

Regards
   Brian Carpenter

On 27-Aug-20 17:10, Pablo Camarillo (pcamaril) wrote:
> Hi Brian,
> 
> The PSP behavior is only applied to received packets when (Segments Left =1 & Destination Address = PSP SID).
> The PSP behavior pseudocode describes the local processing of this packet, and the check for Segments Left == 0 is an intermediate step of that local processing. This local processing might be implemented in different ways as long as the externally observable wire protocol is preserved.
> 
> In order to clarify this, we propose the diff below.
> 
> Thank you,
> Pablo.
> 
>  
> <OLD>
>     The following sub-sections detail the behaviors, introduced in this
>     document, that a node (N) binds to a SID (S).
>   
>     Section 4.16 defines flavors of some of these behaviors.
>    
>     4.1.  End: Endpoint
> </OLD>
> <NEW>
>     The following sub-sections detail the behaviors, introduced in this
>     document, that a node (N) binds to a SID (S).
> 
>     The pseudocode describing these behaviors detail local processing at a 
>     node. An implementation of the pseudocode is compliant as long as the externally 
>     observable wire protocol is as described by the pseudocode.
>   
>     Section 4.16 defines flavors of some of these behaviors. 
>    
>      4.1.  End: Endpoint
> </NEW>
>  
> <OLD>
>        This behavior does not contravene Section 4 of [RFC8200] because the
>        current destination address of the incoming packet is the address of
>        the node executing the PSP behavior.
> </OLD>
>   
> <NEW>
>       The End, End.X and End.T behaviors with PSP do not contravene 
>       Section 4 of [RFC8200] because the destination address of the incoming packet is the 
>       address of the node executing the behavior.
> </NEW>
> 
> 
> -----Original Message-----
> From: Brian E Carpenter <brian.e.carpenter@gmail.com> 
> Sent: viernes, 21 de agosto de 2020 0:06
> To: last-call@ietf.org
> Cc: spring@ietf.org; spring-chairs@ietf.org; Bruno Decraene <bruno.decraene@orange.com>; jmh@joelhalpern.com; draft-ietf-spring-srv6-network-programming@ietf.org
> Subject: Re: Last Call: <draft-ietf-spring-srv6-network-programming-17.txt> (SRv6 Network Programming) to Proposed Standard
> 
> IMHO there is still a logical defect in the description of the PSP flavor at https://tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-17#section-4.16.1
> 
> The description of the PSP flavor considers the packet to have  (Segments Left == 0 and Destination Address == the PSP node's address).
> In fact that is *never* the state of the packet on the wire, which is either  (Segments Left == 1 and Destination Address == the PSP node's address) when the packet arrives, or  (Segments Left == 0 and Destination Address == the final node's address) when the packet departs.
> 
> So the text does not refer a packet on the wire, whereas RFC8200 only refers to packets on the wire.
> 
> Thus the test "S14.1.   If (Segments Left == 0) {" in section 4.16.1 is confusing because it's applied to a packet that is half way through processing of the routing header inside the node (Segments Left has been updated, but Destination Address has not been updated). This makes it unclear how the spec is claiming to interpret RFC 8200.
> 
> (This was pointed out a long time ago:
> https://mailarchive.ietf.org/arch/msg/spring/Xrcclo0s4pnug9upG9rUinYMv1I/ )
> 
> The text:
> 
>>    This behavior does not contravene Section 4 of [RFC8200] because the
>>    current destination address of the incoming packet is the address of
>>    the node executing the PSP behavior.
> 
> is being applied to a packet that never exists on the wire, but only inside the PSP node.
> 
> Regards
>    Brian Carpenter
> 
> On 13-Aug-20 00:55, The IESG wrote:
>>
>> The IESG has received a request from the Source Packet Routing in 
>> Networking WG (spring) to consider the following document: - 'SRv6 Network Programming'
>>   <draft-ietf-spring-srv6-network-programming-17.txt> as Proposed 
>> Standard
>>
>> The IESG plans to make a decision in the next few weeks, and solicits 
>> final comments on this action. Please send substantive comments to the 
>> last-call@ietf.org mailing lists by 2020-08-26. Exceptionally, 
>> comments may be sent to iesg@ietf.org instead. In either case, please 
>> retain the beginning of the Subject line to allow automated sorting.
>>
>> Abstract
>>
>>
>>    The SRv6 Network Programming framework enables a network operator or
>>    an application to specify a packet processing program by encoding a
>>    sequence of instructions in the IPv6 packet header.
>>
>>    Each instruction is implemented on one or several nodes in the
>>    network and identified by an SRv6 Segment Identifier in the packet.
>>
>>    This document defines the SRv6 Network Programming concept and
>>    specifies the base set of SRv6 behaviors that enables the creation of
>>    interoperable overlays with underlay optimization (Service Level
>>    Agreements).
>>
>>
>>
>>
>> The file can be obtained via
>> https://datatracker.ietf.org/doc/draft-ietf-spring-srv6-network-progra
>> mming/
>>
>>
>> The following IPR Declarations may be related to this I-D:
>>
>>    https://datatracker.ietf.org/ipr/3464/
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> IETF-Announce mailing list
>> IETF-Announce@ietf.org
>> https://www.ietf.org/mailman/listinfo/ietf-announce
>>
>