Re: Questions about draft-ietf-spring-srv6-networking-programming and draft-filsfils-spring-net-pgm-extension-srv6-usid

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Tue, 10 September 2019 15:00 UTC

Return-Path: <pcamaril@cisco.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 29BD11201A3; Tue, 10 Sep 2019 08:00:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 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_HI=-5, 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=FBbtyaLP; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=gxOWq7wH
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 CWWVpe8KPIsl; Tue, 10 Sep 2019 08:00:47 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C875C1201DC; Tue, 10 Sep 2019 08:00:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=23421; q=dns/txt; s=iport; t=1568127646; x=1569337246; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=i6GD4f4Lq66OKVjgdq7JZx1AIgKAcUaHzOuqdNDkwXo=; b=FBbtyaLPX0MKqxsgmb+P91VB3zEDTEqhT2RkEC7V27NYFivLa+F15UpR xUgutlBzUtNN/ShOpEbHYxGqIQr1Svelx6/EmWzgqiORKyLEtSAj2s9f/ ZCgGiLhYmrTiSSemrwj/UeX00Yz9Vmc6RxwnrI8AiuDkKZ4ikxvsttcR8 0=;
IronPort-PHdr: 9a23:IxOiRhPOtnUcrlAgac8l6mtXPHoupqn0MwgJ65Eul7NJdOG58o//OFDEu6w/l0fHCIPc7f8My/HbtaztQyQh2d6AqzhDFf4ETBoZkYMTlg0kDtSCDBjjJ/fvZjY7GOxJVURu+DewNk0GUMs=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0A5AAC/uXdd/4sNJK1kGwEBAQEDAQEBBwMBAQGBVQQBAQELAYEVL1ADbVYgBAsqCoQXYoJlA4p6TYIPkxSEXIEuFIEQA1QJAQEBDAEBJQgCAQGEPwIXgjIjNgcOAgMBAwIDAQEEAQEBAgEGBG2FLgyFSgEBAQEDEhEdAQE4DwIBCBEDAQIkBwICAjAdCAEBBAESIoMAAYEdTQMdAQIMnCYCgTiIYXOBMoJ9AQEFgTIBg1QYghYJgTQBi3cYgUA/gREBJh+CTD6CYQKBSTgNC4JTMoImj0CFIYh7HY5SCoIhhwGFDYhpG4I0h0CGMohkjX+IBJBqAgQCBAUCDgEBBYFYATGBWHAVOyoBgkEJRxAUgU4MFxWDOoUUYIRfcwGBKI1cAYEiAQE
X-IronPort-AV: E=Sophos;i="5.64,489,1559520000"; d="scan'208,217";a="334751779"
Received: from alln-core-6.cisco.com ([173.36.13.139]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 10 Sep 2019 15:00:41 +0000
Received: from XCH-ALN-008.cisco.com (xch-aln-008.cisco.com [173.36.7.18]) by alln-core-6.cisco.com (8.15.2/8.15.2) with ESMTPS id x8AF0fjo013445 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 10 Sep 2019 15:00:41 GMT
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by XCH-ALN-008.cisco.com (173.36.7.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 10 Sep 2019 10:00:41 -0500
Received: from xhs-aln-001.cisco.com (173.37.135.118) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 10 Sep 2019 11:00:40 -0400
Received: from NAM03-DM3-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 10 Sep 2019 10:00:40 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UIe3uBY26hhN87slPvUFGMY/iYHPxe8XiipGbV/uhy8eipl3XVf1crTyZBo/pO5dtoYmpI6vFsK/MQfOQDW/QV2MryTWYnXbpHMOQHf8qLQ+5RagJDfnA+/6L+IwRkPJWdMJaN7cgLSYzNSaDilOiVIJU/0c2+4SRdl8TWjsK4zSDtU700bAy3fpnGoc9Q3h3aL6DKMhie5B2kV5sCvahYFBko+1bIGA4h/ISuY/GC6XtDQyx4LYtvVn3rQp73yUzbdY2RJPiPXIlskRm+rExpi8QXxl3JHnVvs12X6tmJl+l2llBVO4+cJ92Te3AQPyauXw/fUY4KQidhz/rIHoGg==
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=i6GD4f4Lq66OKVjgdq7JZx1AIgKAcUaHzOuqdNDkwXo=; b=P76twtWCFkqVpGupN2pMqfKonUZXvrAy8I2ZpwQjcb7niwBAi85ln+NNT1GdvQev5n7Min5LrL4gNWpEZe8gVs10lscRBqYqIVk9abXgycNjaaIPLODFDKMm491dzNwfAAQwe0Q4/WxJnohF9T6X8mwZeaJB15dN1QOhDqCz5etVslMbexpqSqHNsGrIpKHPqBvbl3jIj4DakFb8E8PvC4rYK7fKpK1XYD8pYXs8p+9jNTMSj6eVRy8uaaP9DeeQLaqgMrTHNxzchuvHcVN23y+lxxoRmxfHkSNdajIUy25dZ9tJWSuOvvBiL/JNcLp0aZAbyEQMjlSI43bwrwqjJA==
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=i6GD4f4Lq66OKVjgdq7JZx1AIgKAcUaHzOuqdNDkwXo=; b=gxOWq7wHixU00mtaN6eU1bRO9ecL9JzncWyL2iouOtb5VR9BEIWmbiXJEyAql6wWJfPlVj4f6hIQII78OOtbxET7lyPksR4Ou0XYJnT9sDRGT+SrU4gPvYjClR2h7VzaLRLfMn2gu2DLFyI/en46ZmeeKePYZOh9JejllAOe5wY=
Received: from MN2PR11MB4094.namprd11.prod.outlook.com (20.179.150.80) by MN2PR11MB4478.namprd11.prod.outlook.com (52.135.36.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.18; Tue, 10 Sep 2019 15:00:39 +0000
Received: from MN2PR11MB4094.namprd11.prod.outlook.com ([fe80::c1d:5576:3ad6:9724]) by MN2PR11MB4094.namprd11.prod.outlook.com ([fe80::c1d:5576:3ad6:9724%4]) with mapi id 15.20.2241.018; Tue, 10 Sep 2019 15:00:39 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: Andrew Alston <Andrew.Alston@liquidtelecom.com>, SPRING WG List <spring@ietf.org>, "ipv6@ietf.org" <ipv6@ietf.org>
Subject: Re: Questions about draft-ietf-spring-srv6-networking-programming and draft-filsfils-spring-net-pgm-extension-srv6-usid
Thread-Topic: Questions about draft-ietf-spring-srv6-networking-programming and draft-filsfils-spring-net-pgm-extension-srv6-usid
Thread-Index: AdVjbjzq0JzuG6CTQi63zXD7u8AURwEiwgcA
Date: Tue, 10 Sep 2019 15:00:39 +0000
Message-ID: <9C7C2109-17B6-4FB0-942B-09F902C7CCEE@cisco.com>
References: <VE1PR03MB542290761D37661F112B9763EEB80@VE1PR03MB5422.eurprd03.prod.outlook.com>
In-Reply-To: <VE1PR03MB542290761D37661F112B9763EEB80@VE1PR03MB5422.eurprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pcamaril@cisco.com;
x-originating-ip: [173.38.220.56]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 36c05138-f370-4cbb-c8c3-08d735ffa4d8
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR11MB4478;
x-ms-traffictypediagnostic: MN2PR11MB4478:
x-ms-exchange-purlcount: 3
x-microsoft-antispam-prvs: <MN2PR11MB44782BA04D91E26A56C18F7DC9B60@MN2PR11MB4478.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01565FED4C
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(136003)(396003)(376002)(199004)(189003)(53754006)(66066001)(11346002)(91956017)(36756003)(2616005)(5660300002)(186003)(86362001)(6436002)(7736002)(25786009)(99286004)(66446008)(6486002)(229853002)(6306002)(54896002)(6512007)(14454004)(236005)(26005)(256004)(110136005)(8936002)(33656002)(14444005)(6246003)(76116006)(81156014)(81166006)(2906002)(446003)(102836004)(606006)(486006)(6506007)(476003)(478600001)(316002)(966005)(53546011)(53936002)(64756008)(66556008)(66476007)(76176011)(3846002)(8676002)(71200400001)(2501003)(6116002)(66946007)(71190400001); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4478; H:MN2PR11MB4094.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-message-info: uHEPz3M4Vmg85X7+Q6iWScollAxJSJQ2xqvNzWjPPCYafB66lD3BB/LERHIvy6pRHe940XkXTcjeL5gnkE+Y/aBjMUd2jHtY3w+p6XYHPyUZ2++QOeg35pt70pDSApoylZ3L+fznswZ6hrKzkAHo9yiMtHbm/i8RBQSU3DAX7T0dFIfM1y6qzxiWGWJoMLh9VhF3vB9lSQcvKHXmqHxPVnOySKVw9y3GxoIQPXoOUpmwdIXTVmr05ZWm/FkAa6N21fJCRHLVMMKLKnP4j6EJHqtF23+ziN6LcrBBgxPxXpQnvMqul8FAyg3UebLBLFriIFxUPdF2Z/TW3R1AuBKsI679zxkXvuFU5IbA9U9UjAs/gAcd8SWLVmUevVOERYijAJUfIZVw/JScUKZp8sJKEJAMvUd8JJpxhvJ/XOLru+E=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_9C7C210917B64FB0942B09F902C7CCEEciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 36c05138-f370-4cbb-c8c3-08d735ffa4d8
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Sep 2019 15:00:39.3148 (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: O9JsSouUjjff2Rq/r2LJ7XDAqfH6lGb4948cdulfJ/gGGbp+YKtYF9KagO/l6q5pdI78L/+xC07W0DMQ5R3PEw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4478
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.18, xch-aln-008.cisco.com
X-Outbound-Node: alln-core-6.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/_l49aCc2jaNy8MZGK46sSiq2yUc>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Sep 2019 15:00:50 -0000

Hi Andrew,

Please see inline.

Thanks,
Pablo.

From: ipv6 <ipv6-bounces@ietf.org> on behalf of Andrew Alston <Andrew.Alston@liquidtelecom.com>
Date: Thursday, 5 September 2019 at 00:17
To: SPRING WG List <spring@ietf.org>, "ipv6@ietf.org" <ipv6@ietf.org>
Subject: Questions about draft-ietf-spring-srv6-networking-programming and draft-filsfils-spring-net-pgm-extension-srv6-usid

Hi All,

The following things in the drafts referenced in the subject line are questions that I feel need to be addressed – since having gone through these drafts closely in light of some of the comments on the spring list and cross referenced and checked a number of things – there are a number of things that significantly concern me.

Firstly – in section 3 of the network programming draft an attempt is made to define SID syntax and semantics.  Now, when cross referenced with section 2 of the draft, it states “SID: A segment identifier which represents a specific segment in the segment routing domain.  The SID type used in this document is IPv6 address (also referenced as SRv6 Segment or SRv6 SID)”
The semantics specified in the network programming draft state that the high order bits are a locator, the next bits are a function, and the next bits are arguments to a function.  (Page 6 paragraph 6, “We represent an SRv6 SID as LOC:FUNC where LOC (locator) is the L most significant bits and FUNCT (function) is the 128-L last significant bits.
This is quite clearly a re-definition of the IPv6 address semantics as specified in RFC4291, which that’s that IPv6 addresses are 128-bit identifiers for interfaces and sets of interfaces (Section 2 of RFC4291)
Section 2.5 of the RFC4291 also states that IPv6 unicast addresses are aggregable with prefixes of arbitrary bit-length.  Aggregation of semantics specified in the network programming draft does not seem possible.  This also has relevance when we consider that SID’s are indeed addresses, and we find this in draft-ietf-6man-segment-routing-header in section 4.2

PC: This has already been discussed and closed.  https://mailarchive.ietf.org/arch/msg/spring/7lVGREOCAXKrTWTmQDe2-ZnaZYU

Then we move to section 4.13 and 4.14 of the network programming draft, which define the END.B6-INSERT and the END.B6.INSERT.RED  SID types.  These types cause transit nodes to insert SRH’s.  They are explicit in their statement that they can insert a second SRH in a packet that already  has an SRH.  This conflicts with RFC8200 section 4 which states that extension headers, except for hop-hop-hop option headers, are not processed, inserted or deleted by any node along a packet’s delivery path, until the packet reaches the node.
Further to this, sections 4.21.1 and 4.21.2, when referencing PSP and USP flavors of the END, END.X and END.T functions all cause transit nodes to pop the top most SRH, which again, conflicts with RFC8200 Section 4.
Further to this, section 5.2 and 5.3, which define the T.INSERT and T.INSERT.RED behaviors will cause transit nodes to insert SRH’s – again – in conflict with RFC8200 Section 4.

PC: This is work in progress with a normative reference in Network-Programming draft to the relevant 6man draft.

Then, the following questions are things I would like to see addressed as concerns the uSID draft.

Firstly, I feel that this draft again redefines the IPv6 address semantics in ways that are very far removed from what is defined in RFC4291, and that is concerning.
PC: This has already been discussed and closed.  https://mailarchive.ietf.org/arch/msg/spring/7lVGREOCAXKrTWTmQDe2-ZnaZYU

Secondly, I do not understand how draft-filsfils-spring-net-pgm-extension-srv6-usid is compatible with the network programming draft.  Due to the semantics of the addressing specified in the network programming draft, the moment you start shifting an address in the way this draft specifies, you start to effectively break the locator/function semantics
PC: SRv6 uSIDs follow the same semantics.  The function says how to process the segment, the argument contains information on how to select the next segment.

– and as such, programmability is only really possible at the end nodes.  Now, the argument has been put forward that you can retain the full SID stack while still shifting the address in the uSID approach – however, my question then becomes, if you do this to retain compatibility with the network programming draft, do you not lose any point in actually having uSID at all – since it was designed to address overhead, and the overhead has just returned again.
PC: No.

I really feel that these things need to be addressed – because while I understand that there are things which are mandatory, and things which are optional and in the spirit of a draft,  and while I feel that if something isn’t specified as mandatory but is clearly in the spirit, there may be occasions where something may be deviated from, what I see here is an entire redefinition of the address semantics, and multiple conflicts with segments of RFC8200 – in a consistent and what I consider to be an egregious manner.

I look forward to hearing responses

Thanks

Andrew