Re: [spring] Suggest some text //RE: Request to close the LC and move forward//RE: WGLC - draft-ietf-spring-srv6-network-programming

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Wed, 04 March 2020 12:17 UTC

Return-Path: <pcamaril@cisco.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 B6DF43A0D9A; Wed, 4 Mar 2020 04:17:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.597
X-Spam-Level:
X-Spam-Status: No, score=-9.597 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=IWwf1qu5; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=tSa/YBNN
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 ANIpxQq1iSNE; Wed, 4 Mar 2020 04:17:12 -0800 (PST)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 56AE73A0D9B; Wed, 4 Mar 2020 04:17:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=33077; q=dns/txt; s=iport; t=1583324232; x=1584533832; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=SX2PbdNnigAr67jaCH46q82eTz+vucGmLj55wmlCyds=; b=IWwf1qu5kAetPAiEpvr+59sBvt3DnEqJxOXCWo6ezS9NtXpTABD7g2tB R65H+jPL+H7R4mXVOhlC689wddBKY1ZZ17RywhvSN1aZ9pXkoeaJEZvZZ MPT28qW99EDdnbSnrEqtcurE6EVIPYfRXqxMCg15qbl+VeOdqVrHGG4iJ g=;
IronPort-PHdr: 9a23:8mC7VRHe/24yGwNxX1gZw51GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e4z1Q3SRYuO7fVChqKWqK3mVWEaqbe5+HEZON0pNVcejNkO2QkpAcqLE0r+eebhZikzBsVGfFRk5Hq8d0NSHZW2ag==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CCCQDpml9e/4MNJK1mHAEBAQEBBwEBEQEEBAEBgXuBJS9QBWxYIAQLKgqECoNGA4pogl+DPoYljjKBQoEQA1QJAQEBDAEBGAEMCAIEAQGEQAIXgWgkOBMCAwEBCwEBBQEBAQIBBQRthVYMhWMBAQEBAgEBARARHQEBLAsBBAcEAgEGAhEDAQIhAwcCAgIfBgsdCAIEAQ0FIoMEAYF9TQMOIAEOkQOQZwKBOYhidYEygn8BAQWFHw0LggwDBoE4jCcagUE/gREnIIIfLj5rGQGBFkkBAQIBgSgHCw4xCQ2CZDKCLI1xgnWFcIliKY57RAqCPIdSil6ENhyCSYgfhwCJSUSEA4YKhCGBTYcvgi+QIAIEAgQFAg4BAQWBaSKBWHAVOyoBgkFQGA2OHQwMCxWDO4UUhUF0AgGBJopcAQYhgQsBgQ8BAQ
X-IronPort-AV: E=Sophos;i="5.70,514,1574121600"; d="scan'208,217";a="738796476"
Received: from alln-core-1.cisco.com ([173.36.13.131]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 04 Mar 2020 12:17:11 +0000
Received: from XCH-ALN-001.cisco.com (xch-aln-001.cisco.com [173.36.7.11]) by alln-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id 024CHBFe005983 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 4 Mar 2020 12:17:11 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by XCH-ALN-001.cisco.com (173.36.7.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 4 Mar 2020 06:17:10 -0600
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 4 Mar 2020 07:17:09 -0500
Received: from NAM04-CO1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 4 Mar 2020 06:17:09 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lTHZ2M/3ElOazX/59q8t/du+GDfvAvkzXh5Qwa0Vj3s+Pa9iv8UR1bN9geyQcuTIp9KM7cXwvLiCQhT8ufOUU+i952F5dNqAKcmhjrU0cnEPTLRFhzUAZBfbzPDoU2cy57OWk0rA+b1r0a2LebH0cXjN3HYvzz9MZq77/cGLu225xiXKU+N2/3m52ZTPJWiwlyDpWdCwoZFGgyA2DlUCyeECt3QbmUT+jrx4+sl9rP6BHH7dJROKxlQzzwUHjcfRlQUqxOHEh2aJqSfQHjCE403Wmkz0ysHI3shcuCdIO+ascxhe4XBakvHPJsoTywOehFW+FLtjdtIqfOMYTSnuaA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;bh=SX2PbdNnigAr67jaCH46q82eTz+vucGmLj55wmlCyds=; b=cETtHRkUurN4CZmlq/qoxc+zJ0QTSZD4WxYo6jefYyoeC4SkprARPml2yu76A1IpaVhwPTS71gPtBNbEVl4h5ts+v1GMpdICWOgasIAsMu70TUI0kw/z+ViSGGEp9KQWVbjznsfrd0Pyb0M0lv3LN8j8LS2V7iTxBe/JKeZXtNz3Loqtjm594TEW0vpoSMvy5NmiBAiIFauntCzVr0wEZq1LD+JiVwAcBB8svZoGRKpIJwTgdHv4AJapx49IZMzJTT/OzjEgnwA3LPb02HL0ZLgNwvuhy11MQEB4kHz+SsDJX/dPOgdHiauMRdBaPmQW7bAPLfQTWZA1ywRrrwwQyA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SX2PbdNnigAr67jaCH46q82eTz+vucGmLj55wmlCyds=; b=tSa/YBNNMgCejTfzsh7iNVYCNvgSUALRNpIbkJokq8MdZhUd52lIYFoqWlsWoAqrMhUpj9O6lSNQ7hmIFqQxe3fGfG9GWWPp9+0BvbXCCDci2wjwA+TRFGM1AaJjsSzRrTZg6SbnX1xOHaBPUrJa6gut0ukPeUcpOuzm8sM2UGs=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (2603:10b6:300:24::8) by MWHPR11MB1615.namprd11.prod.outlook.com (2603:10b6:301:c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.14; Wed, 4 Mar 2020 12:17:08 +0000
Received: from MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::e481:a191:e31:f948]) by MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::e481:a191:e31:f948%12]) with mapi id 15.20.2772.019; Wed, 4 Mar 2020 12:17:08 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: 神明達哉 <jinmei@wide.ad.jp>, Robert Raszuk <robert@raszuk.net>
CC: "spring@ietf.org" <spring@ietf.org>, "6man@ietf.org" <6man@ietf.org>, Bob Hinden <bob.hinden@gmail.com>
Thread-Topic: [spring] Suggest some text //RE: Request to close the LC and move forward//RE: WGLC - draft-ietf-spring-srv6-network-programming
Thread-Index: AQHV7vBUG1DbgGOGpUmXy+5HLA9be6g19GcAgAJ1EAA=
Date: Wed, 04 Mar 2020 12:17:07 +0000
Message-ID: <4B3B4F36-7B15-4CBF-A015-274D10AF37B6@cisco.com>
References: <965ff6bbf1cb4c2f8d48b7b535a0cf5b@huawei.com> <CAJE_bqcTNWt==mtYKeNVXOBAzBNLG=+_mXQQ9xMHYOCDRqCb_Q@mail.gmail.com> <CAOj+MMEzbyzy98iFyfe6Z=dQiWHo=triX6bHKx9fNEUCaSuy3Q@mail.gmail.com> <CAJE_bqeiX1xWSMOOr=SGpVJdBSEgg-kYnUd29yeRURcVnx-xuA@mail.gmail.com>
In-Reply-To: <CAJE_bqeiX1xWSMOOr=SGpVJdBSEgg-kYnUd29yeRURcVnx-xuA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.22.0.200209
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pcamaril@cisco.com;
x-originating-ip: [173.38.220.48]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: bd52602e-7b3f-4356-b7a3-08d7c035f58b
x-ms-traffictypediagnostic: MWHPR11MB1615:
x-microsoft-antispam-prvs: <MWHPR11MB161573518AF0EB3C71E2C575C9E50@MWHPR11MB1615.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0332AACBC3
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(366004)(376002)(396003)(39860400002)(136003)(199004)(189003)(8676002)(86362001)(81166006)(478600001)(33656002)(8936002)(71200400001)(316002)(2906002)(110136005)(966005)(54906003)(81156014)(36756003)(6486002)(2616005)(5660300002)(6512007)(6506007)(26005)(66946007)(66446008)(186003)(76116006)(53546011)(4326008)(91956017)(66476007)(64756008)(66556008); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1615; H:MWHPR11MB1374.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 4TLTPPOeAnwkoGYLFXkzdjV3y4PigovYf2HYitd9SGvsePtWiwH6iLm0GJ5fHm5eepFpkH8mFj2kIEqilbnfVRZDOSHsJJ3UAWTd593TRPcIxMt1RI4hKOCf3gIIws1tSjS2hpQx3iBma229Cv4gECBMp1d7S9vibLldeZnUIqJLjEQHsM+Zreqee1Xvz2cFhQHGso8XDcSVn2KoDXZEt4GOeNygNAOldn86ilhxgKMN/PbemclJMCvhzy86O1rqvRogEG9+nwjuzOy6wttbRCnlcWgitqL1Y+l5qhWXqBhXt7Tc1PftNPLCM7xBlIijdgPwMwMnnsFgnXvB7LpyHbtYky/2vD6vDkY41pTW/TFouQAOwiOendjL7nUn4Dr3NQ8NYdhRvU34uRBBXiVOFwX7xA7XQnBka0oGNXPDUoGXMcsG93HeeAvbHAMOgFi7yFTyBAmV/yT8Kg5Dz708Z3Ia43gSndISM2v2vbrITAYjrDrjtwRbaCdhCEkdKZInGWY/Aet1/ToRau8cJd200w==
x-ms-exchange-antispam-messagedata: a9IIyngRk+ATKWf//Q1kCqqJVUZcIGnE46NVADUiq5KWg/H0TUNd8wLqmjgAXOokbvQZ3MVSc1+D6pVpwhycsuX9O5YIEKRZ6mnM4dKJ8zEwLyrNlUoVQGzHDBwOBaaFDjBRrU+zr3mumLY5PhT70Q==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_4B3B4F367B154CBFA015274D10AF37B6ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: bd52602e-7b3f-4356-b7a3-08d7c035f58b
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2020 12:17:08.0689 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: QQWj2mwUxyRrU75FYMyRvi27IaGd5kmU1gd6SVXpx6FVO2l7G9nDXTJYe41+Hmtavy7ryR6ciuNEeGYnBJQIgg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1615
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.11, xch-aln-001.cisco.com
X-Outbound-Node: alln-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/gSzFA-NCWHHnTSJxgGqfeP8_EFs>
Subject: Re: [spring] Suggest some text //RE: Request to close the LC and move forward//RE: WGLC - draft-ietf-spring-srv6-network-programming
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, 04 Mar 2020 12:17:15 -0000

Dear Jinmei-san,



Inline PC1.



Thanks,

Pablo.



-----Original Message-----

From: ipv6 <ipv6-bounces@ietf.org> on behalf of 神明達哉 <jinmei@wide.ad.jp>

Date: Tuesday, 3 March 2020 at 00:21

To: Robert Raszuk <robert@raszuk.net>

Cc: "spring@ietf.org" <spring@ietf.org>, "6man@ietf.org" <6man@ietf.org>, Bob Hinden <bob.hinden@gmail.com>

Subject: Re: [spring] Suggest some text //RE: Request to close the LC and move forward//RE: WGLC - draft-ietf-spring-srv6-network-programming



    At Sat, 29 Feb 2020 12:06:17 +0100,

    Robert Raszuk <robert@raszuk.net> wrote:



    > Even if RFC8200 section 4 text would say:

    >

    >  "Extension headers cannot be added to a packet after it has left its

    > source node and extension headers cannot be removed from a packet until it

    > has arrived at its ultimate destination".

    >

    > PSP would be still not be violating anything said in this sentence. Reason

    > being is that we are dealing here with an *encapsulated* packet which has

    > as its ultimate destination SR node X. That SR node X is to perform or not

    > PSP. So it is still fully compliant with the specification.



    (Sorry for the hopefully small delay, I've been out of town for these

    several days and am now catching up with the backlog).



    Hmm, so, using the notation shown in Section 5.1 of

    draft-ietf-spring-srv6-network-programming-10, is this how the PSP is

    expected to work?



    - Node N creates an encapsulated IPv6 packet:

      (T, S1) (S3, S2, S1; SL=2) (A, B2)

    - at S1, since SL != 0,

      decrease SL to 1,

      copy SList[SL] = SList[1] = S2 to the destination address of the

      IPv6 header, so we now have:

      (T, S2) (S3, S2, S1; SL=1) (A, B2)

PC1: Correct



    - at S2, since SL != 0,

      decrease SL to 0

      copy SList[SL] = SList[0] = S3 to the destination address of the

      IPv6 header, so we now have:

      (T, S3) (S3, S2, S1; SL=0) (A, B2)

      according to Section S14 of draft-ietf-spring-srv6-network-programming-10.

    - Now we apply Section 4.16.1 (PSP).

      Since SL == 0 at this point, Payload length and next header value

      are adjusted, RH is removed, and we now have:

      (T, S3) (A, B2)



PC1:

This is the exact processing at S2 combined End (4.1) with PSP (4.16.1):


  S01. When an SRH is processed {
  S02.   If (Segments Left == 0) {
  S03.      Send an ICMP Parameter Problem message to the Source Address
               Code 4 (SR Upper-layer Header Error),
               Pointer set to the offset of the upper-layer header.
               Interrupt packet processing and discard the packet.
  S04.   }
  S05.   If (IPv6 Hop Limit <= 1) {
  S06.      Send an ICMP Time Exceeded message to the Source Address,
               Code 0 (Hop limit exceeded in transit),
               Interrupt packet processing and discard the packet.
  S07.   }
  S08.   max_LE = (Hdr Ext Len / 2) - 1
  S09.   If ((Last Entry > max_LE) or (Segments Left > Last Entry+1)) {
  S10.      Send an ICMP Parameter Problem to the Source Address,
               Code 0 (Erroneous header field encountered),
               Pointer set to the Segments Left field.
               Interrupt packet processing and discard the packet.

  S11.   }
  S12.   Decrement Hop Limit by 1
  S13.   Decrement Segments Left by 1
  S14.   Update IPv6 DA with Segment List[Segments Left]
  S14.1.   If (Segments Left == 0) {
 S14.2.      Update the Next Header field in the preceding header to the
                Next Header value of the SRH
 S14.3.      Decrease the IPv6 header Payload Length by the Hdr Ext Len
                value of the SRH
 S14.4.      Remove the SRH from the IPv6 extension header chain
 S14.5.   }
  S15.   Submit the packet to the egress IPv6 FIB lookup and
            transmission to the new destination
  S16. }




    It's not clear what will happen next from the text of

    draft-ietf-spring-srv6-network-programming-10, but is presumably it as

    follows?



    - The packet will be forwarded to S3

    - At S3, since it's the (ultimate) destination of the outper IPv6

      packet, it decapsulates the packet, and we now have:

      (A, B2)

    - The decapsulated packet is forwarded towards B2



PC1: This is correct.

Please note that there have been many editorial changes in the PSP section of the document. Hence I suggest you review revision 11.

https://tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-11#section-4.16.1





Many thanks,

Pablo.



    --

    JINMEI, Tatuya



    --------------------------------------------------------------------

    IETF IPv6 working group mailing list

    ipv6@ietf.org

    Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6

    --------------------------------------------------------------------