Re: [sfc] WGLC for https://datatracker.ietf.org/doc/draft-ietf-sfc-ioam-nsh/

Shwetha Bhandari <shwetha.bhandari@thoughtspot.com> Tue, 01 February 2022 04:57 UTC

Return-Path: <shwetha.bhandari@thoughtspot.com>
X-Original-To: sfc@ietfa.amsl.com
Delivered-To: sfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D1FFC3A136B for <sfc@ietfa.amsl.com>; Mon, 31 Jan 2022 20:57:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.996
X-Spam-Level:
X-Spam-Status: No, score=-1.996 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=thoughtspot.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 OsYyFr8DSqVy for <sfc@ietfa.amsl.com>; Mon, 31 Jan 2022 20:57:32 -0800 (PST)
Received: from mx0a-0055fe01.pphosted.com (mx0a-0055fe01.pphosted.com [205.220.164.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 853463A1367 for <sfc@ietf.org>; Mon, 31 Jan 2022 20:57:32 -0800 (PST)
Received: from pps.filterd (m0211451.ppops.net [127.0.0.1]) by mx0b-0055fe01.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20VLUFUQ003362 for <sfc@ietf.org>; Mon, 31 Jan 2022 20:24:48 -0800
Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0b-0055fe01.pphosted.com (PPS) with ESMTPS id 3dw3ks74px-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for <sfc@ietf.org>; Mon, 31 Jan 2022 20:24:47 -0800
Received: by mail-qk1-f200.google.com with SMTP id d130-20020a379b88000000b004e11e7b51c4so1382258qke.17 for <sfc@ietf.org>; Mon, 31 Jan 2022 20:24:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thoughtspot.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pIqBuLs/deyh+pId9GKByrkE6rA7gMhPXQCuI/EQdVU=; b=RQDiWpwIH6sEc4N48ABR2ElChPoX+C3akbuRhilvxauaA9+u2W8MxfIkPBs2Dxo3lh OD0w///aauSYH5zRg5x/NnI36naI4dOLMvJm2tdLdlEZ+3DiuNLBGn6xHLbJuCcHvAEN RVm3xQygs1SpcECgdLcEs+BWLnbvhliQ1G+vdpamMhW2ZSrm5DQFFj4lNw7mQTQw2cuI fZtTn4Pv6c5ZOyYQQOm+BjCa4Pqi/IJwI/WMeYTipO0Mslz6h/44H6OQXFP/YDpZMjiO VBmv/Dq7g9EE5mrsYshJZrHPSmNRsnMt4/fcLwWsi+WN+rt8hNKLK1yj2CJjuK+Bj7LS rJLQ==
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=pIqBuLs/deyh+pId9GKByrkE6rA7gMhPXQCuI/EQdVU=; b=eVOZTr3p1Zw59O1jH9me2RXYxoEIpzxZlVSjQAiAgGd8nmvmA3Q3kZjxZAHMRdFvTg 9unJboGYo+6tyJzlxtTfBQ5CWGMX3G8zm8wEXLCyhAAGfiqQHE8JgEsnilG+DE0hCch7 cN/oWInHIO29jgrDQDZElaob0I+DjH9ghyj5REBJwLFRn5NmIyT+Mm8B9i3EddFZ4ce5 mscmCcdPXCe6TG5pOCyUsiK9SEP793MslPuywFOiT0fPE+GqCYUz+xONJr2wdTTjy+4t D1jCULolvyjaPNxYrVO6X8NS/tRULBnS6sz01bN+co1yzW+qiinQRYqdNbcsPjDuQqvW tvow==
X-Gm-Message-State: AOAM531gc6psf4GTug3XZYCPhxl+ZHIBcsnJAlXVRfPnsc3XcU9o33Q7 451arZrtKP/ZHqVtNdJC/Dtyc+cgRRS/hy/MwreYBfBt6PDuxTwcpU35LImBt6zjF9tgDwmQRID oJN+LtwGDvGLB8aOlats=
X-Received: by 2002:a05:620a:4727:: with SMTP id bs39mr3240561qkb.486.1643689486356; Mon, 31 Jan 2022 20:24:46 -0800 (PST)
X-Google-Smtp-Source: ABdhPJw3eHziKgF74RtTWLVbNRtuGNvnLAtmopeCVv7CU/jplKu5IemxVemm0OPj7vL+f/08a5oRwAW3Gxt3CZlTcbc=
X-Received: by 2002:a05:620a:4727:: with SMTP id bs39mr3240547qkb.486.1643689486009; Mon, 31 Jan 2022 20:24:46 -0800 (PST)
MIME-Version: 1.0
References: <MN2PR13MB4206C91446BA5FBBDA69E233D2FF9@MN2PR13MB4206.namprd13.prod.outlook.com> <CA+RyBmVSrdCaO77P4=1vZ2LmxtR65OmspN_wozyGPNwtM5Uv3A@mail.gmail.com> <CAMFZu3PaLQrHcBULzsxbdnTJyr-bVDVs1WpnFwLuSkR7DbntuQ@mail.gmail.com> <CA+RyBmWeUiTsA7-CvpXSBViB00Y-tmAuSr-P=Vf3vB61zfn6bg@mail.gmail.com>
In-Reply-To: <CA+RyBmWeUiTsA7-CvpXSBViB00Y-tmAuSr-P=Vf3vB61zfn6bg@mail.gmail.com>
From: Shwetha Bhandari <shwetha.bhandari@thoughtspot.com>
Date: Tue, 01 Feb 2022 09:54:35 +0530
Message-ID: <CAMFZu3P45x9Mt5-MUpGO1Puqz57DPcGE4aBsPNxczW-pw9n=AA@mail.gmail.com>
To: Greg Mirsky <gregimirsky@gmail.com>
Cc: James Guichard <james.n.guichard@futurewei.com>, draft-ietf-sfc-ioam-nsh@ietf.org, "sfc@ietf.org" <sfc@ietf.org>, "sfc-chairs@ietf.org" <sfc-chairs@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ef60fb05d6ed47ad"
X-Proofpoint-GUID: EkgxeqlHchLro6dgr6WB0w7wMslwvyJW
X-Proofpoint-ORIG-GUID: EkgxeqlHchLro6dgr6WB0w7wMslwvyJW
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-01_01,2022-01-31_01,2021-12-02_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 lowpriorityscore=0 spamscore=0 priorityscore=1501 clxscore=1011 impostorscore=0 suspectscore=0 adultscore=0 mlxscore=0 phishscore=0 mlxlogscore=612 bulkscore=5 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202010022
Archived-At: <https://mailarchive.ietf.org/arch/msg/sfc/4-k8P4o-qLV_KTHLA5KhMxANJ6k>
Subject: Re: [sfc] WGLC for https://datatracker.ietf.org/doc/draft-ietf-sfc-ioam-nsh/
X-BeenThere: sfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Service Chaining <sfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sfc>, <mailto:sfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sfc/>
List-Post: <mailto:sfc@ietf.org>
List-Help: <mailto:sfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sfc>, <mailto:sfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Feb 2022 04:57:37 -0000

Hi Greg,

Sorry for the late action on this.
https://datatracker.ietf.org/doc/html/draft-ietf-sfc-ioam-nsh-07 has been
now posted with the edits per this discussion.

Hi Jim,

After Greg's review please let us know if the changes are good to progress
the draft to the next step.

Thanks,
Shwetha

On Wed, Oct 27, 2021 at 7:31 PM Greg Mirsky <gregimirsky@gmail.com> wrote:

> Hi Shwetha,
> thank you for the detailed response to my comments. Please feel free to
> share any updates you're considering for the next version. I'll be glad to
> work together on these.
> I have several follow-up notes in-lined below under the GIM>> tag.
>
> Regards,
> Greg
>
> On Tue, Oct 26, 2021 at 6:51 PM Shwetha Bhandari <
> shwetha.bhandari@thoughtspot.com> wrote:
>
>> Hi Greg,
>>
>> Sorry for the very late reply. Please find responses to your comments
>> inline @Shwetha:
>>
>>
>>
>> On Wed, Sep 8, 2021 at 3:30 AM Greg Mirsky <gregimirsky@gmail.com> wrote:
>>
>>> Dear Authors and All,
>>> I've read the current version of the draft and have some comments I'd
>>> like to share with you. I much appreciate your thoughts on where this work
>>> should go considering developments in other IETF WGs. Please find my notes
>>> and questions below:
>>>
>>>    - It is stated in the Abstract that:
>>>
>>>    In-situ Operations, Administration, and Maintenance (IOAM) records
>>>    operational and telemetry information in the packet while the packet
>>>    traverses a path between two points in the network.
>>>
>>> But that is the case only for the pre-allocated and incremental trace
>>> option types. The Direct Export option
>>> <https://urldefense.com/v3/__https://datatracker.ietf.org/doc/draft-ietf-ippm-ioam-direct-export/__;!!MZ3Fw45to5uY!db6q3n8-5YqHkLtf3wyeBoUpO72v7UzeDtfPNhyePahNAYMo9eFdQxxBWM4C7Z0OJKE0jphubQ$>
>>> does not write telemetry data into the data packet itself but export
>>> telemetry information in a specially constructed packet.
>>> And as we are talking about different IOAM trace options, the
>>> question of the scope of this document seems appropriate. There is a
>>> WGLC on two IOAM documents
>>> <https://urldefense.com/v3/__https://mailarchive.ietf.org/arch/msg/ippm/A0OcGQ5LlNjnjfRVp_iUTMYMrcs/__;!!MZ3Fw45to5uY!db6q3n8-5YqHkLtf3wyeBoUpO72v7UzeDtfPNhyePahNAYMo9eFdQxxBWM4C7Z0OJKHOndSFRg$>
>>> active through September 15th at the IPPM WG. I believe that it would be
>>> beneficial if we had a single document that describes the applicability of
>>> IOAM in all its functionality defined by documents in IPPM WG. Of course,
>>> that cannot be a moving target as that would not be helpful. But since the
>>> IPPM WG discusses the progress of two IOAM documents, it could be a great
>>> time to address the applicability of the Direct Export trace type
>>> <https://urldefense.com/v3/__https://datatracker.ietf.org/doc/draft-ietf-ippm-ioam-direct-export/__;!!MZ3Fw45to5uY!db6q3n8-5YqHkLtf3wyeBoUpO72v7UzeDtfPNhyePahNAYMo9eFdQxxBWM4C7Z0OJKE0jphubQ$>
>>> and Loopback and Active flags defined in draft-ietf-ippm-ioam-flags
>>> <https://urldefense.com/v3/__https://datatracker.ietf.org/doc/draft-ietf-ippm-ioam-flags/__;!!MZ3Fw45to5uY!db6q3n8-5YqHkLtf3wyeBoUpO72v7UzeDtfPNhyePahNAYMo9eFdQxxBWM4C7Z0OJKHO7lReVw$>.
>>> It would be concerning to have more than one SFC document describing the
>>> applicability of the generic IOAM mechanisms
>>>
>>>
>> Shwetha> This is a fair point. We will revise the  draft with text in the
>> abstract and Section 3 IOAM-Type to be updated to include the usage of
>> trace and DEX options.  The encapsulation of IOAM options within NSH itself
>> in its current form already supports all the IOAM Option Type defined both
>> from draft-ietf-ippm-ioam-data and draft-ietf-ippm-ioam-direct-export
>> along with the flags supported within the options. Hence the
>> IOAM-data-field definitions in the draft will remain unchanged.
>>
> GIM>> I agree that the definitions of the IOAM data-fields are invariant
> in various data plane encapsulations. You likely follow the discussion of
> the IAOM Direct Export and IOAM flags on the IPPM WG list. I think that for
> SFC NSH, IOAM Direct Export could be as simple as "use the local policy".
> The applicability of the Loopback and Active flags seems to require
> detailed explanation by SFP actors.
>
>>
>>
>>>
>>>
>>>    - The location of the IOAM header in the SFC NSH-encapsulated packet
>>>    is defined in Section 3:
>>>
>>>    IOAM-Data-Fields are carried in NSH
>>>    using a next protocol header which follows the NSH MD context
>>>    headers.
>>>
>>> I've checked RFC 8300 but couldn't find it defines the Next Protocol
>>> header. Also, it appears that NSH Context headers are optional. Hence my
>>> question. Is the presence of an NSH Context header required when using
>>> IOAM? Could you clarify which mechanism is used to identify the payload of
>>> an SFC NSH-encapsulated packet as IOAM?
>>>
>>> Shwetha> We will reword it, it is not Next Protocol header but using
>> IOAM as a Next Protocol as described in Section 4.1 and requested in IANA
>> section. Following is the proposed text to align with the RFC 8300
>> reference to context headers following base header and service path header:
>> "The NSH is defined in [RFC8300].  IOAM-Data-Fields are carried in
>> NSH using a next protocol to identify IOAM data fields that follows NSH
>> context headers."
>>
> GIM>> I think that RFC 8300 views data following Context Headers as NSH
> payload, not being "in NSH".
>
>>
>>>    - If I understand the format of the IOAM header defined in Section 3
>>>    correctly, the header's length is limited by 1020 octets, while the
>>>    effective length containing IOAM options and data - 1016 octets. Is that
>>>    correct? What is the recommended technique of collecting IOAM data that
>>>    exceeds that limit?
>>>
>>> Shwetha > IOAM options inherently support specifying the size limits at
>> the node that added the IOAM options. While operationalizing the solution
>> the data types included and number of nodes expected to be adding the data
>> should be selected. This is covered in deployment
>> considerations draft-brockners-opsawg-ioam-deployment.
>>
>>>
>>>    - In Section 4.1, I've found the text reflecting the history of the
>>>    discussion about how to carry the IOAM header using NSH encapsulation. As
>>>    the text has no normative value, I suggest moving it into an Appendix.
>>>
>>> Shwetha > Agreed, revised draft will have this section moved to
>> Appendix.
>>
> GIM>> Thank you.
>
>>
>>>    - I find the rules of handling the O-bit in NSH listed in Section
>>>    4.2 inconsistent and confusing. The IOAM header is not part of NSH
>>>    encapsulation but is a part of the payload. But in one case, when user data
>>>    follows it, the O-bit must not be set as. If there's no user data after the
>>>    IOAM header, then the O-bit must be set. But from the perspective of NSH
>>>    encapsulation, it includes specially constructed data added for the sole
>>>    purpose of collecting OAM/telemetry information. Then, why, in one case,
>>>    the O-bit is cleared and in the other set if, in both cases, the
>>>    NSH-encapsulated packet is used to perform the OAM function?
>>>
>>> Shwetha > The reason for not setting the O-bit for packets that contains
>> actual user data is because RFC 8300 has " SF/SFF/SFC Proxy/Classifier
>> implementations that do not support
>>
>>       SFC OAM procedures SHOULD discard packets with O bit set". It will be undesirable to discard packets with O-bit set that carry user data as IOAM can be inserted insitu.
>>
>> For synthetic traffic created for OAM along with IOAM-data-fields in NSH following the NSH OAM function with 0-bit set is desirable.
>>
>>  GIM>> This is an interesting situation. I agree that there could be an
> SFC element not supporting "SFC OAM procedures" (not clear what these are).
> By the same token, would such SFC element support IOAM, be capable of
> processing IOAM without adverse impact to user data? I am not certain and
> it seems that it might be better to recommend that NSH packets with IOAM be
> dropped by an SFP element if it does not support "SFC OAM". What are your
> thoughts?
>
>
>>
>> Thanks,
>> Shwetha
>>
>>> I much appreciate your consideration of my comments and questions and
>>> looking forward to your feedback.
>>>
>>> Regards,
>>> Greg
>>>
>>> On Wed, Aug 18, 2021 at 5:32 AM James Guichard <
>>> james.n.guichard@futurewei.com> wrote:
>>>
>>>> Dear WG:
>>>>
>>>>
>>>>
>>>> This email starts a 2 week Working Group Last Call for
>>>> draft-ietf-sfc-ioam-nsh [1].
>>>>
>>>>
>>>>
>>>> Please read this document if you haven’t read the most recent version
>>>> and send your comments to the SFC WG list no later than September 1st
>>>> 2021.
>>>>
>>>>
>>>>
>>>> If you are raising a point which you expect will be specifically
>>>> debated on the mailing list, consider using a specific email/thread for
>>>> this point.
>>>>
>>>>
>>>>
>>>> Lastly, if you are an author or contributor please response to indicate
>>>> whether you know of any undisclosed IPR related to this document.
>>>>
>>>>
>>>>
>>>> Thanks!
>>>>
>>>>
>>>>
>>>> Jim & Joel
>>>>
>>>>
>>>>
>>>> [1] https://datatracker.ietf.org/doc/draft-ietf-sfc-ioam-nsh/
>>>> <https://urldefense.com/v3/__https://datatracker.ietf.org/doc/draft-ietf-sfc-ioam-nsh/__;!!MZ3Fw45to5uY!db6q3n8-5YqHkLtf3wyeBoUpO72v7UzeDtfPNhyePahNAYMo9eFdQxxBWM4C7Z0OJKHdTiRE6A$>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> sfc mailing list
>>>> sfc@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/sfc
>>>> <https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/sfc__;!!MZ3Fw45to5uY!db6q3n8-5YqHkLtf3wyeBoUpO72v7UzeDtfPNhyePahNAYMo9eFdQxxBWM4C7Z0OJKEKMsIVaA$>
>>>>
>>>