draft-ietf-ippm-stamp-yang-03.txt   draft-ietf-ippm-stamp-yang-04.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: September 5, 2019 W. Luo Expires: March 5, 2020 W. Luo
Ericsson Ericsson
March 4, 2019 September 2, 2019
Simple Two-way Active Measurement Protocol (STAMP) Data Model Simple Two-way Active Measurement Protocol (STAMP) Data Model
draft-ietf-ippm-stamp-yang-03 draft-ietf-ippm-stamp-yang-04
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 1, line 34 skipping to change at page 1, line 34
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on September 5, 2019. This Internet-Draft will expire on March 5, 2020.
Copyright Notice Copyright Notice
Copyright (c) 2019 IETF Trust and the persons identified as the Copyright (c) 2019 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of (https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 10, line 29 skipping to change at page 10, line 29
| +---w input | +---w input
| +---w session-id uint32 | +---w session-id uint32
+---x stamp-sender-stop +---x stamp-sender-stop
+---w input +---w input
+---w session-id uint32 +---w 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@2018-09-07.yang" <CODE BEGINS> file "ietf-stamp@2019-08-29.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 11, line 39 skipping to change at page 11, line 39
Redistribution and use in source and binary forms, with or Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD to the license terms contained in, the Simplified BSD
License set forth in Section 4.c of the IETF Trust's Legal License set forth in Section 4.c of the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info). (http://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX; see This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices."; the RFC itself for full legal notices.";
revision "2018-09-07" { revision "2019-08-29" {
description description
"Initial Revision. Base STAMP specification is covered"; "Initial Revision. Base STAMP specification is covered";
reference reference
"RFC XXXX: STAMP YANG Data Model."; "RFC XXXX: STAMP YANG Data Model.";
} }
/* /*
* Typedefs * Typedefs
*/ */
typedef session-reflector-mode { typedef session-reflector-mode {
skipping to change at page 21, line 5 skipping to change at page 21, line 5
mandatory true; mandatory true;
description "Sender UDP port number"; description "Sender UDP port number";
} }
leaf reflector-ip { leaf reflector-ip {
type inet:ip-address; type inet:ip-address;
mandatory true; mandatory true;
description "Reflector IP address"; description "Reflector IP address";
} }
leaf reflector-udp-port { leaf reflector-udp-port {
type inet:port-number{ type inet:port-number{
range "862 | 49152..65535"; range "862 | 1024..49151 | 49152..65535";
} }
default 862; default 862;
description "Reflector UDP port number"; description "Reflector UDP port number";
} }
} }
grouping session-security { grouping session-security {
description description
"Grouping for STAMP security and related parameters"; "Grouping for STAMP security and related parameters";
container security { container security {
skipping to change at page 22, line 44 skipping to change at page 22, line 44
} }
} }
default 10; default 10;
description description
"This value determines if the STAMP-Test session is "This value determines if the STAMP-Test session is
bound by number of test packets or not."; bound by number of test packets or not.";
} }
leaf packet-padding-size { leaf packet-padding-size {
type uint32; type uint32;
default 27; default 30;
description description
"Size of the Packet Padding. Suggested to run "Size of the Packet Padding. Suggested to run
Path MTU Discovery to avoid packet fragmentation in Path MTU Discovery to avoid packet fragmentation in
IPv4 and packet blackholing in IPv6"; IPv4 and packet blackholing in IPv6";
} }
leaf interval { leaf interval {
type uint32; type uint32;
units microseconds; units microseconds;
description description
skipping to change at page 27, line 36 skipping to change at page 27, line 36
} }
default any; default any;
description description
"This value determines whether specific "This value determines whether specific
IPv4/IPv6 address of the Session-Reflector IPv4/IPv6 address of the Session-Reflector
or the wildcard, i.e. any address"; or the wildcard, i.e. any address";
} }
leaf reflector-udp-port { leaf reflector-udp-port {
type inet:port-number{ type inet:port-number{
range "862 | 49152..65535"; range "862 | 1024..49151 | 49152..65535";
} }
default 862; default 862;
description "Reflector UDP port number"; description "Reflector UDP port number";
} }
leaf reflector-timestamp-format { leaf reflector-timestamp-format {
type timestamp-format; type timestamp-format;
default ntp-format; default ntp-format;
description "Reflector Timestamp format"; description "Reflector Timestamp format";
} }
skipping to change at page 32, line 35 skipping to change at page 32, line 35
Authors recognize and appreciate valuable comments provided by Adrian Authors recognize and appreciate valuable comments provided by Adrian
Pan. Pan.
7. References 7. References
7.1. Normative References 7.1. Normative References
[I-D.ietf-ippm-stamp] [I-D.ietf-ippm-stamp]
Mirsky, G., Jun, G., Nydell, H., and R. Foote, "Simple Mirsky, G., Jun, G., Nydell, H., and R. Foote, "Simple
Two-way Active Measurement Protocol", draft-ietf-ippm- Two-way Active Measurement Protocol", draft-ietf-ippm-
stamp-05 (work in progress), November 2018. stamp-07 (work in progress), August 2019.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997, DOI 10.17487/RFC2119, March 1997,
<https://www.rfc-editor.org/info/rfc2119>. <https://www.rfc-editor.org/info/rfc2119>.
[RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688,
DOI 10.17487/RFC3688, January 2004, DOI 10.17487/RFC3688, January 2004,
<https://www.rfc-editor.org/info/rfc3688>. <https://www.rfc-editor.org/info/rfc3688>.
 End of changes. 10 change blocks. 
10 lines changed or deleted 10 lines changed or added

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