[pm-dir] Perf metrics: Fixed parameters/Traffic filter and hybrid type (draft-tgraf-opsawg-ipfix-on-path-telemetry)

Benoit Claise <benoit.claise@huawei.com> Fri, 06 January 2023 09:16 UTC

Return-Path: <benoit.claise@huawei.com>
X-Original-To: pm-dir@ietfa.amsl.com
Delivered-To: pm-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD282C151537; Fri, 6 Jan 2023 01:16:53 -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_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham 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 4vXNptmGMoGs; Fri, 6 Jan 2023 01:16:50 -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 C4CBBC14CF0B; Fri, 6 Jan 2023 01:16:49 -0800 (PST)
Received: from frapeml500001.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4NpHgS5fxCz6J7dm; Fri, 6 Jan 2023 17:13:08 +0800 (CST)
Received: from [10.81.217.216] (10.81.217.216) by frapeml500001.china.huawei.com (7.182.85.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 6 Jan 2023 10:16:44 +0100
Content-Type: multipart/alternative; boundary="------------0kM7MttZzUwGCqqI8IgZfVTM"
Message-ID: <af4efc19-e8ab-6104-8ad7-0e66558ba526@huawei.com>
Date: Fri, 06 Jan 2023 10:16:37 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0
To: pm-dir@ietf.org
Content-Language: en-GB
CC: "draft-tgraf-opsawg-ipfix-on-path-telemetry@ietf.org" <draft-tgraf-opsawg-ipfix-on-path-telemetry@ietf.org>
From: Benoit Claise <benoit.claise@huawei.com>
X-Originating-IP: [10.81.217.216]
X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To frapeml500001.china.huawei.com (7.182.85.94)
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/pm-dir/YO9BbPvJo5treQ5XhkIPamQOa3k>
Subject: [pm-dir] Perf metrics: Fixed parameters/Traffic filter and hybrid type (draft-tgraf-opsawg-ipfix-on-path-telemetry)
X-BeenThere: pm-dir@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Performance Metrics Directorate Discussion list <pm-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pm-dir>, <mailto:pm-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pm-dir/>
List-Post: <mailto:pm-dir@ietf.org>
List-Help: <mailto:pm-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pm-dir>, <mailto:pm-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2023 09:16:53 -0000

Dear Performance metrics experts,

Thinking some more about draft-tgraf-opsawg-ipfix-on-path-telemetry, we 
have a question in connection to our draft 
draft-tgraf-opsawg-ipfix-on-path-telemetry-01.

See 
https://datatracker.ietf.org/doc/html/draft-tgraf-opsawg-ipfix-on-path-telemetry-01#name-fixed-parameters

    Traffic Filters:¶
    <https://datatracker.ietf.org/doc/html/draft-tgraf-opsawg-ipfix-on-path-telemetry-01#section-3.2.2-1>

      IPv4 header values:
        DSCP: Set to 0

      IPv6 header values:
        DSCP: Set to 0
        Hop Count: Set to 255
        Flow Label: Set to 0
        Extension Headers: None

    ¶
    <https://datatracker.ietf.org/doc/html/draft-tgraf-opsawg-ipfix-on-path-telemetry-01#section-3.2.2-2>


Looking at RFC8912 (https://www.rfc-editor.org/rfc/rfc8912.txt) we saw 
that all performance measurements set the DSCP bit to 0, then we copied 
that section.
However, thinking some more about it, we speak about perf metrics for 
traffic observed in the IPFIX metering process, typically on a router.
In IPFIX, we specify the flow record by setting up the key field and 
non-key field.
So typically, we could have flow record with DSCP value = 0, EF, etc.

As the flow record definition is flexible, we don't want to set up a new 
perf metric for potential value of key field, i.e. traffic filters ... 
whether we speak about DSCP, Flow Label, or Extension Header (from the 
example above).
Along the same lines, we don't want to create new perf metric for every 
transport protocol, if the transport protocol is specified in the flow 
record definition.
 From Table 2 on RRC8911. 
https://datatracker.ietf.org/doc/html/rfc8911#table-2, we see the 
SubTypeMethod (which should be part of the name btw) can contain ICMP, 
IP, UDP, TCP, etc.
So, from 
https://www.rfc-editor.org/rfc/rfc8911.html#name-traffic-filter, this 
section applies:

    The Traffic Filter itself depends on the needs of the metric itself
    and a balance of an operator's measurement needs and a user's need
    for privacy. Mechanics for conveying the filter criteria might be
    the BPF (Berkeley Packet Filter) or PSAMP (Packet Sampling)[RFC5475
    <https://www.rfc-editor.org/rfc/rfc8911.html#RFC5475>]Property Match
    Filtering, which reuses IPFIX[RFC7012
    <https://www.rfc-editor.org/rfc/rfc8911.html#RFC7012>]. An example
    BPF string for matching TCP/80 traffic to remote Destination net
    192.0.2.0/24 would be "dst net 192.0.2.0/24 and tcp dst port 80".
    More complex filter engines may allow for matching using Deep Packet
    Inspection (DPI) technology.

Do we correctly understand that:
     1. the traffic filter field should remain empty
        Do we want to mention something about the IPFIX flow definition?
     2. we don't include the SubTypeMethod in the name (as we have done 
in draft-tgraf-opsawg-ipfix-on-path-telemetry)


Thanks for your guidance.

Regards, Benoit