Re: [ippm] [spring] Active OAM in SRv6

Tianran Zhou <zhoutianran@huawei.com> Sat, 29 January 2022 03:44 UTC

Return-Path: <zhoutianran@huawei.com>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD4783A10AB; Fri, 28 Jan 2022 19:44:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.896
X-Spam-Level:
X-Spam-Status: No, score=-6.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Mc-LXhux6agM; Fri, 28 Jan 2022 19:44:30 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E28DC3A10A7; Fri, 28 Jan 2022 19:44:29 -0800 (PST)
Received: from fraeml704-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Jm0Tv0dykz67lTK; Sat, 29 Jan 2022 11:40:51 +0800 (CST)
Received: from kwepeml100001.china.huawei.com (7.221.188.249) by fraeml704-chm.china.huawei.com (10.206.15.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.21; Sat, 29 Jan 2022 04:44:26 +0100
Received: from kwepeml500004.china.huawei.com (7.221.188.141) by kwepeml100001.china.huawei.com (7.221.188.249) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sat, 29 Jan 2022 11:44:24 +0800
Received: from kwepeml500004.china.huawei.com ([7.221.188.141]) by kwepeml500004.china.huawei.com ([7.221.188.141]) with mapi id 15.01.2308.021; Sat, 29 Jan 2022 11:44:24 +0800
From: Tianran Zhou <zhoutianran@huawei.com>
To: Haoyu Song <haoyu.song@futurewei.com>, Greg Mirsky <gregimirsky@gmail.com>
CC: "spring@ietf.org" <spring@ietf.org>, IETF IPPM WG <ippm@ietf.org>
Thread-Topic: [spring] Active OAM in SRv6
Thread-Index: AQHYFHrEZbN+DRQ55k+LWpG4w0hByqx4VP+AgAACHACAAQPZQA==
Date: Sat, 29 Jan 2022 03:44:24 +0000
Message-ID: <92572d9dd6b545c8993a9945f2e51f97@huawei.com>
References: <BY3PR13MB4787D2E50FA60705DF306FD19A209@BY3PR13MB4787.namprd13.prod.outlook.com> <CA+RyBmWDiBQfMrHHdqyVf_oi7dMW-sLrv2DF0RQLfXO47j=Bvg@mail.gmail.com> <PH0PR13MB479524F559A9E68B541F3C499A219@PH0PR13MB4795.namprd13.prod.outlook.com> <CA+RyBmUUzNbmCvfy=gxraSY9BCkuH1jpVnD3b+0SMN+oq6ZJDg@mail.gmail.com> <BY3PR13MB4787B8709B423786E6787C789A229@BY3PR13MB4787.namprd13.prod.outlook.com> <CA+RyBmXb2fWxNkZdTbSova47Uhd1hA0NcqSiMjxKD=aw254tEA@mail.gmail.com> <BY3PR13MB478724D6BEFFED706F23FC699A229@BY3PR13MB4787.namprd13.prod.outlook.com> <CA+RyBmUadYQe2Rf-Cu41rh9DoU04U+dMFs+1yGFP_6O0h63jpQ@mail.gmail.com> <BY3PR13MB4787B727C76FE5B767E952049A229@BY3PR13MB4787.namprd13.prod.outlook.com>
In-Reply-To: <BY3PR13MB4787B727C76FE5B767E952049A229@BY3PR13MB4787.namprd13.prod.outlook.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.112.40.195]
Content-Type: multipart/alternative; boundary="_000_92572d9dd6b545c8993a9945f2e51f97huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/UufCwJUP0WgiHiYxnG7cp50BOUw>
Subject: Re: [ippm] [spring] Active OAM in SRv6
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm>, <mailto:ippm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm/>
List-Post: <mailto:ippm@ietf.org>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Jan 2022 03:44:35 -0000

Hi Haoyu and Greg,

I think we are getting clear, the discussion falls into two points:
1. new protocol vs reuse existing protocol
2. IPv6 EH vs UDP

Best,
Tianran

From: ippm [mailto:ippm-bounces@ietf.org] On Behalf Of Haoyu Song
Sent: Saturday, January 29, 2022 4:10 AM
To: Greg Mirsky <gregimirsky@gmail.com>
Cc: spring@ietf.org; IETF IPPM WG <ippm@ietf.org>
Subject: Re: [ippm] [spring] Active OAM in SRv6

Hi Greg,

Sure, SRv6 is IPv6 but SRv6 doesn't equal to IPv6. If you define IOAM in IPv6, then what's its behavior in SRv6? Shall it be applied on every node or every SR node? But the more fundamental issue is that I don't think putting all of such things in EH TLVs is a good idea. All of the discussions around this which you are also very familiar make me think we should avoid it if we can.

Best,
Haoyu
From: Greg Mirsky <gregimirsky@gmail.com<mailto:gregimirsky@gmail.com>>
Sent: Friday, January 28, 2022 12:03 PM
To: Haoyu Song <haoyu.song@futurewei.com<mailto:haoyu.song@futurewei.com>>
Cc: spring@ietf.org<mailto:spring@ietf.org>; IETF IPPM WG <ippm@ietf.org<mailto:ippm@ietf.org>>
Subject: Re: [spring] Active OAM in SRv6

Hi Haoyu,
I'm surprised that you suggest an alternative to the IPv6 way of collecting IOAM data. SRv6 must use all of IPv6 OAM. Would you agree? In some rare cases, SRv6-specific extensions to IPv6 OAMAs for the limited amount of information that can be collected using IPv6 extension headers, IOAM Direct Export<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-ietf-ippm-ioam-direct-export%2F&data=04%7C01%7Chaoyu.song%40futurewei.com%7C68756b8238854f369c4f08d9e2993304%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637789969905226641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=gw58jVbuNtvV11Bko%2FiDOHo5izQ4uPCz81B0fdbFNrg%3D&reserved=0>, or the Hybrid Two-step<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-mirsky-ippm-hybrid-two-step%2F&data=04%7C01%7Chaoyu.song%40futurewei.com%7C68756b8238854f369c4f08d9e2993304%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637789969905226641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=2oKqJPhLdZVUxdzJ41Y5nPa2pJYv%2FYkDu6ViqJga4xA%3D&reserved=0> provide the solution. Both solve this problem by separating the generation of the IOAM data set from the collection and transport. You are well-familiar with both drafts.

Regards,
Greg

On Fri, Jan 28, 2022 at 11:10 AM Haoyu Song <haoyu.song@futurewei.com<mailto:haoyu.song@futurewei.com>> wrote:
Hi Greg,

Thanks for the info. I'd like to clarify this work means to use the standardized IOAM options to support active measurement, so it's fair to say we use IOAM in SRv6 for active measurement. Another point I'd like to mention is that draft-ietf-ippm-ioam-ipv6-options<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-ietf-ippm-ioam-ipv6-options%2F&data=04%7C01%7Chaoyu.song%40futurewei.com%7C68756b8238854f369c4f08d9e2993304%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637789969905226641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=0BZvQjhxlRQvI8dSvfTThQwc3mVU01dpj0UjHCAu1CI%3D&reserved=0> is for IPv6 in general but not for SRv6 specifically. Moreover, it also use EH TLVs and we propose to use UDP, and it means to support in-band measurement for user traffic.

In my view, SRv6 is the way to steer traffic. If SRv6 networks prevail, it's natural to use the traffic steering feature for probing and measurements as well. If we have a unified method to cover as many techniques as possible, we can imagine new techniques can also be introduced easily. Without needing to set up any sessions and maintain any states, the controller can inject probing packets from any node, steer them on any path, terminate them at any node, and collect any data we like. Such in-network measurement doesn't need to involve end hosts like PING. It can be used for traffic engineering (e.g., evaluating different paths at background) and for gray failure detection and prevention.

I hope the WG can see the simplicity, extensibility, and great application potential of the proposed scheme, and provide constructive suggestions to improve it.

Thanks!
Haoyu

From: Greg Mirsky <gregimirsky@gmail.com<mailto:gregimirsky@gmail.com>>
Sent: Thursday, January 27, 2022 6:17 PM
To: Haoyu Song <haoyu.song@futurewei.com<mailto:haoyu.song@futurewei.com>>
Cc: spring@ietf.org<mailto:spring@ietf.org>; IETF IPPM WG <ippm@ietf.org<mailto:ippm@ietf.org>>
Subject: Re: [spring] Active OAM in SRv6

Hi Haoyu,
now, without in-lining my notes.
It appears that you propose not to use draft-ietf-ippm-ioam-ipv6-options<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-ietf-ippm-ioam-ipv6-options%2F&data=04%7C01%7Chaoyu.song%40futurewei.com%7C68756b8238854f369c4f08d9e2993304%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637789969905226641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=0BZvQjhxlRQvI8dSvfTThQwc3mVU01dpj0UjHCAu1CI%3D&reserved=0>. Thus, your proposal cannot be referred to as IOAM in SRv6. At best, it is IOAM-inspired, IOAMish. As a result, a node supporting standardized IOAM would not understand your probe packet without an SW upgrade. In my book, that's a new protocol.
In closing, I'll reference two works by Ruediger Geib<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fperson%2FRuediger.Geib%40telekom.de&data=04%7C01%7Chaoyu.song%40futurewei.com%7C68756b8238854f369c4f08d9e2993304%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637789969905226641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=L8pN4A6sKha7LCQbTPnK44gG8WnzS2ySisE377AIhnI%3D&reserved=0>, where combining the defined techniques of steering test probes with standard IOAM might reveal a lot of useful information about a network:

  *   RFC 8403<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Frfc8403%2F&data=04%7C01%7Chaoyu.song%40futurewei.com%7C68756b8238854f369c4f08d9e2993304%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637789969905226641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=YAi4ps4uW9kWkp2%2FZMO2sFUcq2eeAxJ%2B5lytt4%2BJIrM%3D&reserved=0>
  *   draft-ietf-ippm-connectivity-monitoring<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-ietf-ippm-connectivity-monitoring%2F&data=04%7C01%7Chaoyu.song%40futurewei.com%7C68756b8238854f369c4f08d9e2993304%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637789969905226641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=UwFgdb3tUQwouDm7O80LTjQ%2BijtFTvKEv%2FAUqCgwkAY%3D&reserved=0>

Regards,
Greg

On Thu, Jan 27, 2022 at 5:44 PM Haoyu Song <haoyu.song@futurewei.com<mailto:haoyu.song@futurewei.com>> wrote:
Hi Greg, please see Inline

From: Greg Mirsky <gregimirsky@gmail.com<mailto:gregimirsky@gmail.com>>
Sent: Thursday, January 27, 2022 2:01 PM
To: Haoyu Song <haoyu.song@futurewei.com<mailto:haoyu.song@futurewei.com>>
Cc: spring@ietf.org<mailto:spring@ietf.org>; IETF IPPM WG <ippm@ietf.org<mailto:ippm@ietf.org>>
Subject: Re: [spring] Active OAM in SRv6

Hi Haoyu,
thank you for your detailed reply. Please find my follow-up notes in-lined below under the GIM2>> tag.

Regards,
Greg

On Thu, Jan 27, 2022 at 11:00 AM Haoyu Song <haoyu.song@futurewei.com<mailto:haoyu.song@futurewei.com>> wrote:
Hi Greg,

Thank you for your questions. Please see inline response.

Best,
Haoyu

From: Greg Mirsky <gregimirsky@gmail.com<mailto:gregimirsky@gmail.com>>
Sent: Wednesday, January 26, 2022 3:01 PM
To: Haoyu Song <haoyu.song@futurewei.com<mailto:haoyu.song@futurewei.com>>
Cc: spring@ietf.org<mailto:spring@ietf.org>; IETF IPPM WG <ippm@ietf.org<mailto:ippm@ietf.org>>
Subject: Re: [spring] Active OAM in SRv6

Hi Haoyu,
thank you for bringing the topic of Active OAM to the discussion. As the concept of Active IOAM is introduced in the IPPM WG draft<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-ippm-ioam-flags&data=04%7C01%7Chaoyu.song%40futurewei.com%7C68756b8238854f369c4f08d9e2993304%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637789969905226641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=J1qeMCtu5CMakfMnis%2FCNWc1RDXCW4ToXTbiKufgwk4%3D&reserved=0> it seems to me like adding the IPPM WG community to the discussion is the right thing to do.
Please find my notes in-lined below under the GIM>> tag.

Regards,
Greg

On Wed, Jan 26, 2022 at 2:37 PM Haoyu Song <haoyu.song@futurewei.com<mailto:haoyu.song@futurewei.com>> wrote:
Hi SPRING WG,

Real time monitor on every node and every link on a network is necessary to detect  gray failures, which are the key culprit for poor QoS but hard to catch. SR provides an ideal mechanism, when working with some efficient planning algorithm, to achieve that with low cost.   Our proposal SRv6 In-situ Active Measurement (SIAM) suggests a simple  active measurement approach which can support different
GIM>> I wonder what gaps you find in the existing active measurement protocols, e.g., STAMP and RFC 6734 (would be more convenient to use an acronym). It appears to me that, for example, STAMP and its extensions, including the SRPM draft<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-ippm-stamp-srpm&data=04%7C01%7Chaoyu.song%40futurewei.com%7C68756b8238854f369c4f08d9e2993304%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637789969905226641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=CIXT637fO6QOBaXIzIycSwVNVUy7KZ0e22sMt2i0HwM%3D&reserved=0>, comprehensively address the PM OAM requirements for SRv6.

HS>> Let's give a few features of our proposal: (1) it's session-less and we don't need assign any roles (e.g.,  reflector); (2) no needs for a return path. The measurement can start and end at any node (solely determined by the SRH); (3) udp-based which can support any existing IOAM modes and potentially other OAM methods.
GIM2>> I don't think adding a protocol that can generate a test probe from an arbitrary node to arbitrary targets (SRv6 supports multicast) is as simple as you present. If an operator needs to monitor the performance of the SR policy used by data packets, IOAM can be applied to data packets. If the operator wants to explore a policy that is not used for data traffic, I imagine IOAM can be added to a test packet of the existing OAM protocol, e.g., ICMP. Am I missing some of the requirements?

HS2>> For the first point: I don't think a protocol is needed here. If one wants to test the path a->b->c->d->e, he doesn't need to find a user packet on that path to carry IOAM (there could be no such packet at all). Instead, he can generate a probe packet with an SRH for the path and use the probe packet to carry IOAM. At the path end, it simply extracts and exports the IOAM data using the mechanism defined for IOAM and drops the probe packet.
For the second point: I don't think ICMP can achieve what IOAM can do. IOAM is much more powerful in terms of the data it can collect. Moreover, the proposal can be easily extended to support other kinds of OAM methods. One just carry it in UDP payload using different port. No need to worry about the size if such info has to be carried in EH TLV.
options of IOAM and other OAM methods in SRv6, without needing to worry about the extension header issue.
GIM>> draft-ietf-ippm-ioam-data classifies IOAM as follows:
   In terms of the classification given
   in [RFC7799] IOAM could be portrayed as Hybrid Type 1.
Does your proposal change that?

HS>> In this particular case, IOAM is used for active measurement because it's not included in a user packet.

Your comments, questions, and suggestions are very welcome. I'd like to know your opinion if you think this work is in scope and should be adopted by the working group.  If you are interested in contributing to this work, please also let me know. https://datatracker.ietf.org/doc/draft-song-spring-siam/<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-song-spring-siam%2F&data=04%7C01%7Chaoyu.song%40futurewei.com%7C68756b8238854f369c4f08d9e2993304%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637789969905226641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=SD0Se%2FAuRFK%2B%2FB4miPJ%2FQVH0YOf6LP6R7X3SmKRSnLE%3D&reserved=0>

Thank you very much!

Best regards,
Haoyu
_______________________________________________
spring mailing list
spring@ietf.org<mailto:spring@ietf.org>
https://www.ietf.org/mailman/listinfo/spring<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fspring&data=04%7C01%7Chaoyu.song%40futurewei.com%7C68756b8238854f369c4f08d9e2993304%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637789969905226641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9qk2ueicYlgitBrSQYBp0KLcbSqsnrvK7X0PuMRneXc%3D&reserved=0>