[bmwg] Fwd: I-D Action: draft-ietf-bmwg-network-tester-cfg-03.txt

vladimir@lightside-instruments.com Mon, 30 October 2023 15:35 UTC

Return-Path: <vladimir@lightside-instruments.com>
X-Original-To: bmwg@ietfa.amsl.com
Delivered-To: bmwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 64D4FC151076 for <bmwg@ietfa.amsl.com>; Mon, 30 Oct 2023 08:35:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.496
X-Spam-Level: **
X-Spam-Status: No, score=2.496 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, HELO_DYNAMIC_IPADDR2=3.607, NO_FM_NAME_IP_HOSTN=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, TVD_RCVD_IP=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lightside-instruments.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 FkmWGg2c895X for <bmwg@ietfa.amsl.com>; Mon, 30 Oct 2023 08:35:19 -0700 (PDT)
Received: from 77-40-158-100.customer.powertech.no (77-40-158-100.customer.powertech.no [77.40.158.100]) by ietfa.amsl.com (Postfix) with ESMTP id 406D2C15106C for <bmwg@ietf.org>; Mon, 30 Oct 2023 08:35:18 -0700 (PDT)
Content-Type: multipart/alternative; boundary="===============8843061813147297170=="
MIME-Version: 1.0
From: vladimir@lightside-instruments.com
To: bmwg@ietf.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lightside-instruments.com; i=@lightside-instruments.com; q=dns/txt; s=key1; t=1698680116; h=from : to : subject; bh=iJ7tnNyZEmDYdsA3zuGICcKY/QsE9923cTQv+FCTGFA=; b=BTONPgHAfqFK0F9IqS5LJw2dwqsVRoE9QGXVeqQl1leUGaQO8Ws/PjJufucyLsGkkO005 YLIJ3g3g6QQmEu9BE3qA/VYNYo6j1z5Gdh46UyVFsRDez1xK1/0dMbThACj7DRUfEh21JjB Xa/8NgflkjAaOog//7IlTAxF37TR5ENxf6J7RIiHGVBOOElhyRAvlNj+yqUqj0hUs3yv7B1 JTtMaA41zvCJ+aG1J49M6kguYGCPUFHRWq/CX+8eQHU6bN9Cm4mJ5QpcIiwZdwEEULoJ+Zn nJRJZm/LpY3nEMTyzFQ3OHzlUDeiKyEOwwSgcalvZL3r5BEOcKfgFAe947Wg==
Message-Id: <20231030153519.406D2C15106C@ietfa.amsl.com>
Date: Mon, 30 Oct 2023 08:35:18 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/bmwg/PrMYslnP9y7TPXtfBJ-QD-6bsTY>
Subject: [bmwg] Fwd: I-D Action: draft-ietf-bmwg-network-tester-cfg-03.txt
X-BeenThere: bmwg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Benchmarking Methodology Working Group <bmwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bmwg>, <mailto:bmwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bmwg/>
List-Post: <mailto:bmwg@ietf.org>
List-Help: <mailto:bmwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bmwg>, <mailto:bmwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Oct 2023 15:35:23 -0000

Hi,

In this version of the draft I have removed the 
traffic-generator-ingress and traffic-analyzer-egress containers. The 
reverse direction can be implemented with virtual interfaces connected 
to the target interface reusing the simpler model definition.

Here are the current tree diagrams of the modules defined in the draft.

module: ietf-traffic-generator
   augment /if:interfaces/if:interface:
     +--rw traffic-generator
        +--rw (type)?
        |  +--:(single-stream)
        |  |  +--rw testframe-type?     identityref
        |  |  +--rw frame-size          uint32
        |  |  +--rw frame-data?         string
        |  |  +--rw interframe-gap      uint32
        |  |  +--rw interburst-gap?     uint32
        |  |  +--rw frames-per-burst?   uint32
        |  |  +--rw modifiers
        |  |     +--rw modifier* [id]
        |  |        +--rw id             uint32
        |  |        +--rw action         identityref
        |  |        +--rw offset         uint32
        |  |        +--rw mask           string
        |  |        +--rw repetitions    uint32
        |  +--:(multi-stream)
        |     +--rw streams
        |        +--rw stream* [id]
        |           +--rw id                   uint32
        |           +--rw testframe-type?      identityref
        |           +--rw frame-size           uint32
        |           +--rw frame-data?          string
        |           +--rw interframe-gap       uint32
        |           +--rw interburst-gap?      uint32
        |           +--rw frames-per-burst?    uint32
        |           +--rw frames-per-stream    uint32
        |           +--rw interstream-gap      uint32
        |           +--rw modifiers
        |              +--rw modifier* [id]
        |                 +--rw id             uint32
        |                 +--rw action         identityref
        |                 +--rw offset         uint32
        |                 +--rw mask           string
        |                 +--rw repetitions    uint32
        +--rw realtime-epoch?
        |        yang:date-and-time {realtime-epoch}?
        +--rw total-frames?


module: ietf-traffic-analyzer

   augment /if:interfaces/if:interface:
     +--rw traffic-analyzer!
        +--rw filter! {filter}?
        |  +--rw type          identityref
        |  +--rw ether-type?   uint16
        +--rw capture {capture}?
        |  +--rw start-trigger
        |  |  +--rw (start-trigger)?
        |  |     +--:(frame-index)
        |  |     |  +--rw frame-index?       uint64
        |  |     +--:(testframe-index)
        |  |        +--rw testframe-index?   uint64
        |  +--rw stop-trigger
        |     +--rw (stop-trigger)?
        |        +--:(when-full)
        |           +--rw when-full?   empty
        +--ro state
           +--ro pkts?              yang:counter64
           +--ro octets?            yang:counter64
           +--ro idle-octets?       yang:counter64 {idle-octets-counter}?
           +--ro errors?            yang:counter64
           +--ro testframe-stats
           |  +--ro testframe-pkts?    yang:counter64
           |  +--ro sequence-errors?   yang:counter64
           |  +--ro payload-errors?    yang:counter64
           |  +--ro latency
           |     +--ro samples?   uint64
           |     +--ro min?       uint64
           |     +--ro max?       uint64
           |     +--ro average?   uint64
           |     +--ro latest?    uint64
           +--ro capture {capture}?
              +--ro frame* [sequence-number]
                 +--ro sequence-number    uint64
                 +--ro timestamp?         yang:date-and-time
                 +--ro length?            uint32
                 +--ro data?              string

The reference running code based on the model is a RFC2544 benchmark 
implemented in python. Here is a link to the implementation: 
https://github.com/vlvassilev/rfc2544-benchmark

/Vladimir



-------- Forwarded Message --------
Subject: 	[bmwg] I-D Action: draft-ietf-bmwg-network-tester-cfg-03.txt
Date: 	Sun, 22 Oct 2023 03:17:24 -0700
From: 	internet-drafts@ietf.org
Reply-To: 	bmwg@ietf.org
To: 	i-d-announce@ietf.org
CC: 	bmwg@ietf.org



Internet-Draft draft-ietf-bmwg-network-tester-cfg-03.txt is now 
available. It
is a work item of the Benchmarking Methodology (BMWG) WG of the IETF.

Title: A YANG Data Model for Network Tester Management
Author: Vladimir Vassilev
Name: draft-ietf-bmwg-network-tester-cfg-03.txt
Pages: 26
Dates: 2023-10-22

Abstract:

This document introduces new YANG model for use in network
interconnect testing containing modules of traffic generator and
traffic analyzer.

The IETF datatracker status page for this Internet-Draft is:
https://datatracker.ietf.org/doc/draft-ietf-bmwg-network-tester-cfg/

There is also an HTMLized version available at:
https://datatracker.ietf.org/doc/html/draft-ietf-bmwg-network-tester-cfg-03

A diff from the previous version is available at:
https://author-tools.ietf.org/iddiff?url2=draft-ietf-bmwg-network-tester-cfg-03

Internet-Drafts are also available by rsync at:
rsync.ietf.org::internet-drafts


_______________________________________________
bmwg mailing list
bmwg@ietf.org
https://www.ietf.org/mailman/listinfo/bmwg