Re: [spring] Erik Kline's Discuss on draft-ietf-spring-srv6-network-programming-20: (with DISCUSS and COMMENT)

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Fri, 25 September 2020 18:30 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 B3F873A11CC; Fri, 25 Sep 2020 11:30:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.62
X-Spam-Level:
X-Spam-Status: No, score=-9.62 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=K569V9XD; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=VZ2x4ZGj
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 wnL5eZJLkDWq; Fri, 25 Sep 2020 11:30:44 -0700 (PDT)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ADF613A11B9; Fri, 25 Sep 2020 11:30:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10150; q=dns/txt; s=iport; t=1601058643; x=1602268243; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=kPRIaFVpWdYs3U5fl/l7+K3k9yK0HkuOu5/MNAuu8S4=; b=K569V9XDq6UDAC4uqQlB+RlSQwKyfCR0XGwiOF2HNgAlD0pF1nwOtPnV W8FQ+Kg5pZ36Q1OhmXi4DAHCirKNzy2Embbepm/Jq6LWo3fOLlXYYhEPA pmNW72FF5Ht7kZvUpHUXGklEcdj6gtmN+MKcOc+5UqEWUutpG3iP0W3tb Y=;
X-IronPort-AV: E=Sophos;i="5.77,302,1596499200"; d="scan'208";a="806829827"
Received: from alln-core-10.cisco.com ([173.36.13.132]) by rcdn-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 25 Sep 2020 18:30:17 +0000
Received: from XCH-RCD-003.cisco.com (xch-rcd-003.cisco.com [173.37.102.13]) by alln-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id 08PIUHIV030865 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 25 Sep 2020 18:30:17 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-RCD-003.cisco.com (173.37.102.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 25 Sep 2020 13:30:17 -0500
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 25 Sep 2020 13:30:16 -0500
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 25 Sep 2020 14:30:16 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nK1alkruxc3eLSr5hCrzlUBfhW/p9CUTuBX4VJJmF4tAqnFfBEPtt120vDUJ+TY6V6VVTB5rZKCcJtJ81DUcNYUHdq9jvVU/YpmdcIDF3LCNlqBZ4GgNiAypyO+nmSMhuHFDT7Bck/P9UmcYM2TQuRIEnTSqIzS0jJwE82Yhug2fl0ZoBY71kYOQ5ZhmSHgubQjMXV/yvpPGzqtgElpZoojyPoZeu8/1pBWFU9bAvTOMJk8EIDijeJBS1i4gADdnf1lMkKbJzXMERFelGtGi+tTv0AHsxadTGuPSJtOWU4NXN6ErQ3LPdTOfLk2smxycFEWb+QdaZPSNlp0O/j0wUw==
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=kPRIaFVpWdYs3U5fl/l7+K3k9yK0HkuOu5/MNAuu8S4=; b=n3M2jibwPDA+Ewf8CoeWqMEvZ3zKtnQyhX142uEVM01LHi803i4BVdyKvSxAO5n3mBSYfuFckZrP1eVGMU6ZuZrg2mlOmyJCrwb0mdQOqn3FemsQHUCdTLTm3BRozyd47T5BHP89p9xgENjb0NNFSXD7oUlJdiAS7FqfND2Nj2G8dqHnN/b6F2ybrxUbWlKdKbqGQC4KZvTc7LZYPrqqnje5YMH2DydxnGmQX0jqwnalwz8XOtvt3mEdoIUbiFC2HbLFTgAuraH1T7wTclHGDmJSkF/YXUls8pmBJwm5fNowMdxflKpmWwSRsjncuAUVkpAyw2DggSOhr6Fiovai2A==
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=kPRIaFVpWdYs3U5fl/l7+K3k9yK0HkuOu5/MNAuu8S4=; b=VZ2x4ZGjtA2/50d+kyih18glqsVpYalEkLPt//VHwi6nbKECt+gpzG/n9YczXLli2ypeSmfD8V6ve0XzbhkBpY22D1R6Y0MdQ+5DUFYYtyWjYx+oCxVBVRSR9w46BQVM71dcm1upo9o+gIdUN9YMe1Zb3ht/CYgLx3XZ85BLxqA=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (2603:10b6:300:24::8) by MWHPR1101MB2112.namprd11.prod.outlook.com (2603:10b6:301:50::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.19; Fri, 25 Sep 2020 18:30:15 +0000
Received: from MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::91c6:cab8:6b42:58ca]) by MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::91c6:cab8:6b42:58ca%3]) with mapi id 15.20.3412.025; Fri, 25 Sep 2020 18:30:14 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: Erik Kline <ek.ietf@gmail.com>, The IESG <iesg@ietf.org>
CC: "draft-ietf-spring-srv6-network-programming@ietf.org" <draft-ietf-spring-srv6-network-programming@ietf.org>, "spring-chairs@ietf.org" <spring-chairs@ietf.org>, "spring@ietf.org" <spring@ietf.org>, Bruno Decraene <bruno.decraene@orange.com>, Joel Halpern <jmh@joelhalpern.com>
Thread-Topic: Erik Kline's Discuss on draft-ietf-spring-srv6-network-programming-20: (with DISCUSS and COMMENT)
Thread-Index: AQHWkj21k4UZ6w+OmU642IpsNxtL8ql5oW3Q
Date: Fri, 25 Sep 2020 18:30:14 +0000
Message-ID: <MWHPR11MB1374346B59BC73509C18A980C9360@MWHPR11MB1374.namprd11.prod.outlook.com>
References: <160092965760.9540.7968486706230780232@ietfa.amsl.com>
In-Reply-To: <160092965760.9540.7968486706230780232@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [173.38.220.45]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: fd5d5dd1-a7ad-439e-aaf3-08d861810bd1
x-ms-traffictypediagnostic: MWHPR1101MB2112:
x-microsoft-antispam-prvs: <MWHPR1101MB21128D307271BA1DC8B72729C9360@MWHPR1101MB2112.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: w86ZRGf9AMU0y61WZDq7e8iFVUzbpCT3ACOpUMNkpSwLIo3BDXRNslZyGccsXGJzl68j6k19ONiZdrdn94TkPRwIGibGGc0ttlsGWQpckZ5bmHM9j3KQvIwSI6d3psvWHVn7XqrGZY954myCj1S5jN8N+ID9zSiUhujqJUj6HBhR6rzddoj7i1ucqRItrdQrRHEQwNfs+BI47LneYSsVNq5gKmw2g+KUhZwVPmdd1O0iJ4yKH3H1RGGtOTjV2r5WteB7Lcsg6iaudYrzyQ+Pc2amcS1A86UGG4d7gSS0r+LXIOKZsBEHyJq61nz1U8qZh3sxvmcpCc2LqLwjWWmmB6/riM9tWY9RXPKHsjfv3+BdVEW+UzvdGnN5mCFBL/KbJq/3iZ8m+7kuWxZ0xF0z1w==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1374.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(396003)(366004)(39860400002)(376002)(136003)(71200400001)(53546011)(54906003)(6506007)(9686003)(966005)(186003)(33656002)(478600001)(26005)(66574015)(8936002)(316002)(5660300002)(2906002)(110136005)(55016002)(83380400001)(7696005)(8676002)(66946007)(66476007)(76116006)(66556008)(64756008)(66446008)(4326008)(52536014)(86362001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: XRcDxuJZJOo3fTTH7GzV/hNRCkmJaedojySuO/9gEndiAS9plcLAK/+4NXH8lsm2MQD6EYKUgcgyGAseMYD3ozPSgGD1QXk3JkqHkUtYjSGaJr2i2nfYsR+IVLPbdbz28vhkMj3h0v2sTjLpF0lJ9uNuXlNHvLSV4p1Ypz1JIqY+hbpZsrbRWbQ/BKI4oZkJqfAJeQBsUIB5+Sli0Yfqz31N1F8Bw6hEZH9mXf4hSezXuB0yAx4QbV6S2ALLw/4FQWABYFXgJoMwN6NMplzHUYXACPY+5buihkvk05H/B/MZgITn93k8zlbbog9wZE7BsgNiwIMAqjEeeOIBYJArDPRMuFxL5/XnW+uS30hcZZ6zGWiwlkHK50bjpqdappVcDVN031CsFTOiqb1ii7ITT2bltrj2Z2xTJSmvI5zNht/4mGcuG5FvgfzbxU8V50MQcWwuSL7jK/WrZ///iPQpt4DwXlazxo8hb/YtSQI1eQs6Zc+9p6FL7EY02qp2U348R+KFJnQhMDpZ9/KCqlQkF694mqn6jZlxRu340UcmZknUWWbrGFp2ZxZwIHGx5t409ZKk3QRtKdfg+ZRhe0bpzm4knt5CaleRS+/+60mgslEYQ/EbuqV6IoNRaJvSnxHDTziIHacivVYOboN0EQIXEQ==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1374.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: fd5d5dd1-a7ad-439e-aaf3-08d861810bd1
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Sep 2020 18:30:14.7102 (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: fAp1xeTV3cJLM8NrCXx6cmzInN1O+TIVOffUjqGaMZIHwziQHcP8FEzRfDdtZqPcDp8B+qHHeOSeJ+Av5xVkhg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2112
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.13, xch-rcd-003.cisco.com
X-Outbound-Node: alln-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/4r6PXvTWD-6OKt1tvRxpRrn3V7M>
Subject: Re: [spring] Erik Kline's Discuss on draft-ietf-spring-srv6-network-programming-20: (with DISCUSS and COMMENT)
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: Fri, 25 Sep 2020 18:30:46 -0000

Hi Erik,

Thank you for your review. Please see inline with [PC].

Regards,
Pablo.

-----Original Message-----
From: Erik Kline via Datatracker <noreply@ietf.org> 
Sent: jueves, 24 de septiembre de 2020 8:41
To: The IESG <iesg@ietf.org>
Cc: draft-ietf-spring-srv6-network-programming@ietf.org; spring-chairs@ietf.org; spring@ietf.org; Bruno Decraene <bruno.decraene@orange.com>; Joel Halpern <jmh@joelhalpern.com>; jmh@joelhalpern.com
Subject: Erik Kline's Discuss on draft-ietf-spring-srv6-network-programming-20: (with DISCUSS and COMMENT)

Erik Kline has entered the following ballot position for
draft-ietf-spring-srv6-network-programming-20: Discuss

When responding, please keep the subject line intact and reply to all email addresses included in the To and CC lines. (Feel free to cut this introductory paragraph, however.)


Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-spring-srv6-network-programming/



----------------------------------------------------------------------
DISCUSS:
----------------------------------------------------------------------

I support Alvaro's and others' discuss points.  I have only a few points that I think are easily cleared.

[ section 3.2 ]

* I'm a bit concerned about this first example, as it might give the mistaken
  impression that fc00::/7 is free for anyone to carve up as they wish
  (I say this regardless of what this operator may or may not have done).

  Per 4193, operators are supposed to generate random /48s from fd00::/8.

  I think this is easily corrected though, and I'd suggest:

  OLD:

  .....  The provider historically deployed IPv6 and assigned
  infrastructure addresses from a portion of the fc00::/7 prefix.  They
  further subdivided the prefix into three /48 prefixes (Country X,
  Country Y, Country Z) to support their SRv6 infrastructure.  From
  those /48 prefixes each router is assigned a /64 prefix from which
  all SIDs of that router are allocated.

  NEW:

  .....  The provider historically deployed IPv6 and assigned
  infrastructure addresses from ULA space [RFC 4193].  They specifically
  allocated three /48 prefixes (Country X, Country Y, Country Z) to
  support their SRv6 infrastructure.  From those /48 prefixes each router
  was assigned a /64 prefix from which all SIDs of that router are allocated.
[PC] Ack. Replaced text with your suggestion in rev21.

[ section 4.16.2 ]

* I'm not sure I understand what the value of specifying USP is.  This looks
  to me like an implementation detail and seems unnecessary.  In all cases
  where the S03 code block is entered it's the processing of the remainder of
  the inner packet that's important, I would think.

  I guess, what's the value of specifying the way in which an implementation
  can begin to process the next header?  Is this for chained SRHs and thus
  resubmitting the inner SRH to the same SID processing (8200 says that the
  RH 'should appear at most once', but that's as strong as the text gets)?

[PC] We have use-cases where the packets with SRH may be destined to applications or host implementations running in containers. The USP flavor is useful to remove the consumed SRH from the extension header chain before sending over to the application stack – we’ve seen this with smartNICs. As such the perspective on externally observability may differ and hence we believe it is needed to specify this.

[ section 4.16.3 ]

* This too seems like an implementation detail, and it's not clear what it's
  adding to the document.  But I must be misunderstanding something.

[PC] The USD flavor specifically enables the de-encapsulation of inner IP packet and its further forwarding (consider use-case like TI-LFA where encapsulation is done on the PLR and de-encapsulation has to be done on the last node of the repair list). In this case the PLR node that is crafting the SID list wants to ensure that the last segment in the repair list is able to perform decapsulation.

[ section 7 ]

* What flow label is included in hashing where End.DX4 is concerned?  If
  it's the flow label of the outermost IPv6 header, then the same question
  comes to mind for End.X and End.DX6; I'd assumed it would be the inner
  packet's flow label (and src/dst addresses) that would factor into the
  flow hashing.

[PC] Ingress PE, upon encapsulation of the received customer packet via H.Encap, computes and sets the IPv6 Flow Label of the new IPv6 header as described in RFC6437.
Upon End.X, End.DX6 or End.DX4 we use the IPv6 Flow Label of the outer IPv6 header (that was computed by the ingress PE).
I’ve clarified this in Section 7 with the following diff:
<OLD>
   When a flow-based selection within a set needs to be performed, the
   source address, the destination address and the flow label MUST be
   included in the flow-based hash.
</OLD>
<NEW>
   When a flow-based selection within a set needs to be performed, the
   IPv6 Source Address, the IPv6 Destination Address and the IPv6 Flow Label of the outer IPv6 header MUST be included in the flow-based hash.
</NEW>

[ section 8 ]

* Of what value to the ingress node is knowledge of USP or USD behaviour
  at the terminus?  That still seems like exposing an implementation detail.

[PC] In order to achieve both of the use-cases described above. As an example, if a P router only has a SID instantiated with the End behavior (0x0001), then such SID and hence such node cannot be used in the TILFA backup path. It needs to support USD to be able to be used.

----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

[[ comments ]]

[ section 3.2 ]

* First, thanks for adding this section; I think it does help.

* Second, thanks for clarifying that Endpoint Behaviour cannot be inferred
  from FUNCT; much improved.

[PC] Thanks for your feedback that originated this section. :-)

[[ questions ]]

[ section 4 ]

* When an SRv6-capable node receives a packet destined to a locally
  instantiated SID, doesn't it also apply RFC 8754 processing
  (as well as RFC 8200)?
[PC] Yes.  Section 4 does mention that the extension header is processed as defined by RFC8200; and the SRH processing, when the FIB entry represents a locally instantiated SRv6 SID, is processed as defined by the SID behavior. RFC8754 section 4.3.1 defines a single SID behavior. This document specifies other SID behaviors.
Note that this document defines an SRv6 Endpoint Behavior codepoint for the RFC8754 SID behavior. 
In revision 20 this document we also includes the following note in section 3.
   Section 4 of this document defines a new set of SRv6 SID behaviors in
   addition to that defined in [RFC8754] Section 4.3.1.

[ section 4.9 ]

* Can an End.DX2 sID be associated with LAG'd set of outgoing interfaces J,
  analogous to the "interface bundle" description for End.X processing?

[PC] Agreed. Added in rev21.

[[ nits ]]

[ section 6 ]

* "pair of traffic counter" -> "pair of traffic counters"

[PC] Ack. Fixed in rev21.

Thank you for your time.