Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang
Greg Mirsky <gregimirsky@gmail.com> Fri, 19 August 2022 04:16 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 A758FC15258B for <ippm@ietfa.amsl.com>; Thu, 18 Aug 2022 21:16:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.103
X-Spam-Level:
X-Spam-Status: No, score=-2.103 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hvcgWI8PPLnZ for <ippm@ietfa.amsl.com>; Thu, 18 Aug 2022 21:16:05 -0700 (PDT)
Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E411EC152582 for <ippm@ietf.org>; Thu, 18 Aug 2022 21:16:04 -0700 (PDT)
Received: by mail-lf1-x134.google.com with SMTP id x19so4620476lfq.7 for <ippm@ietf.org>; Thu, 18 Aug 2022 21:16:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=6OCz4kdyCXxvG+OTBqu36ZzybyZo1C4uJajV4evcU+k=; b=fFZK35vnD+vPb7N5VYB+18hJjOWCJmo2irpbOI+GYRwYf5eEOM73SUTM2YYKR3NKxr JLPri2b6hdGZBiACePOKuGGowdiAvO8/NrMeS2NYYrs8YfP9eSbUEZI52m/6hlgPD0Ux FxqUcFN3JpdmfxxUvC96WUuy2r+FyKrnFZP3PwvRrSgkn6hlDE/v5nYNjPDs18FOMoyy MFf1EqBAXJupXoDI+L8DR7HoPv+StlGPJbrEBByCSzw7XVLxHnJ4IR+wTjDp6x7KQUzf JsF/ul3JMOEa7mgGxpgpHUsM6YJ9TaBan+OUTQhA79cEOiZ6YVx2mBrSFrgMfaSECsDI gaVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=6OCz4kdyCXxvG+OTBqu36ZzybyZo1C4uJajV4evcU+k=; b=Fe25chMu7+Q+PBh7p1f/QDUIK9aDIzJx6dR39U4iMoEt7KPSn7oCQIXk7BukTtfHFG 8mo5mqForDk4NQNMY2sBeO17zXwgf4wfpznw7m2/8YaIj9KaM9HPNXz4OAfBEcBTXpdx lZ3y+uR6tGVbQ1F9oM6jMWT9nB/8UTTB7LkQ3dFaBoo1N3ImLRXuKL0cH0rduK3HL9yN PyZuyS9iX3u2hc73O2GXWzAPrvJtEhgOxquO1sLAdS5YkdnJ+AFkhvfGcuORjWuFIYXt iwNDwf3BPrYsRSyPZo0l1Ih4UkuDd8bM9Z3SNXJQ46Ribw+Vr1Pqemul6Y+hOt0A8sWn /ONw==
X-Gm-Message-State: ACgBeo196UQs0evhB9wM1zqVIr+nSvcTwOMXoxaO5JRHSDHGp5sGTuHO o226obDa6zkGOaW2wQeJeX639S6ad/cITBNfsNUnbysL1bQ=
X-Google-Smtp-Source: AA6agR5A/GLp+NhHCiXEfnCqjcEmS+SF9lWA3x6cl9/qNNX8YPouzGfb8TJec62k2RhoBSqjd8GZBmwiY4keJpmxQmE=
X-Received: by 2002:a05:6512:2284:b0:492:ca50:d857 with SMTP id f4-20020a056512228400b00492ca50d857mr323448lfu.209.1660882562077; Thu, 18 Aug 2022 21:16:02 -0700 (PDT)
MIME-Version: 1.0
References: <AB392216-E345-4274-9236-B5BEC9DF2BAB@apple.com> <CA+RyBmXyeXrQBLEQ7rFW1cxkZBYStkWw_Su2qVABgjLvuTFi8g@mail.gmail.com> <cf11d6c066134811876bdb019c13f9e3@huawei.com> <CA+RyBmVVGHDYW1ge5bJvCDwTSyg=U80vDwX2g8asHwgK0c=eVw@mail.gmail.com> <cb68850ed2114b9a84cc69077e340189@huawei.com> <CA+RyBmWQtz84+K3owE1=O6sx5iS45gjT-HCjq_xCX77KKd+bmg@mail.gmail.com> <f9a38d4ac9ca495481eca09bf6abfb62@huawei.com>
In-Reply-To: <f9a38d4ac9ca495481eca09bf6abfb62@huawei.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Thu, 18 Aug 2022 21:15:50 -0700
Message-ID: <CA+RyBmVMR9Q08a_66t4t-m19+LKRmHXcToQDG0n6FYk5dn=sPg@mail.gmail.com>
To: Tianran Zhou <zhoutianran@huawei.com>
Cc: Tommy Pauly <tpauly=40apple.com@dmarc.ietf.org>, IETF IPPM WG <ippm@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002058c705e6905b6a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/_PB4gUD1sxhkkTLDspjQyfylpKs>
Subject: Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.39
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, 19 Aug 2022 04:16:06 -0000
Hi Tianran, please find my follow-up notes below under the GIM3>> tag. Regards, Greg On Thu, Aug 18, 2022 at 8:03 PM Tianran Zhou <zhoutianran@huawei.com> wrote: > Hi Greg, > > > > Thanks for further discussions. Please see below. > > > > GIM2>> Yes, to a certain degree. Perhaps I was not clear in my question. I > imagine that by applying IOAM, an operator expects to collect some > information that reflects the operational state and performance experienced > by the user packet. Could you point me to the part of the data model in the > draft that allows that? > > > > ZTR> This model only considers IOAM configuration related to date > collection across devices. The PM/operational data could be exported by > YANG push, gRPC, IPFIX, etc. And the PM data YANG model is out of this > document scope. > GIM3>> I think that is a good question for the IPPM WG to discuss. IOAM collects essential information (not only PM), but it appears that the current version of the IOAM YANG data model does not allow that information to be presented. That, to me, appears as a very unfortunate shortcoming of the draft. > > > GIM2>> If the scope of the data model is identical to IOAM Trace options > discussed in RFC 9197, then that must be explicitly stated. But if it > includes IOAM-DEX and IOAM Flags, then the characterization of IOAM must be > modified accordingly. Tha applicability of IOAM in multicast flows is a > separate matter. > > > > ZTR> I am not sure if RFC9197 definition is only for IOAM trace or not. At > least it applies to PoT, E2E in the same RFC. What’s your suggestion on the > description? Shall we just revise it here in this document, or in IOAM-DEX, > IOAM Flags also? It seems need broader discussions. > GIM3>> I am a bit confused. Earlier, you said that In-situ Operations, Administration, and Maintenance (IOAM) records operational and telemetry information in user packets while the packets traverse a path between two points in the network. comes from RFC 9197. But IOAM-DEX does not record information into a user packet. I suggest changing either the wording or the scope of the document. I think that is a straightforward proposal and the WG can decide on it. > > > GIM2>> Perhaps the behavior of a transit IOAM node is outside the scope, > but it seems like that node must be configured with the information that > enables the processing of the IOAM flow. Furthermore, the transit node is > expected to generate a packet towards the encapsulating IOAM node. What > controls the selection of the encapsulation of such packet? And on the > encapsulating node that receives looped packets, what enables the operator > to examine them and discover the list of traversed nodes? > > > > ZTR> For the transit node, we have an administrative enable knob to enable > IOAM. All the other behaviors are triggered by data plane, e.g. flags. No > need for explicit configurations. > > +--rw ioam-profiles > > +--rw admin-config > > | +--rw enabled? boolean > GIM3>> I cannot agree because that would create a very dangerous attack vector on the transit node. I believe that an operator must have mechanisms to control to which IOAM data flows the particular node performs as the transit IOAM node. Also, it seems like you've missed other parts of the note above: - Furthermore, the transit node is expected to generate a packet towards the encapsulating IOAM node. What controls the selection of the encapsulation of such packet? - And on the encapsulating node that receives looped packets, what enables the operator to examine them and discover the list of traversed nodes? I hope you will share the author's opinion on them. > > > > > GIM2>> Thinking about "that model supports NSH and IPv6", I came to > conclusion that the model as it is defined in the draft does not allow > configuration of IOAM in these networks. I find that the data model doesn't > have the means to specify the data flow which will be monitored using > IOAM. If understand the position of the authors correctly, the missing > parts to be defined in separate documents. While that might be reasonable > path for IPv6, we need to consider that the SFC WG is in its sunset and > will be closed around IETF-115. Hence, I would propose that if this model > is intended to support IPv6 and NSH, then it also includes all necessary > constructs to define data flow for IOAM application. > > > > ZTR> For each profile, there is a filter which is used to identify the > monitored data flow. This mode reuses acl model. Protocol type is to > indicate where and how to encap IOAM data field, say in IPv6( > https://datatracker.ietf.org/doc/html/draft-ietf-ippm-ioam-ipv6-options-08) > and NSH(https://datatracker.ietf.org/doc/html/draft-ietf-sfc-ioam-nsh-10). > GIM3>> I cannot find in either of the drafts (I'm the Shepherd of IOAM in NSH) any discussion of extending the IOAM YANG data model. And considering the limited time for SFC-related documents, I don't see it possible to update the draft-ietf-sfc-ioam-nsh as that would require another WG LC. > > > +--rw ioam-profile* [profile-name] > > +--rw profile-name string > > +--rw filter > > | +--rw filter-type? ioam-filter-type > > | +--rw ace-name? -> /acl:acls/acl/aces/ace/name > > +--rw protocol-type? ioam-protocol-type > > > > > > GIM2>> One aspect, common for encapsulating, decapsulating, and transit > IOAM nodes - the definition of the data flow monitored by IOAM. Second, the > control of how a transit node handles operational state and telemetry > information associated with the trigger packet. For example, would it > export the raw information to the Collector or performs some processing > locally and transmits the results? > > > > ZTR> For transit node, as I stated above, I think there is no need to > identify the data flow nor any other configuration. All can triggered by > data packet. The data export is out of this document scope. > GIM3>> Again, I strongly disagree that a mere operational enable/disable switch provides sufficient control for the IOAM functionality on a transit node. > > > Cheers, > > Tianran > > > > *From:* Greg Mirsky [mailto:gregimirsky@gmail.com] > *Sent:* Friday, August 19, 2022 6:19 AM > *To:* Tianran Zhou <zhoutianran@huawei.com> > *Cc:* Tommy Pauly <tpauly=40apple.com@dmarc.ietf.org>; IETF IPPM WG < > ippm@ietf.org> > *Subject:* Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang > > > > Hi Tianran, > > thank you for further clarification. These are helpful. I have several > outstanding questions that I've added below in-line tagged bu GIM2>>. > > > > Regards, > > Greg > > > > On Wed, Aug 17, 2022 at 7:21 PM Tianran Zhou <zhoutianran@huawei.com> > wrote: > > Hi Greg, > > > > Thanks. Please see below. > > > > Cheers, > > Tianran > > *From:* Greg Mirsky [mailto:gregimirsky@gmail.com] > *Sent:* Wednesday, August 17, 2022 10:36 AM > *To:* Tianran Zhou <zhoutianran@huawei.com> > *Cc:* Tommy Pauly <tpauly=40apple.com@dmarc.ietf.org>; IETF IPPM WG < > ippm@ietf.org> > *Subject:* Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang > > > > Hi Tianran, > > thank you for your kind consideration of my comments. Please find my > follow-up notes in-lined below under the GIM>> tag. > > > > Regards, > > Greg > > > > On Sun, Aug 14, 2022 at 8:33 PM Tianran Zhou <zhoutianran@huawei.com> > wrote: > > Hi Greg, > > Thanks very much for your comments. > > Please see in line. > > > > Cheers, > > Tianran > > > > *From:* ippm [mailto:ippm-bounces@ietf.org] *On Behalf Of *Greg Mirsky > *Sent:* Sunday, August 14, 2022 4:22 AM > *To:* Tommy Pauly <tpauly=40apple.com@dmarc.ietf.org> > *Cc:* IETF IPPM WG <ippm@ietf.org> > *Subject:* Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang > > > > Dear Authors, et al., > > please kindly consider my notes as the WG LC comments on the draft: > > - I read the document and left with a general question about the > applicability of this YANG model. Is it to be applied at: > > > - ingress IOAM node > - ingress and egress IOAM nodes > - ingress, egress, and transit IOAM nodes > > ZTR> Note ingress, egress, and transit are modeled as node action of a > profile. That means for different measurements (e.g., tracing, e2e), one > node role could change. As for one profile, there is no transit node > configuration specified in this model. > > GIM>> Can you give an example of how an IOAM node would be configured as: > > - ingress, i.e., encapsulating, IOAM node; > - egress, i.e., decapsulating, IOAM node. > > ZTR> Let’s take incremental tracing profile for example. Here is the yang > tree. > > +--rw incremental-tracing-profile {incremental-trace}? > > +--rw enabled? boolean > > +--rw node-action? ioam-node-action > > +--rw trace-types > > | +--rw use-namespace? ioam-namespace > > | +--rw trace-type* ioam-trace-type > > +--rw enable-loopback-mode? boolean > > +--rw enable-active-mode? boolean > > +--rw max-length? uint32 > > “node-action” indicates it’s encap or decap. > > For encap, more configurations are necessary. Like namespace, trace-type, > flags, … > > For decap, no more configurations. > > Make sense? > > GIM2>> Yes, to a certain degree. Perhaps I was not clear in my question. I > imagine that by applying IOAM, an operator expects to collect some > information that reflects the operational state and performance experienced > by the user packet. Could you point me to the part of the data model in the > draft that allows that? > > > - Abstract and the first paragraph of the Introduction section > characterize IOAM as only collecting the operational data and telemetry > information in the data packet. That seems like a contradiction with the > list of IOAM options that include the IOAM Direct Export. > > ZTR> I am sorry I do not get you here. Could you please give some more > hints? > > GIM>> Abstract and Introduction state that: > > In-situ Operations, Administration, and Maintenance (IOAM) records > > operational and telemetry information in user packets while the > > packets traverse a path between two points in the network. > > It appears to me that there are two inaccuracies in that sentence: > > - Direct Export IOAM Trace option does not record operational > information and telemetry information in a user packet > - IOAM, as I understand it, can be used in a multicast flow and with > user packets that traverse p2mp paths. > > I hope that clarifies my question. > > > > ZTR> The IOAM definition is the same as RFC9197. I agree with you on the > two perspectives. What’s your suggestion? > > GIM>> If the scope of the data model is identical to IOAM Trace options > discussed in RFC 9197, then that must be explicitly stated. But if it > includes IOAM-DEX and IOAM Flags, then the characterization of IOAM must be > modified accordingly. Tha applicability of IOAM in multicast flows is a > separate matter. > > > > > > - The first paragraph of the Introduction is likely to benefit from > references to documents that define IOAM encapsulation in IPv6 and NSH. > > ZTR> OK. I will add. > > GIM>> Thank you > > > - The Proof-of-Transit option is listed in the Introduction section. > Can you give an example or reference of an IETF document that describes the > applicability of this trace option? > > ZTR> This model only gives the pointer to add PoT configuration, but does > not specify the PoT configuration. As mentioned in the document “User need > to augment this module for the configuration of a specifc POT type.” > > GIM>> Thank you for the clarification. > > > - It seems like "end to end data" in Section 3.1 should be > "edge-to-edge data". > > ZTR> Yes, thanks. > > - Can you explain the behavior of a transit IOAM node that receives > IOAM with Loopback mode/flag? How "the source" is identified in a data > packet, for example, NSH? > > ZTR> I hope other co-authors could help on this. IMO, this should be > defined in IOAM-flag document. Not this. > > GIM2>> Perhaps the behavior of a transit IOAM node is outside the scope, > but it seems like that node must be configured with the information that > enables the processing of the IOAM flow. Furthermore, the transit node is > expected to generate a packet towards the encapsulating IOAM node. What > controls the selection of the encapsulation of such packet? And on the > encapsulating node that receives looped packets, what enables the operator > to examine them and discover the list of traversed nodes? > > > - What is "active measurement"? Can you provide an example or > reference to an IETF document that describes active measurements using IOAM? > > ZTR> The same as above. > > - I found only two data plane encapsulations - NSH and IPv6. Does that > mean that this model is not intended to support IOAM in an MPLS network? > > ZTR>We defined a base identity to represent the carrier protocol. More > encapsulations could be extended. This document only considers mature ones > which are wg docuemts. MPLS encapsulation is still in wg discussion. > > GIM>> Would you agree that the scope of this model must be explicitly > stated? > > > > ZTR> How about I say “This model supports NSH and IPv6 data plane > encapsulations. User need to augment this module for more data plane > encapsulations.”? > > GIM2>> Thinking about "that model supports NSH and IPv6", I came to > conclusion that the model as it is defined in the draft does not allow > configuration of IOAM in these networks. I find that the data model doesn't > have the means to specify the data flow which will be monitored using > IOAM. If understand the position of the authors correctly, the missing > parts to be defined in separate documents. While that might be reasonable > path for IPv6, we need to consider that the SFC WG is in its sunset and > will be closed around IETF-115. Hence, I would propose that if this model > is intended to support IPv6 and NSH, then it also includes all necessary > constructs to define data flow for IOAM application. > > > - Can you point out a part of the YANG model that can be used to > control a transit IOAM node for the IOAM Direct Export trace option? > > ZTR> There is no configuration on transit node for IOAM-DEX in this > document. > > GIM>> I think that the IOAM YANG data model must support the configuration > of a transit node for the Direct Export Trace option. Otherwise, the > document must not state that it supports IOAM-DEX. > > > > ZTR> I am sorry, I am afraid I cannot get you. IMO, this model indeed > specifies the encap and decap node configurations. And we indeed want to > support IOAM-DEX. I think what we need to discuss is if we need to > configure the transit node. Could you please give more hints on the > configurations on a transit node? > > GIM2>> One aspect, common for encapsulating, decapsulating, and transit > IOAM nodes - the definition of the data flow monitored by IOAM. Second, the > control of how a transit node handles operational state and telemetry > information associated with the trigger packet. For example, would it > export the raw information to the Collector or performs some processing > locally and transmits the results? > > > - Nits: > > > - s/Edge to Edge/Edge-to--Edge/ per RFC 9197 > > ZTR>Thanks. I will revise. > > Regards, > > Greg > > > > On Tue, Aug 9, 2022 at 9:15 AM Tommy Pauly <tpauly= > 40apple.com@dmarc.ietf.org> wrote: > > Hello IPPM, > > > > This email starts a Working Group Last Call for draft-ietf-ippm-ioam-yang. > > > > https://datatracker.ietf.org/doc/draft-ietf-ippm-ioam-yang/ > > https://www.ietf.org/archive/id/draft-ietf-ippm-ioam-yang-04.html > > > > Please review this document, and reply to this email to indicate your > comments, and if you support publishing this document. > > > > The last call will go until *Wednesday, August 31*. > > > > Best, > > Tommy & Marcus > > _______________________________________________ > ippm mailing list > ippm@ietf.org > https://www.ietf.org/mailman/listinfo/ippm > >
- [ippm] WGLC for draft-ietf-ippm-ioam-yang Tommy Pauly
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang t petch
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Tianran Zhou
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Tianran Zhou
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang t petch
- [ippm] FW: WGLC for draft-ietf-ippm-ioam-yang Vengada Prasad Govindan (venggovi)
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Greg Mirsky
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Tianran Zhou
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang t petch
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Tianran Zhou
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Greg Mirsky
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Tianran Zhou
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Greg Mirsky
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Tianran Zhou
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Greg Mirsky
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Tianran Zhou
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Greg Mirsky
- Re: [ippm] WGLC for draft-ietf-ippm-ioam-yang Tommy Pauly