netconfcentral logo

ietf-stamp

HTML

ietf-stamp@2017-10-20



  module ietf-stamp {

    yang-version 1;

    namespace
      "urn:ietf:params:xml:ns:yang:ietf-stamp";

    prefix ietf-stamp;

    import ietf-inet-types {
      prefix inet;
    }
    import ietf-yang-types {
      prefix yang;
    }
    import ietf-key-chain {
      prefix kc;
    }

    organization
      "IETF IPPM (IP Performance Metrics) Working Group";

    contact
      "draft-mirsky-ippm-stamp-yang@tools.ietf.org";

    description "STAMP Data Model";

    revision "2017-10-20" {
      description
        "00 version. Base STAMP specification is covered";
      reference
        "";

    }


    feature session-sender {
      description
        "This feature relates to the device functions as the
     STAMP Session-Sender";
    }

    feature session-reflector {
      description
        "This feature relates to the device functions as the
     STAMP Session-Reflector";
    }

    feature stamp-authentication {
      description
        "STAMP authentication supported";
    }

    typedef enable {
      type boolean;
      description "enable";
    }

    typedef session-reflector-mode {
      type enumeration {
        enum "stateful" {
          value 0;
          description
            "When the Session-Reflector is stateful,
                        i.e. is aware of STAMP-Test session state.";
        }
        enum "stateless" {
          value 1;
          description
            "When the Session-Reflector is stateless,
                        i.e. is not aware of the state of
                        STAMP-Test session.";
        }
      }
      description
        "State of the Session-Reflector";
    }

    typedef session-dscp-mode {
      type enumeration {
        enum "copy-received-value" {
          value 0;
          description
            "Use DSCP value copied from received
                        STAMP test packet of the test session.";
        }
        enum "use-configured-value" {
          value 1;
          description
            "Use DSCP value configured for this
                        test session on the Session-Reflector.";
        }
      }
      description
        "DSCP handling mode by Session-Reflector.";
    }

    typedef percentage {
      type decimal64 {
        fraction-digits 5;
      }
      description "Percentage";
    }

    typedef percentile {
      type decimal64 {
        fraction-digits 2;
      }
      description
        "Percentile is a measure used in statistics
        indicating the value below which a given
        percentage of observations in a group of
        observations fall.";
    }

    grouping maintenance-statistics {
      description
        "Maintenance statistics grouping";
      leaf sent-packets {
        type uint32;
        description "Packets sent";
      }

      leaf rcv-packets {
        type uint32;
        description "Packets received";
      }

      leaf sent-packets-error {
        type uint32;
        description "Packets sent error";
      }

      leaf rcv-packets-error {
        type uint32;
        description "Packets received error";
      }

      leaf last-sent-seq {
        type uint32;
        description
          "Last sent sequence number";
      }

      leaf last-rcv-seq {
        type uint32;
        description
          "Last received sequence number";
      }
    }  // grouping maintenance-statistics

    grouping stamp-session-percentile {
      description "Percentile grouping";
      leaf first-percentile {
        type percentile;
        default '95.00';
        description
          "First percentile to report";
      }

      leaf second-percentile {
        type percentile;
        default '99.00';
        description
          "Second percentile to report";
      }

      leaf third-percentile {
        type percentile;
        default '99.90';
        description
          "Third percentile to report";
      }
    }  // grouping stamp-session-percentile

    grouping delay-statistics {
      description
        "Delay statistics grouping";
      container delay {
        description
          "Packets transmitted delay";
        leaf min {
          type yang:gauge32;
          units "microseconds";
          description
            "Min of Packets transmitted delay";
        }

        leaf max {
          type yang:gauge32;
          units "microseconds";
          description
            "Max of Packets transmitted delay";
        }

        leaf avg {
          type yang:gauge32;
          units "microseconds";
          description
            "Avg of Packets transmitted delay";
        }
      }  // container delay

      container delay-variation {
        description
          "Packets transmitted delay variation";
        leaf min {
          type uint32;
          units "microseconds";
          description
            "Min of Packets transmitted
                   delay variation";
        }

        leaf max {
          type uint32;
          units "microseconds";
          description
            "Max of Packets transmitted
                   delay variation";
        }

        leaf avg {
          type uint32;
          units "microseconds";
          description
            "Avg of Packets transmitted
                   delay variation";
        }
      }  // container delay-variation
    }  // grouping delay-statistics

    grouping time-percentile-report {
      description
        "Delay percentile report grouping";
      container delay-percentile {
        description
          "Report round-trip, near- and far-end delay";
        leaf rtt-delay {
          type percentile;
          description
            "Percentile of round-trip delay";
        }

        leaf near-end-delay {
          type percentile;
          description
            "Percentile of near-end delay";
        }

        leaf far-end-delay {
          type percentile;
          description
            "Percentile of far-end delay";
        }
      }  // container delay-percentile

      container delay-variation-percentile {
        description
          "Report round-trip, near- and far-end delay variation";
        leaf rtt-delay-variation {
          type percentile;
          description
            "Percentile of round-trip delay-variation";
        }

        leaf near-end-delay-variation {
          type percentile;
          description
            "Percentile of near-end delay variation";
        }

        leaf far-end-delay-variation {
          type percentile;
          description
            "Percentile of far-end delay-variation";
        }
      }  // container delay-variation-percentile
    }  // grouping time-percentile-report

    grouping packet-loss-statistics {
      description
        "Grouping for Packet Loss statistics";
      leaf loss-count {
        type int32;
        description
          "Number of lost packets
                during the test interval.";
      }

      leaf loss-ratio {
        type percentage;
        description
          "Ratio of packets lost to packets
                sent during the test interval.";
      }

      leaf loss-burst-max {
        type int32;
        description
          "Maximum number of consequtively
                lost packets during the test interval.";
      }

      leaf loss-burst-min {
        type int32;
        description
          "Minimum number of consequtively
                lost packets during the test interval.";
      }

      leaf loss-burst-count {
        type int32;
        description
          "Number of occasions with packet
                loss during the test interval.";
      }
    }  // grouping packet-loss-statistics

    grouping session-parameters {
      description
        "Parameters common among
     Session-Sender and Session-Reflector";
      leaf sender-ip {
        type inet:ip-address;
        mandatory true;
        description "Sender IP address";
      }

      leaf sender-udp-port {
        type inet:port-number {
          range "49152..65535";
        }
        mandatory true;
        description "Sender UDP port number";
      }

      leaf reflector-ip {
        type inet:ip-address;
        mandatory true;
        description "Reflector IP address";
      }

      leaf reflector-udp-port {
        type inet:port-number {
          range "862 | 49152..65535";
        }
        default '862';
        description
          "Reflector UDP port number";
      }
    }  // grouping session-parameters

    grouping session-auth-params {
      description
        "Grouping for STAMP authentication parameters";
      container authentication-params {
        if-feature stamp-authentication;
        presence
          "Enables STAMP authentication";
        description
          "Parameters for STAMP Light authentication";
        leaf key-chain {
          type kc:key-chain-ref;
          description "Name of key-chain";
        }
      }  // container authentication-params
    }  // grouping session-auth-params

    container stamp {
      description
        "Top level container for stamp configuration";
      container stamp-session-sender {
        if-feature session-sender;
        description
          "stamp Session-Sender container";
        leaf sender-enable {
          type enable;
          default "true";
          description
            "Whether this network element is enabled to
         act as STAMP Sender";
        }

        list test-session {
          key "session-id";
          unique "sender-ip sender-udp-port reflector-ip reflector-udp-port dscp-value";
          description
            "This structure is a container of test session
         managed objects";
          leaf session-id {
            type uint32;
            description "Session ID";
          }

          leaf test-session-enable {
            type enable;
            default "true";
            description
              "Whether this STAMP Test session is enabled";
          }

          leaf number-of-packets {
            type union {
              type uint32 {
                range "1..4294967294";
              }
              type enumeration {
                enum "forever" {
                  value 0;
                  description
                    "Indicates that the test session SHALL
                                be run *forever*.";
                }
              }
            }
            default '10';
            description
              "This value determines if the STAMP-Test session is
              bound by number of test packets or not.";
          }

          leaf packet-padding-size {
            type uint32;
            default '27';
            description
              "Size of the Packet Padding. Suggested to run
           Path MTU Discovery to avoid packet fragmentation in
           IPv4 and packet blackholing in IPv6";
          }

          leaf interval {
            type uint32;
            units "microseconds";
            description
              "Time interval between transmission of two
           consecutive packets in the test session in
           microseconds";
          }

          leaf session-timeout {
            when
              "../number-of-packets != 'forever'" {
              description
                "Test session timeout only valid if the
                test mode is periodic.";
            }
            type uint32;
            units "seconds";
            default '900';
            description
              "The timeout value for the Session-Sender to
           collect outstanding reflected packets.";
          }

          leaf measurement-interval {
            when
              "../number-of-packets = 'forever'" {
              description
                "Valid only when the test to run forever,
                i.e. continuously.";
            }
            type uint32;
            units "seconds";
            default '60';
            description
              "Interval to calculate performance metric when
                 the test mode is 'continuous'.";
          }

          leaf repeat {
            type union {
              type uint32 {
                range "0..4294967294";
              }
              type enumeration {
                enum "forever" {
                  value 0;
                  description
                    "Indicates that the test session SHALL
                                be repeated *forever* using the
                                information in repeat-interval
                                parameter, and SHALL NOT decrement
                                the value.";
                }
              }
            }
            default '0';
            description
              "This value determines if the STAMP-Test session must
              be repeated. When a test session has completed, the
              repeat parameter is checked. The default value
              of 0 indicates that the session MUST NOT be repeated.
              If the repeat value is 1 through 4,294,967,294
              then the test session SHALL be repeated using the
              information in repeat-interval parameter.
              The implementation MUST decrement the value of repeat
              after determining a repeated session is expected.";
          }

          leaf repeat-interval {
            when "../repeat != '0'";
            type uint32;
            units "seconds";
            default '0';
            description
              "This parameter determines the timing of repeated
                STAMP-Test sessions when repeat is more than 0.";
          }

          leaf dscp-value {
            type inet:dscp;
            default '0';
            description
              "DSCP value to be set in the test packet.";
          }

          leaf test-session-reflector-mode {
            type session-reflector-mode;
            default "stateless";
            description
              "The mode of STAMP-Reflector for the test session.";
          }

          uses session-parameters;

          uses session-auth-params;

          uses stamp-session-percentile;
        }  // list test-session
      }  // container stamp-session-sender

      container stamp-session-reflector {
        if-feature session-reflector;
        description
          "stamp Session-Reflector container";
        leaf reflector-enable {
          type enable;
          default "true";
          description
            "Whether this network element is enabled to
           act as stamp Reflector";
        }

        leaf ref-wait {
          type uint32 {
            range "1..604800";
          }
          units "seconds";
          default '900';
          description
            "REFWAIT(STAMP test session timeout in seconds),
         the default value is 900";
        }

        leaf reflector-mode-state {
          type session-reflector-mode;
          default 'stateless';
          description
            "The state of the mode of the stamp
         Session-Reflector";
        }

        list test-session {
          key "session-id";
          unique "sender-ip sender-udp-port reflector-ip reflector-udp-port";
          description
            "This structure is a container of test session
          managed objects";
          leaf session-id {
            type uint32;
            description "Session ID";
          }

          leaf dscp-handling-mode {
            type session-dscp-mode;
            default 'copy-received-value';
            description
              "Session-Reflector handling of DSCP:
                 - use value copied from received STAMP-Test packet;
                 - use value explicitly configured";
          }

          leaf dscp-value {
            when
              "../dscp-handling-mode = 'use-configured-value'";
            type inet:dscp;
            default '0';
            description
              "DSCP value to be set in the reflected packet
                if dscp-handling-mode is set to use-configured-value.";
          }

          uses session-parameters;

          uses session-auth-params;
        }  // list test-session
      }  // container stamp-session-reflector
    }  // container stamp

    container stamp-state {
      config false;
      description
        "Top level container for stamp state data";
      container stamp-session-sender-state {
        if-feature session-sender;
        description
          "Session-Sender container for state data";
        list test-session-state {
          key "session-id";
          description
            "This structure is a container of test session
       managed objects";
          leaf session-id {
            type uint32;
            description "Session ID";
          }

          leaf sender-session-state {
            type enumeration {
              enum "active" {
                value 0;
                description
                  "Test session is active";
              }
              enum "ready" {
                value 1;
                description
                  "Test session is idle";
              }
            }
            description
              "State of the particular stamp test
         session at the sender";
          }

          container current-stats {
            description
              "This container contains the results for the current
          Measurement Interval in a Measurement session ";
            leaf start-time {
              type yang:date-and-time;
              mandatory true;
              description
                "The time that the current Measurement Interval started";
            }

            leaf packet-padding-size {
              type uint32;
              default '27';
              description
                "Size of the Packet Padding. Suggested to run
            Path MTU Discovery to avoid packet fragmentation
            in IPv4 and packet backholing in IPv6";
            }

            leaf interval {
              type uint32;
              units "microseconds";
              description
                "Time interval between transmission of two
           consecutive packets in the test session";
            }

            leaf duplicate-packets {
              type uint32;
              description
                "Duplicate packets";
            }

            leaf reordered-packets {
              type uint32;
              description
                "Reordered packets";
            }

            uses session-parameters;

            leaf dscp {
              type inet:dscp;
              description
                "The DSCP value that was placed in the header of
            STAMP UDP test packets by the Session-Sender.";
            }

            uses maintenance-statistics;

            container two-way-delay {
              description
                "two way delay result of the test session";
              uses delay-statistics;
            }  // container two-way-delay

            container one-way-delay-far-end {
              description
                "one way delay far-end of the test session";
              uses delay-statistics;
            }  // container one-way-delay-far-end

            container one-way-delay-near-end {
              description
                "one way delay near-end of the test session";
              uses delay-statistics;
            }  // container one-way-delay-near-end

            container low-percentile {
              when
                "/stamp/stamp-session-sender/"
                  + "test-session[session-id]/"
                  + "first-percentile != '0.00'" {
                description
                  "Only valid if the
                        the first-percentile is not NULL";
              }
              description
                "Low percentile report";
              uses time-percentile-report;
            }  // container low-percentile

            container mid-percentile {
              when
                "/stamp/stamp-session-sender/"
                  + "test-session[session-id]/"
                  + "second-percentile != '0.00'" {
                description
                  "Only valid if the
                        the first-percentile is not NULL";
              }
              description
                "Mid percentile report";
              uses time-percentile-report;
            }  // container mid-percentile

            container high-percentile {
              when
                "/stamp/stamp-session-sender/"
                  + "test-session[session-id]/"
                  + "third-percentile != '0.00'" {
                description
                  "Only valid if the
                        the first-percentile is not NULL";
              }
              description
                "High percentile report";
              uses time-percentile-report;
            }  // container high-percentile

            container two-way-loss {
              description
                "two way loss count and ratio result of
            the test session";
              uses packet-loss-statistics;
            }  // container two-way-loss

            container one-way-loss-far-end {
              when
                "/stamp/stamp-session-sender/"
                  + "test-session[session-id]/"
                  + "test-session-reflector-mode = 'stateful'" {
                description
                  "One-way statistic is only valid if the
                session-reflector is in stateful mode.";
              }
              description
                "one way loss count and ratio far-end of
            the test session";
              uses packet-loss-statistics;
            }  // container one-way-loss-far-end

            container one-way-loss-near-end {
              when
                "/stamp/stamp-session-sender/"
                  + "test-session[session-id]/"
                  + "test-session-reflector-mode = 'stateful'" {
                description
                  "One-way statistic is only valid if the
                session-reflector is in stateful mode.";
              }
              description
                "one way loss count and ratio near-end of
            the test session";
              uses packet-loss-statistics;
            }  // container one-way-loss-near-end
          }  // container current-stats

          list history-stats {
            key "id";
            description
              "This container contains the results for the history
          Measurement Interval in a Measurement session ";
            leaf id {
              type uint32;
              description
                "The identifier for the Measurement Interval
            within this session";
            }

            leaf end-time {
              type yang:date-and-time;
              mandatory true;
              description
                "The time that the Measurement Interval ended";
            }

            leaf number-of-packets {
              type uint32;
              description
                "The overall number of UDP test packets to be
            transmitted by the sender for this test session";
            }

            leaf packet-padding-size {
              type uint32;
              default '27';
              description
                "Size of the Packet Padding. Suggested to run
            Path MTU Discovery to avoid packet fragmentation
            in IPv4 and packet blackholing in IPv6";
            }

            leaf interval {
              type uint32;
              units "microseconds";
              description
                "Time interval between transmission of two
           consecutive packets in the test session";
            }

            leaf duplicate-packets {
              type uint32;
              description
                "Duplicate packets";
            }

            leaf reordered-packets {
              type uint32;
              description
                "Reordered packets";
            }

            leaf loss-packets {
              type uint32;
              description "Loss packets";
            }

            uses session-parameters;

            leaf dscp {
              type inet:dscp;
              description
                "The DSCP value that was placed in the header of
            STAMP UDP test packets by the Session-Sender.";
            }

            uses maintenance-statistics;

            container two-way-delay {
              description
                "two way delay result of the test session";
              uses delay-statistics;
            }  // container two-way-delay

            container one-way-delay-far-end {
              description
                "one way delay far end of the test session";
              uses delay-statistics;
            }  // container one-way-delay-far-end

            container one-way-delay-near-end {
              description
                "one way delay near end of the test session";
              uses delay-statistics;
            }  // container one-way-delay-near-end
          }  // list history-stats
        }  // list test-session-state
      }  // container stamp-session-sender-state

      container stamp-session-refl-state {
        if-feature session-reflector;
        description
          "stamp Session-Reflector container for
      state data";
        leaf reflector-light-admin-status {
          type boolean;
          mandatory true;
          description
            "Whether this network element is enabled to
        act as stamp Reflector";
        }

        list test-session-state {
          key "session-id";
          description
            "This structure is a container of test session
       managed objects";
          leaf session-id {
            type uint32;
            description "Session ID";
          }

          uses maintenance-statistics;

          uses session-parameters;
        }  // list test-session-state
      }  // container stamp-session-refl-state
    }  // container stamp-state

    rpc stamp-sender-start {
      description
        "start the configured sender session";
      input {
        leaf session-id {
          type uint32;
          mandatory true;
          description
            "The session to be started";
        }
      }
    }  // rpc stamp-sender-start

    rpc stamp-sender-stop {
      description
        "stop the configured sender session";
      input {
        leaf session-id {
          type uint32;
          mandatory true;
          description
            "The session to be stopped";
        }
      }
    }  // rpc stamp-sender-stop
  }  // module ietf-stamp

Summary

  
  
Organization IETF IPPM (IP Performance Metrics) Working Group
  
Module ietf-stamp
Version 2017-10-20
File ietf-stamp@2017-10-20.yang
  
Prefix ietf-stamp
Namespace urn:ietf:params:xml:ns:yang:ietf-stamp
  
Cooked /cookedmodules/ietf-stamp/2017-10-20
YANG /src/ietf-stamp@2017-10-20.yang
XSD /xsd/ietf-stamp@2017-10-20.xsd
  
Abstract STAMP Data Model
  
Contact
draft-mirsky-ippm-stamp-yang@tools.ietf.org

Description

 
STAMP Data Model

Typedefs

Typedef Base type Abstract
enable boolean enable
percentage decimal64 Percentage
percentile decimal64 Percentile is a measure used in statistics indicating the value below which a given percentage of observations in a group of observations fall.
session-dscp-mode enumeration DSCP handling mode by Session-Reflector.
session-reflector-mode enumeration State of the Session-Reflector

Groupings

Grouping Objects Abstract
delay-statistics delay delay-variation Delay statistics grouping
maintenance-statistics sent-packets rcv-packets sent-packets-error rcv-packets-error last-sent-seq last-rcv-seq Maintenance statistics grouping
packet-loss-statistics loss-count loss-ratio loss-burst-max loss-burst-min loss-burst-count Grouping for Packet Loss statistics
session-auth-params authentication-params Grouping for STAMP authentication parameters
session-parameters sender-ip sender-udp-port reflector-ip reflector-udp-port Parameters common among Session-Sender and Session-Reflector
stamp-session-percentile first-percentile second-percentile third-percentile Percentile grouping
time-percentile-report delay-percentile delay-variation-percentile Delay percentile report grouping

Objects

Type Key
Mandatory config
Optional config
Not config
Object Type Abstract
stamp container Top level container for stamp configuration
stamp-state container Top level container for stamp state data
   stamp-session-refl-state container stamp Session-Reflector container for state data
      reflector-light-admin-status leaf Whether this network element is enabled to act as stamp Reflector
      test-session-state list This structure is a container of test session managed objects
         last-rcv-seq leaf Last received sequence number
         last-sent-seq leaf Last sent sequence number
         rcv-packets leaf Packets received
         rcv-packets-error leaf Packets received error
         reflector-ip leaf Reflector IP address
         reflector-udp-port leaf Reflector UDP port number
         sender-ip leaf Sender IP address
         sender-udp-port leaf Sender UDP port number
         sent-packets leaf Packets sent
         sent-packets-error leaf Packets sent error
         session-id leaf Session ID
   stamp-session-sender-state container Session-Sender container for state data
      test-session-state list This structure is a container of test session managed objects
         current-stats container This container contains the results for the current Measurement Interval in a Measurement session
            dscp leaf The DSCP value that was placed in the header of STAMP UDP test packets by the Session-Sender.
            duplicate-packets leaf Duplicate packets
            high-percentile container High percentile report
               delay-percentile container Report round-trip, near- and far-end delay
                  far-end-delay leaf Percentile of far-end delay
                  near-end-delay leaf Percentile of near-end delay
                  rtt-delay leaf Percentile of round-trip delay
               delay-variation-percentile container Report round-trip, near- and far-end delay variation
                  far-end-delay-variation leaf Percentile of far-end delay-variation
                  near-end-delay-variation leaf Percentile of near-end delay variation
                  rtt-delay-variation leaf Percentile of round-trip delay-variation
            interval leaf Time interval between transmission of two consecutive packets in the test session
            last-rcv-seq leaf Last received sequence number
            last-sent-seq leaf Last sent sequence number
            low-percentile container Low percentile report
               delay-percentile container Report round-trip, near- and far-end delay
                  far-end-delay leaf Percentile of far-end delay
                  near-end-delay leaf Percentile of near-end delay
                  rtt-delay leaf Percentile of round-trip delay
               delay-variation-percentile container Report round-trip, near- and far-end delay variation
                  far-end-delay-variation leaf Percentile of far-end delay-variation
                  near-end-delay-variation leaf Percentile of near-end delay variation
                  rtt-delay-variation leaf Percentile of round-trip delay-variation
            mid-percentile container Mid percentile report
               delay-percentile container Report round-trip, near- and far-end delay
                  far-end-delay leaf Percentile of far-end delay
                  near-end-delay leaf Percentile of near-end delay
                  rtt-delay leaf Percentile of round-trip delay
               delay-variation-percentile container Report round-trip, near- and far-end delay variation
                  far-end-delay-variation leaf Percentile of far-end delay-variation
                  near-end-delay-variation leaf Percentile of near-end delay variation
                  rtt-delay-variation leaf Percentile of round-trip delay-variation
            one-way-delay-far-end container one way delay far-end of the test session
               delay container Packets transmitted delay
               delay-variation container Packets transmitted delay variation
                  avg leaf Avg of Packets transmitted delay variation
                  max leaf Max of Packets transmitted delay variation
                  min leaf Min of Packets transmitted delay variation
                  avg leaf Avg of Packets transmitted delay
                  max leaf Max of Packets transmitted delay
                  min leaf Min of Packets transmitted delay
            one-way-delay-near-end container one way delay near-end of the test session
               delay container Packets transmitted delay
               delay-variation container Packets transmitted delay variation
                  avg leaf Avg of Packets transmitted delay variation
                  max leaf Max of Packets transmitted delay variation
                  min leaf Min of Packets transmitted delay variation
                  avg leaf Avg of Packets transmitted delay
                  max leaf Max of Packets transmitted delay
                  min leaf Min of Packets transmitted delay
            one-way-loss-far-end container one way loss count and ratio far-end of the test session
               loss-burst-count leaf Number of occasions with packet loss during the test interval.
               loss-burst-max leaf Maximum number of consequtively lost packets during the test interval.
               loss-burst-min leaf Minimum number of consequtively lost packets during the test interval.
               loss-count leaf Number of lost packets during the test interval.
               loss-ratio leaf Ratio of packets lost to packets sent during the test interval.
            one-way-loss-near-end container one way loss count and ratio near-end of the test session
               loss-burst-count leaf Number of occasions with packet loss during the test interval.
               loss-burst-max leaf Maximum number of consequtively lost packets during the test interval.
               loss-burst-min leaf Minimum number of consequtively lost packets during the test interval.
               loss-count leaf Number of lost packets during the test interval.
               loss-ratio leaf Ratio of packets lost to packets sent during the test interval.
            packet-padding-size leaf Size of the Packet Padding. Suggested to run Path MTU Discovery to avoid packet fragmentation in IPv4 and packet backholing in IPv6
            rcv-packets leaf Packets received
            rcv-packets-error leaf Packets received error
            reflector-ip leaf Reflector IP address
            reflector-udp-port leaf Reflector UDP port number
            reordered-packets leaf Reordered packets
            sender-ip leaf Sender IP address
            sender-udp-port leaf Sender UDP port number
            sent-packets leaf Packets sent
            sent-packets-error leaf Packets sent error
            start-time leaf The time that the current Measurement Interval started
            two-way-delay container two way delay result of the test session
               delay container Packets transmitted delay
               delay-variation container Packets transmitted delay variation
                  avg leaf Avg of Packets transmitted delay variation
                  max leaf Max of Packets transmitted delay variation
                  min leaf Min of Packets transmitted delay variation
                  avg leaf Avg of Packets transmitted delay
                  max leaf Max of Packets transmitted delay
                  min leaf Min of Packets transmitted delay
            two-way-loss container two way loss count and ratio result of the test session
               loss-burst-count leaf Number of occasions with packet loss during the test interval.
               loss-burst-max leaf Maximum number of consequtively lost packets during the test interval.
               loss-burst-min leaf Minimum number of consequtively lost packets during the test interval.
               loss-count leaf Number of lost packets during the test interval.
               loss-ratio leaf Ratio of packets lost to packets sent during the test interval.
         history-stats list This container contains the results for the history Measurement Interval in a Measurement session
            dscp leaf The DSCP value that was placed in the header of STAMP UDP test packets by the Session-Sender.
            duplicate-packets leaf Duplicate packets
            end-time leaf The time that the Measurement Interval ended
            id leaf The identifier for the Measurement Interval within this session
            interval leaf Time interval between transmission of two consecutive packets in the test session
            last-rcv-seq leaf Last received sequence number
            last-sent-seq leaf Last sent sequence number
            loss-packets leaf Loss packets
            number-of-packets leaf The overall number of UDP test packets to be transmitted by the sender for this test session
            one-way-delay-far-end container one way delay far end of the test session
               delay container Packets transmitted delay
               delay-variation container Packets transmitted delay variation
                  avg leaf Avg of Packets transmitted delay variation
                  max leaf Max of Packets transmitted delay variation
                  min leaf Min of Packets transmitted delay variation
                  avg leaf Avg of Packets transmitted delay
                  max leaf Max of Packets transmitted delay
                  min leaf Min of Packets transmitted delay
            one-way-delay-near-end container one way delay near end of the test session
               delay container Packets transmitted delay
               delay-variation container Packets transmitted delay variation
                  avg leaf Avg of Packets transmitted delay variation
                  max leaf Max of Packets transmitted delay variation
                  min leaf Min of Packets transmitted delay variation
                  avg leaf Avg of Packets transmitted delay
                  max leaf Max of Packets transmitted delay
                  min leaf Min of Packets transmitted delay
            packet-padding-size leaf Size of the Packet Padding. Suggested to run Path MTU Discovery to avoid packet fragmentation in IPv4 and packet blackholing in IPv6
            rcv-packets leaf Packets received
            rcv-packets-error leaf Packets received error
            reflector-ip leaf Reflector IP address
            reflector-udp-port leaf Reflector UDP port number
            reordered-packets leaf Reordered packets
            sender-ip leaf Sender IP address
            sender-udp-port leaf Sender UDP port number
            sent-packets leaf Packets sent
            sent-packets-error leaf Packets sent error
            two-way-delay container two way delay result of the test session
               delay container Packets transmitted delay
               delay-variation container Packets transmitted delay variation
                  avg leaf Avg of Packets transmitted delay variation
                  max leaf Max of Packets transmitted delay variation
                  min leaf Min of Packets transmitted delay variation
                  avg leaf Avg of Packets transmitted delay
                  max leaf Max of Packets transmitted delay
                  min leaf Min of Packets transmitted delay
         sender-session-state leaf State of the particular stamp test session at the sender
         session-id leaf Session ID
   stamp-session-reflector container stamp Session-Reflector container
      ref-wait leaf REFWAIT(STAMP test session timeout in seconds), the default value is 900
      reflector-enable leaf Whether this network element is enabled to act as stamp Reflector
      reflector-mode-state leaf The state of the mode of the stamp Session-Reflector
      test-session list This structure is a container of test session managed objects
         authentication-params container Parameters for STAMP Light authentication
            key-chain leaf Name of key-chain
         dscp-handling-mode leaf Session-Reflector handling of DSCP: - use value copied from received STAMP-Test packet; - use value explicitly configured
         dscp-value leaf DSCP value to be set in the reflected packet if dscp-handling-mode is set to use-configured-value.
         reflector-ip leaf Reflector IP address
         reflector-udp-port leaf Reflector UDP port number
         sender-ip leaf Sender IP address
         sender-udp-port leaf Sender UDP port number
         session-id leaf Session ID
   stamp-session-sender container stamp Session-Sender container
      sender-enable leaf Whether this network element is enabled to act as STAMP Sender
      test-session list This structure is a container of test session managed objects
         authentication-params container Parameters for STAMP Light authentication
            key-chain leaf Name of key-chain
         dscp-value leaf DSCP value to be set in the test packet.
         first-percentile leaf First percentile to report
         interval leaf Time interval between transmission of two consecutive packets in the test session in microseconds
         measurement-interval leaf Interval to calculate performance metric when the test mode is 'continuous'.
         number-of-packets leaf This value determines if the STAMP-Test session is bound by number of test packets or not.
         packet-padding-size leaf Size of the Packet Padding. Suggested to run Path MTU Discovery to avoid packet fragmentation in IPv4 and packet blackholing in IPv6
         reflector-ip leaf Reflector IP address
         reflector-udp-port leaf Reflector UDP port number
         repeat leaf This value determines if the STAMP-Test session must be repeated. When a test session has completed, the repeat parameter is checked. The default value of 0 indicates that the session MUST NOT be repeated. If the repeat value is 1 through 4,294,967,294 th...
         repeat-interval leaf This parameter determines the timing of repeated STAMP-Test sessions when repeat is more than 0.
         second-percentile leaf Second percentile to report
         sender-ip leaf Sender IP address
         sender-udp-port leaf Sender UDP port number
         session-id leaf Session ID
         session-timeout leaf The timeout value for the Session-Sender to collect outstanding reflected packets.
         test-session-enable leaf Whether this STAMP Test session is enabled
         test-session-reflector-mode leaf The mode of STAMP-Reflector for the test session.
         third-percentile leaf Third percentile to report

RPC Methods

RPC Abstract
stamp-sender-start start the configured sender session
stamp-sender-stop stop the configured sender session