Re: [OPSAWG] πŸ”” WG LC: Export of Segment Routing over IPv6 Information in IP Flow Information Export (IPFIX)

Thomas.Graf@swisscom.com Sat, 03 December 2022 17:11 UTC

Return-Path: <Thomas.Graf@swisscom.com>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A501C14F736 for <opsawg@ietfa.amsl.com>; Sat, 3 Dec 2022 09:11:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.096
X-Spam-Level:
X-Spam-Status: No, score=-4.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
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 iKo23WLa_g6N for <opsawg@ietfa.amsl.com>; Sat, 3 Dec 2022 09:11:46 -0800 (PST)
Received: from mail.swisscom.com (mailout120.swisscom.com [138.188.166.120]) (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 36635C14F735 for <opsawg@ietf.org>; Sat, 3 Dec 2022 09:11:45 -0800 (PST)
Received: by mail.swisscom.com; Sat, 3 Dec 2022 18:11:26 +0100
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="----=_Part_366898_83102320.1670087486042"
X-Mailer: Totemo_TrustMail_(Notification)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ntbkWV8wini9jTl/vQAPP2cGuZWe0iQm7USBLK2zpmqWjRHGK/uKri9BannufgZNftDoHEvMQza00+nReQnVJ6XVrlHkS+pEyXD3fPQMHwe5guDFVpo4FtY6LpjMdDLr3TyLEr9jWDyV8JcRmObwZNLOVX3AwmgR0ewVhPXLcQPHvqfN2brDoPODpgUeRyGx3zqC1029/f/8bxTXDz2H6Y1DVekQcMU0N44vea+PMdBE5AxYMkVi+VOmM4nOrXwE5m9itvJq/xX+SXKM75jvwYUJWKZwpyhUg6kam23y1urCjQr9GuxotBsLSxQ137jr7o2erLKrRHxoSCAecMyyMw==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zZin77MSbfu4uzl3gY8rYcF/qUvCZppqkEX4lcYCLzQ=; b=dzyvyrJhsmnpktihuyqsuGGXco0zkfr6nIE5VdcczlvBI5GC/4IZ3q793Pv0bBPF5bKA7J/M/LVeNG1z+Q7peeViOsRLUu/8o1GV7cdXJqYqx+AmycdfUaFzrZauBZepsQW1nqoK8XwA9EhUuU94FnkVBTsOSLvmiAk8hElksTZrPqpc+9pno5k9mlS62hb1hRaOSiuTvhUFAqkYMi2zoctEXGreBQEBXX3RPXga1DXeme1rOAjUKw4dWvAnnSASdDEagtOodhhUZ9ga5LsY8FJyasA7msSs3totDSMHuIfQbbxRgaEoaxqouNNnfnN2NdjwCAJx70NSm6daKTA/OQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=swisscom.com; dmarc=pass action=none header.from=swisscom.com; dkim=pass header.d=swisscom.com; arc=none
From: Thomas.Graf@swisscom.com
To: bill.wu@huawei.com, jclarke=40cisco.com@dmarc.ietf.org, opsawg@ietf.org
Thread-Topic: πŸ”” WG LC: Export of Segment Routing over IPv6 Information in IP Flow Information Export (IPFIX)
Thread-Index: AdkHHOw17G3lwFGoQaKRl8ucoQOQpQAFgvoQ
Date: Sat, 03 Dec 2022 17:11:16 +0000
Message-ID: <ZRAP278MB01763A32F77EFBA6547223A389169@ZRAP278MB0176.CHEP278.PROD.OUTLOOK.COM>
References: <6c06a99a99334c9394c00236110d1945@huawei.com>
In-Reply-To: <6c06a99a99334c9394c00236110d1945@huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Enabled=true; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SetDate=2022-12-03T17:11:14Z; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Method=Standard; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Name=C2 Internal; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SiteId=364e5b87-c1c7-420d-9bee-c35d19b557a1; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ActionId=af6679a6-ba78-42be-9853-fa00f8997e17; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ContentBits=0
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=swisscom.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: ZRAP278MB0176:EE_|ZRAP278MB0922:EE_
x-ms-office365-filtering-correlation-id: 0f54567c-ff0d-442a-ee4a-08dad55163b4
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Pk4TTbAvIQXpschhe6A94p7JcKeGjFa0FJ9twjnls5P9yMwL5BJOLGKuAH2kk7QXbV7ylyKiM4VHfr+fQiVrkZwgxrtDDqxgPrPy4JVZ28erHIs8fpxOeweSf7ZALHCQcPkRbi9CARaiChyb4AO7FXgdYfFo0MPQOxA25ciikYfK//ce/LqCwGaeyiJX+vRRxC19Rra8xs027Y/crBSE3vSl3p+nFI0c+Uu3PpnO4YpI8jQHTIJ8ID+DUnRp/zvLDGKYoW+INJHMzZljb3kmlTFYh8ilRTGsFotYV1K+mBJjCpSg6ArknTLR1HQoDYkfJFiIrtrluIhcAOPfpcSOeitq74gkqEAXUsZPG6BGrW+VZWTrUh3D/a6AXsxSxZx50UVMUC15sRu3/6YqYvg+KYyMVqCpZpW+SfjcA+SUh+hquI3hW4zKOGFBB2Bsga8YtKSDVF3cTAr/rvVJ6AxEYNt6WllcdKZb26LU8FnykxlpzCD/mb8CxBp8UzbDhEc84vxGscVTk0aWPIyWVuzoqhK/uSIkhTvdkGnxAftJ7iSQxGLugye66vDtb+NaeE3ivaG5qHEy7i9v32nlq25gxRun3hG9Vto/agojL9czrH5FjDr6tOEieiEyjWyAeDCL5BiF6vn8Cc7iK4jT4Mg2AzfTSvkr7ABCXyITpOgI6lCB604QLrpj59SFlagXpMTyvU7qak9NTxPlDyEzRDG+EAek4uopAaKDxUYXa0lSj9k=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:ZRAP278MB0176.CHEP278.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(4636009)(376002)(136003)(39860400002)(346002)(366004)(396003)(451199015)(66899015)(38100700002)(82960400001)(166002)(2906002)(10300500001)(8936002)(41300700001)(38070700005)(122000001)(83380400001)(86362001)(33656002)(76116006)(66946007)(66476007)(66556008)(66446008)(64756008)(478600001)(966005)(316002)(110136005)(45080400002)(19627235002)(71200400001)(10290500003)(52536014)(55016003)(5660300002)(186003)(53546011)(9686003)(26005)(7696005)(6506007); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: dl31PvYVQcb5Zx+YxeARM6grCbINBlZVQnvlCv/6qk4CSJ25qx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HMqjQ3qvS0/jB3ZI7CjP25ThFYMKCTIG3H+LAs9fLtaIXWqzGdKlqnl35MDluy+xtg0uGebLyWpCgOXUt4KlrJalKqrgiPQyrm4MrzPpC4Wzqsa5nv4cCjqXlc45I9XGlp4oXz/BfT0clS4E1nVqVPjMpBmKFi6rsUypY40V86m1ZL9p08LvAuyaN2Ikahh9M1EDc9FE3e++EPBNDFS0S/s7QGds2ql2naoRMA93y+APdraRdsN7H/cQwcnrO/zvgSk6C5U9rrhhA3QPBTSQudUVwVHw+blSf8DzUGoq2GAmJjc3fv6PxG7GNb5PqSzUq1+wA8nIbXtR2wQ8nmRSEHrHieOWRJ4ASdI+2Cefy5/KrJT6Q/ubgWBZgPjbYg1cYz4ppQwFEsF9BuNx9W3X5SRAbWgfY3e7AhJhT/rwHYzvJTicY8CalTuzHBVQbmHBb8aVztJPVFEjPcPDZMyF
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0176.CHEP278.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 0f54567c-ff0d-442a-ee4a-08dad55163b4
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Dec 2022 17:11:16.8059 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 364e5b87-c1c7-420d-9bee-c35d19b557a1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: GKoeSSl/SeUK/iuhpWVw/O6HsBHS7P5UrCNG2J+nja95hwlWpitH48RMbff0NiouwEQaybpp5Un/yf28RNvcPKWEoRIkNY9YnkfEskBNrSI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0922
X-OriginatorOrg: swisscom.com
X-CFilter-Loop: Reflected
X-Trustmail: processed
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/y-Ci-0heHwxpgH7JCkJ0I4hBoVI>
Subject: Re: [OPSAWG] πŸ”” WG LC: Export of Segment Routing over IPv6 Information in IP Flow Information Export (IPFIX)
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsawg/>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Dec 2022 17:11:50 -0000

Dear Qin,

Thanks a lot for the detailed review and comments. This is much appreciated. My answers inline.

I am tracking the changes in here:

https://www.ietf.org/rfcdiff?url1=https://www.ietf.org/archive/id/draft-ietf-opsawg-ipfix-srv6-srh-04.txt&url2=https://raw.githubusercontent.com/graf3net/draft-ietf-opsawg-ipfix-srv6-srh/main/draft-ietf-opsawg-ipfix-srv6-srh-05.txt

Best wishes
Thomas

From: Qin Wu <bill.wu@huawei.com>
Sent: Saturday, December 3, 2022 3:07 PM
To: Joe Clarke (jclarke) <jclarke=40cisco.com@dmarc.ietf.org>; opsawg@ietf.org
Cc: Graf Thomas, INI-NET-TCZ-ZH1 <Thomas.Graf@swisscom.com>
Subject: RE: πŸ”” WG LC: Export of Segment Routing over IPv6 Information in IP Flow Information Export (IPFIX)

Hi, All:
Thanks authors to write this draft and validate it using Hackathon project. I take some time to review this draft, my general position is to support moving this work toward publication.
Here are a few comments and suggestions:

1.       Abstract:
What is the difference between β€œthe SRv6 behavior that traffic is being forwarded with. β€œ and SRv6 forwarding plane? Should we just use SRv6 forwarding plane to replace original wording? Maybe I miss something.
But we need to consider consistency between abstract and introduction description.

TG > With "SRv6 behavior" the "SRv6 endpoint behavior" is meant from RFC 8986 section 4 (https://datatracker.ietf.org/doc/html/rfc8986#section-4). We will change the wording in the abstract from "SRv6 behavior" to "SRv6 endpoint behavior".

2.Section 3, the definition of srhFlagsIPv6
At the current stage, 8 bit flags defined in SRH are all unused according to RFC8754,however looking up IANA registry for Segment Routing Header Flags,
Only OAM flag is allocated for RFC9259, I am wondering whether OAM flag should be reported together with other unused flags.
What is the impact on this parameter when some other flags have been allocated from Segment Routing Header Flags registry, it seems no harm, but do you think we should clarify only OAM flag is allocated in this srhFlagsIPv6 definition.


TG > We clarified this with IANA extensively. As described in https://datatracker.ietf.org/doc/html/draft-ietf-opsawg-ipfix-srv6-srh#section-5.1, we refer to the "Segment Routing Header Flags" IANA registry where the flags are defined for the segment routing header. IPFIX doesn't allocate new entities.

3.Section 3, the definition of srhTagsIPv6
I am wondering whether we need to have some out-band  mechanism to define the meaning or purpose of using these srhTagIPv6, when we say a group of packet sharing the same set of properties, what is the example of these properties? Should these srhTagIPv6 global unique? Or local scope specific?

TG > The SRH tags are defined and described in https://datatracker.ietf.org/doc/html/rfc8754#section-2. They are currently not used but in context of IPFIX could become very useful since we now can mark and group packets with the same properties. It is outside of the scope of draft-ietf-opsawg-ipfix-srv6-srh to describe the usage of SRH tags.

4.Section 3 the definition of srhSegmentIPv6ListSection
I am not sure I understand the difference between srhSegmentIPv6BasicList and srhSegmentIPv6ListSection?
I know you provide an usage example to explain this, but  for the reader who are not familiar with IPFIX, it is hard to parse this. Would it be great to add some text in the definition of srhSegment IPv6ListSection to clarify this difference.
Maybe add a pointer to section 6.1

TG > Correct section 6.1 describes the differences between srhSegmentIPv6BasicList and srhSegmentIPv6ListSection. We could add a pointer.

Also I believe srhSegmentIPv6BasicList and srhSegmentIPv6ListSection should not be reported at the same time? Two IE should be mutually excluded? No?

TG > We don't prevent this. That would go to far. We describe under operation consideration in section 6.1 that this would not be an expected behavior.

   It is not expected that an exporter would support both
   srhSegmentIPv6BasicList and srhSegmentIPv6ListSection at the same
   time.

5.Section 3. The definition of srhSection IPv6
The same comment is applied to srhSection IPv6, I think we should add more texts to explain how srhSectionIPv6 organized? Or what information is included in srhSectionIPv6

TG > srhSectionIPv6 exports the entire SRH and its TLVs as specified in https://datatracker.ietf.org/doc/html/rfc8754#section-2. For the authors the description makes sense. Could you propose a wording which would make more sense to you?

6.Section 4
It looks these information in section 4 can be used to provide SRv6 visibility or troubleshooting, for the answer 2, I am wondering what else does the management system do for troubleshooting? Or the network devices have already done everything for the management system regarding troubleshooting?

TG > In this section we describe use cases how this metrics can be used. We follow the same pattern as we did for MPLS-SR (https://datatracker.ietf.org/doc/html/rfc9160#section-2). We believe this helps network operators to get quickly started. Of course there would be many other possibilities, combinations which makes sense, though we believe that is not in the scope of the document.

7 Section5.2
When the device export srhTagIPv6 value to the management system, Who will tell the device or the management system about the meaning or purpose of srhTagIPv6? It is probably beyond scope, but it will be nice to clarify the mechanism to be used.

TG > Very valid point. This has been discussed previously in the working group and with IANA. Ideally the IPFIX registry information at IANA can be exposed through an API and semantics can be imported to the IPFIX data-collection. Linking IPFIX entities to other registry however brings the challenge for IANA to resolve such dependencies.

8. Section 5.9.1
For IPFIX IPv6 SRH Segment Type Subregistry,
I am wondering whether this draft-ietf-opsawg-ipfix-srv6-srh should also be added into additional information

TG > Yes there will in the additional information field where [RFC-to-be] is written.

9.Section 6.2
Is there any IPFIX mechanism to tell two side of communication between the management system and network devices whether compressed SID is used or non-compressed SID is used?

TG > Very valid point. In section 6.2, https://datatracker.ietf.org/doc/html/draft-ietf-opsawg-ipfix-srv6-srh#section-6.2, we describe how compressed SID can be de-composed. For this the SRv6 endpoint behavior and the locator length is needed. This information can be obtained through YANG push, BMP (BGP link-state redistribution) or through a IPFIX options template as described in https://datatracker.ietf.org/doc/html/draft-ietf-opsawg-ipfix-srv6-srh#appendix-A.2. We understood from network vendors and operators that the implementation in IPFIX options template is the preferred way. Having one protocol with all the informations.

10.Section 6.3
When the management system and the network device exchange IPFIX information, how does two side know whether carrying multiple same IE in one data record is supported? Is there any capability exchanged in the IPFIX mechanism?

TG > This is implied by RFC 7011. A data record supports the same IE multiple times and in section 8 of RFC 7011 it is described how the order must be preserved. https://datatracker.ietf.org/doc/html/rfc7011#section-8. As part of the next IETF hackathon we are currently developing this in the pmacct open-source project which we referenced in this document.

11. Section 9
s/the allocation/allocation

TG > taken thanks!

The security consideration is over simplified, I am wondering whether exposing detailed segmentIPv6BasicList has some security risk? Is there any security enhancement that need to be considered?

TG > I am not aware that the decomposition of the SRH SID list into segmentIPv6BasicList would impose any security risk.

-Qin
发仢人: OPSAWG [mailto:opsawg-bounces@ietf.org] 代葨 Joe Clarke (jclarke)
发送既间: 2022εΉ΄11月30ζ—₯ 21:54
ζ”Άδ»ΆδΊΊ: opsawg@ietf.org<mailto:opsawg@ietf.org>
主钘: [OPSAWG] πŸ”” WG LC: Export of Segment Routing over IPv6 Information in IP Flow Information Export (IPFIX)

Hello, WG.  As discussed at IETF 115, we want to conduct a WG LC for draft-ietf-opsawg-ipfix-srv6-srh.  The authors believe this work is stable and moreover used the 115 hackathon to develop a interoperable implementations (linked in Data Tracker) .  Additionally, IANA has already weighed in on this work and agree with the considerations approach.

Therefore, we are calling for a two week LC.  We will conclude on December 14.

https://datatracker.ietf.org/doc/draft-ietf-opsawg-ipfix-srv6-srh/<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-ietf-opsawg-ipfix-srv6-srh%2F&data=05%7C01%7CThomas.Graf%40swisscom.com%7Ce239cd9ee26c43b0919c08dad537b302%7C364e5b87c1c7420d9beec35d19b557a1%7C0%7C0%7C638056732444903117%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=eYhzgvTpWpPkfazPAG042ICa2%2Boruo5g9V939qsIk4s%3D&reserved=0>

Please review the current -04 draft, post your comments and/or your thoughts on the current text.

Thanks.

Joe