draft-ietf-ippm-stamp-yang-08.txt   draft-ietf-ippm-stamp-yang-09.txt 
Network Working Group G. Mirsky Network Working Group G. Mirsky
Internet-Draft X. Min Internet-Draft X. Min
Intended status: Standards Track ZTE Corp. Intended status: Standards Track ZTE Corp.
Expires: 13 January 2022 W.S. Luo Expires: 13 January 2022 W.S. Luo
Ericsson Ericsson
12 July 2021 12 July 2021
Simple Two-way Active Measurement Protocol (STAMP) Data Model Simple Two-way Active Measurement Protocol (STAMP) Data Model
draft-ietf-ippm-stamp-yang-08 draft-ietf-ippm-stamp-yang-09
Abstract Abstract
This document specifies the data model for implementations of This document specifies the data model for implementations of
Session-Sender and Session-Reflector for Simple Two-way Active Session-Sender and Session-Reflector for Simple Two-way Active
Measurement Protocol (STAMP) mode using YANG. Measurement Protocol (STAMP) mode using YANG.
Status of This Memo Status of This Memo
This Internet-Draft is submitted in full conformance with the This Internet-Draft is submitted in full conformance with the
skipping to change at page 2, line 23 skipping to change at page 2, line 23
2.1.2. STAMP-Reflector . . . . . . . . . . . . . . . . . . . 4 2.1.2. STAMP-Reflector . . . . . . . . . . . . . . . . . . . 4
3. Data Model . . . . . . . . . . . . . . . . . . . . . . . . . 4 3. Data Model . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1. Tree Diagrams . . . . . . . . . . . . . . . . . . . . . . 5 3.1. Tree Diagrams . . . . . . . . . . . . . . . . . . . . . . 5
3.2. YANG Module . . . . . . . . . . . . . . . . . . . . . . . 10 3.2. YANG Module . . . . . . . . . . . . . . . . . . . . . . . 10
4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 31 4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 31
5. Security Considerations . . . . . . . . . . . . . . . . . . . 32 5. Security Considerations . . . . . . . . . . . . . . . . . . . 32
6. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 33 6. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 33
7. References . . . . . . . . . . . . . . . . . . . . . . . . . 33 7. References . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.1. Normative References . . . . . . . . . . . . . . . . . . 33 7.1. Normative References . . . . . . . . . . . . . . . . . . 33
7.2. Informative References . . . . . . . . . . . . . . . . . 34 7.2. Informative References . . . . . . . . . . . . . . . . . 34
Appendix A. Example of STAMP Session Configuration . . . . . . . 34 Appendix A. Example of STAMP Session Configuration . . . . . . . 35
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 36 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 36
1. Introduction 1. Introduction
The Simple Two-way Active Measurement Protocol (STAMP) [RFC8762] can The Simple Two-way Active Measurement Protocol (STAMP) [RFC8762] can
be used to measure performance parameters of IP networks such as be used to measure performance parameters of IP networks such as
latency, jitter, and packet loss by sending test packets and latency, jitter, and packet loss by sending test packets and
monitoring their experience in the network. The STAMP protocol monitoring their experience in the network. The STAMP protocol
[RFC8762] in unauthenticated mode is on-wire compatible with TWAMP [RFC8762] in unauthenticated mode is on-wire compatible with TWAMP
Light, discussed in Appendix I [RFC5357]. The TWAMP Light is known Light, discussed in Appendix I [RFC5357]. The TWAMP Light is known
skipping to change at page 10, line 32 skipping to change at page 10, line 32
| +---w input | +---w input
| +---w stamp-session-id uint32 | +---w stamp-session-id uint32
+---x stamp-sender-stop +---x stamp-sender-stop
+---w input +---w input
+---w stamp-stamp-session-id uint32 +---w stamp-stamp-session-id uint32
Figure 4: STAMP RPC Tree Diagram Figure 4: STAMP RPC Tree Diagram
3.2. YANG Module 3.2. YANG Module
<CODE BEGINS> file "ietf-stamp@2021-07-10.yang" <CODE BEGINS> file "ietf-stamp@2021-07-12.yang"
module ietf-stamp { module ietf-stamp {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-stamp"; namespace "urn:ietf:params:xml:ns:yang:ietf-stamp";
//namespace need to be assigned by IANA //namespace need to be assigned by IANA
prefix "ietf-stamp"; prefix "ietf-stamp";
import ietf-inet-types { import ietf-inet-types {
prefix inet; prefix inet;
reference "RFC 6991: Common YANG Types."; reference "RFC 6991: Common YANG Types.";
} }
skipping to change at page 26, line 33 skipping to change at page 26, line 33
leaf stamp-session-id { leaf stamp-session-id {
type union { type union {
type uint32; type uint32;
type enumeration { type enumeration {
enum any { enum any {
description description
"Indicates that the Session-Reflector "Indicates that the Session-Reflector
accepts STAMP test packets from accepts STAMP test packets from
a Session-Sender with any SSID a Session-Sender with any SSID
value"; value";
reference
"RFC 8972 Simple Two-Way Active
Measurement Protocol Optional
Extensions Section 3.";
} }
} }
}
description
"This value determines whether specific
SSID of the Session-Sender
or the wildcard, i.e. any SSID accepted";
reference
"RFC 8972 Simple Two-Way Active
Measurement Protocol Optional
Extensions Section 3.";
} }
leaf dscp-handling-mode { leaf dscp-handling-mode {
type session-dscp-mode; type session-dscp-mode;
default copy-received-value; default copy-received-value;
description description
"Session-Reflector handling of DSCP: "Session-Reflector handling of DSCP:
- use value copied from received STAMP-Test packet; - use value copied from received STAMP-Test packet;
- use value explicitly configured"; - use value explicitly configured";
} }
 End of changes. 5 change blocks. 
7 lines changed or deleted 12 lines changed or added

This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/