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

Greg Mirsky <gregimirsky@gmail.com> Fri, 28 January 2022 20:03 UTC

Return-Path: <gregimirsky@gmail.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 C7D953A0F5E; Fri, 28 Jan 2022 12:03:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, HTML_MESSAGE=0.001, 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 gH0Hjy15kWqW; Fri, 28 Jan 2022 12:03:16 -0800 (PST)
Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (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 748403A0F16; Fri, 28 Jan 2022 12:03:07 -0800 (PST)
Received: by mail-ed1-x531.google.com with SMTP id w14so11978968edd.10; Fri, 28 Jan 2022 12:03:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kFTgn/uMtPjGHcwlgNAYMx+5UliDCla18+EWr8+MXLo=; b=KFEEc7GxKjc5vLRrQTZ6SjLOoyBoPzhSsyN6HQF2g8YeO1D2cBuND9YkOipFIm4uxp d1KYxdSXtXMESgtCsTqYXZ2HprYSNjgDk/CtOlj2qG+/g8ivFziHGOevSS1GAWTTSvKK bJZGlC6LCnjMBHQn0hJakbmcSILM6YDLwXSqFO9PdH/SfUsgy80Xt1DXcyyDBa/VBVhv IE5E5/Lpaz7m32+HlBZvJM/4SH/UdezGupp07PjVOWAruGg27gTTXf3ZXOOxR7kdzTh1 /YB6wTrD2MdbvFBvEr7ebN79UyN7jXfpxprkoldAdAMQfc/hZ6iHj0gARO4F8JyvO7Bx Et7A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kFTgn/uMtPjGHcwlgNAYMx+5UliDCla18+EWr8+MXLo=; b=OezcEuo59i7pTOh0hYkrIgMSReVtuMhEjeCnYRQ6l2NpR6rhsOMLNB0NAAIqPQXiWx 47/WVcWwmFRhQbolxfqzl6Fdh3ZSelq4uHIyK0bUSPjdSwMWpm/z9UPCZkCQsm94F6Xm nt18/mlGfWqwFHYmDTyMXoqP+31OxJLAS4nn8rqL/nTefG4u6CI2GYgSV7yn4j2LDriS KtBknsTk2qIAFRjxDAACGQMHJRRoyllt/iSo43elzGmWm0XX5CYmBV6U6QlMsGEQjGv6 UJJZhg4VSYqzjkS2OGEqKgVQweLBP2ojEhkzhauSgXbWi+pL7BeBsUkS+pVvtigd1OQ8 8JdQ==
X-Gm-Message-State: AOAM532LujyHH3JWiUsWgm+y8heyiy7jITHLed2ISKTcfpoR2BP8VcdV YTbm+Qm8a0fFuScsTmEC/m8HRo2zt8Crohp5U6Kh6sJy
X-Google-Smtp-Source: ABdhPJyNxoLGRbgXoSfSqgIRFr2ehZzb86bfSk6sPLnAqQJ7LvGVc6ru/mnU2qB5SgUJxBE4gBSaZKdD0XOsF8PxB1A=
X-Received: by 2002:a05:6402:2071:: with SMTP id bd17mr9727843edb.328.1643400184747; Fri, 28 Jan 2022 12:03:04 -0800 (PST)
MIME-Version: 1.0
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>
In-Reply-To: <BY3PR13MB478724D6BEFFED706F23FC699A229@BY3PR13MB4787.namprd13.prod.outlook.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Fri, 28 Jan 2022 12:02:53 -0800
Message-ID: <CA+RyBmUadYQe2Rf-Cu41rh9DoU04U+dMFs+1yGFP_6O0h63jpQ@mail.gmail.com>
To: Haoyu Song <haoyu.song@futurewei.com>
Cc: "spring@ietf.org" <spring@ietf.org>, IETF IPPM WG <ippm@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000003c5c3705d6a9ec92"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/-fu0VadFO5C5Pm-_Rg7VcYgcDJ4>
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: Fri, 28 Jan 2022 20:03:21 -0000

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://datatracker.ietf.org/doc/draft-ietf-ippm-ioam-direct-export/>, or
the Hybrid Two-step
<https://datatracker.ietf.org/doc/draft-mirsky-ippm-hybrid-two-step/>
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>
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%7Cbb534802a33e486439bc08d9e2045725%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637789330546317842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=tVevPlkRykwgaEbU9tAftdnjZn27Zc74Wgr8b6nsxgQ%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>
> *Sent:* Thursday, January 27, 2022 6:17 PM
> *To:* Haoyu Song <haoyu.song@futurewei.com>
> *Cc:* spring@ietf.org; IETF IPPM WG <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%7Cbb534802a33e486439bc08d9e2045725%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637789330546317842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=tVevPlkRykwgaEbU9tAftdnjZn27Zc74Wgr8b6nsxgQ%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%7Cbb534802a33e486439bc08d9e2045725%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637789330546317842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=n22sC0FjPtfa%2FoAOV%2BtLzYh3Dc9%2FT7CLW4tjYDvMfHc%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%7Cbb534802a33e486439bc08d9e2045725%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637789330546317842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=a180XC%2F8M9u0C%2B3g7VFit8cx3MlfrpIkOw5%2BhoxR3JQ%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%7Cbb534802a33e486439bc08d9e2045725%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637789330546317842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=bfBsZ1NYSkiQA1SinEmTw4U0KO4A47vPys%2BGYYfNL8c%3D&reserved=0>
>
>
>
> Regards,
>
> Greg
>
>
>
> On Thu, Jan 27, 2022 at 5:44 PM Haoyu Song <haoyu.song@futurewei.com>
> wrote:
>
> Hi Greg, please see Inline
>
>
>
> *From:* Greg Mirsky <gregimirsky@gmail.com>
> *Sent:* Thursday, January 27, 2022 2:01 PM
> *To:* Haoyu Song <haoyu.song@futurewei.com>
> *Cc:* spring@ietf.org; IETF IPPM WG <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>
> wrote:
>
> Hi Greg,
>
>
>
> Thank you for your questions. Please see inline response.
>
>
>
> Best,
>
> Haoyu
>
>
>
> *From:* Greg Mirsky <gregimirsky@gmail.com>
> *Sent:* Wednesday, January 26, 2022 3:01 PM
> *To:* Haoyu Song <haoyu.song@futurewei.com>
> *Cc:* spring@ietf.org; IETF IPPM WG <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%7Cbb534802a33e486439bc08d9e2045725%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637789330546474520%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=j9ODsMyWuYOPjnmvAHcmyZ8a00QmIOVR7BbXiXgZQhU%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>
> 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%7Cbb534802a33e486439bc08d9e2045725%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637789330546474520%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=STWFmE1srlwuuMXZoF6oEgjWz%2B6aFkhzY%2B9p3zR9W8g%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%7Cbb534802a33e486439bc08d9e2045725%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637789330546474520%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=jZeeAirU35C9MGAIvbDX79%2FA7CZEr7gmspx0%2BHsMMIQ%3D&reserved=0>
>
>
>
> Thank you very much!
>
>
>
> Best regards,
>
> Haoyu
>
> _______________________________________________
> spring mailing list
> 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%7Cbb534802a33e486439bc08d9e2045725%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637789330546474520%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=hB%2FZ0HwhEmS0kkskCcPcxe%2FtzYctaBBoJ0jAI%2Fu6Uyw%3D&reserved=0>
>
>