<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="std" consensus="true" docName="draft-ietf-opsawg-yang-vpn-service-pm-15" indexInclude="true" ipr="trust200902" number="9375" prepTime="2023-04-26T21:26:25" scripts="Common,Latin" sortRefs="true" submissionType="IETF" symRefs="true" tocDepth="3" tocInclude="true" xml:lang="en">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-opsawg-yang-vpn-service-pm-15" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9375" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="A YANG Data Model for Network and VPN Service PM">A YANG Data Model for Network and VPN Service Performance Monitoring</title>
    <seriesInfo name="RFC" value="9375" stream="IETF"/>
    <author fullname="Bo Wu" initials="B." role="editor" surname="Wu">
      <organization showOnFrontPage="true">Huawei</organization>
      <address>
        <postal>
          <extaddr>Yuhua District</extaddr>
          <street>101 Software Avenue</street>
          <city>Nanjing</city>
          <region>Jiangsu</region>
          <code>210012</code>
          <country>China</country>
        </postal>
        <email>lana.wubo@huawei.com</email>
      </address>
    </author>
    <author fullname="Qin Wu" initials="Q." role="editor" surname="Wu">
      <organization showOnFrontPage="true">Huawei</organization>
      <address>
        <postal>
          <extaddr>Yuhua District</extaddr>
          <street>101 Software Avenue</street>
          <city>Nanjing</city>
          <region>Jiangsu</region>
          <code>210012</code>
          <country>China</country>
        </postal>
        <email>bill.wu@huawei.com</email>
      </address>
    </author>
    <author fullname="Mohamed Boucadair" initials="M." role="editor" surname="Boucadair">
      <organization showOnFrontPage="true">Orange</organization>
      <address>
        <postal>
          <street>Rennes 35000</street>
          <country>France</country>
        </postal>
        <email>mohamed.boucadair@orange.com</email>
      </address>
    </author>
    <author fullname="Oscar Gonzalez de Dios" initials="O." surname="Gonzalez de Dios">
      <organization showOnFrontPage="true">Telefonica</organization>
      <address>
        <postal>
          <street/>
          <city>Madrid</city>
          <country>Spain</country>
        </postal>
        <email>oscar.gonzalezdedios@telefonica.com</email>
      </address>
    </author>
    <author fullname="Bin Wen" initials="B" surname="Wen">
      <organization showOnFrontPage="true">Comcast</organization>
      <address>
        <email>bin_wen@comcast.com</email>
      </address>
    </author>
    <date month="04" year="2023"/>
    <area>ops</area>
    <workgroup>opsawg</workgroup>
    <keyword>VPN Performance Measurement Telemetry</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">The data model for network topologies defined in RFC 8345 introduces
      vertical layering relationships between networks that can be augmented
      to cover network and service topologies. This document defines a YANG
      module for performance monitoring (PM) of both underlay networks and
      overlay VPN services that can be used to monitor and manage network
      performance on the topology of both layers.</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This is an Internet Standards Track document.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc9375" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2023 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Revised BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Revised BSD License.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology">Terminology</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.2.2">
              <li pn="section-toc.1-1.2.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.2.1.1"><xref derivedContent="2.1" format="counter" sectionFormat="of" target="section-2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-acronyms">Acronyms</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-network-and-vpn-service-per">Network and VPN Service Performance Monitoring Model Usage</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.3.2">
              <li pn="section-toc.1-1.3.2.1">
                <t indent="0" pn="section-toc.1-1.3.2.1.1"><xref derivedContent="3.1" format="counter" sectionFormat="of" target="section-3.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-collecting-data-via-the-pub">Collecting Data via the Pub/Sub Mechanism</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.2">
                <t indent="0" pn="section-toc.1-1.3.2.2.1"><xref derivedContent="3.2" format="counter" sectionFormat="of" target="section-3.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-collecting-data-on-demand">Collecting Data On Demand</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-description-of-the-yang-dat">Description of the YANG Data Model</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2">
              <li pn="section-toc.1-1.4.2.1">
                <t indent="0" pn="section-toc.1-1.4.2.1.1"><xref derivedContent="4.1" format="counter" sectionFormat="of" target="section-4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-layering-relationship-betwe">Layering Relationship between Multiple Layers of Topology</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.2">
                <t indent="0" pn="section-toc.1-1.4.2.2.1"><xref derivedContent="4.2" format="counter" sectionFormat="of" target="section-4.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-network-level-performance-m">Network-Level Performance Monitoring Augmentation</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.3">
                <t indent="0" pn="section-toc.1-1.4.2.3.1"><xref derivedContent="4.3" format="counter" sectionFormat="of" target="section-4.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-node-level-performance-moni">Node-Level Performance Monitoring Augmentation</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.4">
                <t indent="0" pn="section-toc.1-1.4.2.4.1"><xref derivedContent="4.4" format="counter" sectionFormat="of" target="section-4.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-performance-monitoring-augm">Performance Monitoring Augmentation at Link and Termination Point Level</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-network-and-vpn-service-perf">Network and VPN Service Performance Monitoring YANG Module</xref></t>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.8.2">
              <li pn="section-toc.1-1.8.2.1">
                <t indent="0" pn="section-toc.1-1.8.2.1.1"><xref derivedContent="8.1" format="counter" sectionFormat="of" target="section-8.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.8.2.2">
                <t indent="0" pn="section-toc.1-1.8.2.2.1"><xref derivedContent="8.2" format="counter" sectionFormat="of" target="section-8.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-illustrative-examples">Illustrative Examples</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.9.2">
              <li pn="section-toc.1-1.9.2.1">
                <t indent="0" pn="section-toc.1-1.9.2.1.1"><xref derivedContent="A.1" format="counter" sectionFormat="of" target="section-appendix.a.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-example-of-vpn-performance-">Example of VPN Performance Subscription</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.2">
                <t indent="0" pn="section-toc.1-1.9.2.2.1"><xref derivedContent="A.2" format="counter" sectionFormat="of" target="section-appendix.a.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-example-of-vpn-performance-s">Example of VPN Performance Snapshot</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.3">
                <t indent="0" pn="section-toc.1-1.9.2.3.1"><xref derivedContent="A.3" format="counter" sectionFormat="of" target="section-appendix.a.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-example-of-percentile-monit">Example of Percentile Monitoring</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.b"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-contributors">Contributors</xref></t>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.d"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="intro" numbered="true" toc="include" removeInRFC="false" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1"><xref target="RFC8969" format="default" sectionFormat="of" derivedContent="RFC8969"/> describes a framework for automating service
      and network management with YANG <xref target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/> data models. It
      states that the performance measurement telemetry model should be tied
      to the services (such as a Layer 3 VPN or Layer 2 VPN) or to the network
      models to monitor the overall network performance and the Service Level
      Agreements (SLAs).</t>
      <t indent="0" pn="section-1-2">The performance of VPN services is associated with the performance
      changes of the underlay networks that carry VPN services. For example,
      link delay between Provider Edge (PE) and Provider (P) devices and
      packet loss status on Layer 2 and Layer 3 interfaces connecting PEs and
      Customer Edge (CE) devices directly impact VPN service performance.
      Additionally, the integration of Layer 2 / Layer 3 VPN performance and
      network performance data enables the orchestrator to monitor
      consistently. Therefore, this document defines a YANG module for both
      network and VPN service performance monitoring (PM). The module can be
      used to monitor and manage network performance on the topology level or
      the service topology between VPN sites.</t>
      <t indent="0" pn="section-1-3">The base model specified in <xref target="YANG_Module" format="default" sectionFormat="of" derivedContent="Section 5"/> can be extended to include
      technology-specific details, e.g., adding Explicit Congestion
      Notification (ECN) statistics for Layer 3 networks or VPN services to
      support performance-sensitive applications.</t>
      <t indent="0" pn="section-1-4">This document does not introduce new metrics for network performance
      or mechanisms for measuring network performance, but it uses the existing
      mechanisms and statistics to monitor the performance of the network and
      the services.</t>
      <t indent="0" pn="section-1-5">The YANG module defined in this document is designed as an
      augmentation to the network topology YANG data model defined in <xref target="RFC8345" format="default" sectionFormat="of" derivedContent="RFC8345"/> and draws on relevant YANG types defined in <xref target="RFC6991" format="default" sectionFormat="of" derivedContent="RFC6991"/>, <xref target="RFC8345" format="default" sectionFormat="of" derivedContent="RFC8345"/>, <xref target="RFC8532" format="default" sectionFormat="of" derivedContent="RFC8532"/>,
      and <xref target="RFC9181" format="default" sectionFormat="of" derivedContent="RFC9181"/>.</t>
      <t indent="0" pn="section-1-6"><xref target="examples" format="default" sectionFormat="of" derivedContent="Appendix A"/> provides a set of examples to illustrate
      the use of the module.</t>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-2">
      <name slugifiedName="name-terminology">Terminology</name>
      <t indent="0" pn="section-2-1">The following terms are defined in <xref format="default" target="RFC7950" sectionFormat="of" derivedContent="RFC7950"/> and are used in this specification:</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-2-2">
        <li pn="section-2-2.1">augment</li>
        <li pn="section-2-2.2">data model</li>
        <li pn="section-2-2.3">data node</li>
      </ul>
      <t indent="0" pn="section-2-3">The terminology for describing YANG data models is found in <xref format="default" target="RFC7950" sectionFormat="of" derivedContent="RFC7950"/>.</t>
      <t indent="0" pn="section-2-4">The tree diagrams used in this document follow the notation defined
      in <xref format="default" target="RFC8340" sectionFormat="of" derivedContent="RFC8340"/>.</t>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-2.1">
        <name slugifiedName="name-acronyms">Acronyms</name>
        <t indent="0" pn="section-2.1-1">The following acronyms are used in the document:</t>
        <dl newline="false" spacing="normal" indent="10" pn="section-2.1-2">
          <dt pn="section-2.1-2.1">CE</dt>
          <dd pn="section-2.1-2.2">Customer Edge, as defined in <xref target="RFC4026" format="default" sectionFormat="of" derivedContent="RFC4026"/></dd>
          <dt pn="section-2.1-2.3">L2VPN</dt>
          <dd pn="section-2.1-2.4">Layer 2 Virtual Private Network, as defined in
            <xref target="RFC4026" format="default" sectionFormat="of" derivedContent="RFC4026"/></dd>
          <dt pn="section-2.1-2.5">L3VPN</dt>
          <dd pn="section-2.1-2.6">Layer 3 Virtual Private Network, as defined in
          <xref target="RFC4026" format="default" sectionFormat="of" derivedContent="RFC4026"/></dd>
          <dt pn="section-2.1-2.7">L2NM</dt>
          <dd pn="section-2.1-2.8">L2VPN Network Model</dd>
          <dt pn="section-2.1-2.9">L3NM</dt>
          <dd pn="section-2.1-2.10">L3VPN Network Model</dd>
          <dt pn="section-2.1-2.11">MPLS</dt>
          <dd pn="section-2.1-2.12">Multiprotocol Label Switching</dd>
          <dt pn="section-2.1-2.13">OAM</dt>
          <dd pn="section-2.1-2.14">Operations, Administration, and Maintenance</dd>
          <dt pn="section-2.1-2.15">OSPF</dt>
          <dd pn="section-2.1-2.16">Open Shortest Path First</dd>
          <dt pn="section-2.1-2.17">OWAMP</dt>
          <dd pn="section-2.1-2.18">One-Way Active Measurement Protocol, as
            defined in <xref target="RFC4656" format="default" sectionFormat="of" derivedContent="RFC4656"/></dd>
          <dt pn="section-2.1-2.19">P</dt>
          <dd pn="section-2.1-2.20">Provider router, as defined in <xref target="RFC4026" format="default" sectionFormat="of" derivedContent="RFC4026"/></dd>
          <dt pn="section-2.1-2.21">PE</dt>
          <dd pn="section-2.1-2.22">Provider Edge, as defined in <xref target="RFC4026" format="default" sectionFormat="of" derivedContent="RFC4026"/></dd>
          <dt pn="section-2.1-2.23">PM</dt>
          <dd pn="section-2.1-2.24">Performance Monitoring</dd>
          <dt pn="section-2.1-2.25">SLA</dt>
          <dd pn="section-2.1-2.26">Service Level Agreement</dd>
          <dt pn="section-2.1-2.27">TP</dt>
          <dd pn="section-2.1-2.28">Termination Point, as defined in <xref target="RFC8345" section="4.2" sectionFormat="comma" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8345#section-4.2" derivedContent="RFC8345"/></dd>
          <dt pn="section-2.1-2.29">TWAMP</dt>
          <dd pn="section-2.1-2.30">Two-Way Active Measurement Protocol, as
            defined in <xref target="RFC5357" format="default" sectionFormat="of" derivedContent="RFC5357"/></dd>
          <dt pn="section-2.1-2.31">VPLS</dt>
          <dd pn="section-2.1-2.32">Virtual Private LAN Service, as defined in
            <xref target="RFC4026" format="default" sectionFormat="of" derivedContent="RFC4026"/></dd>
          <dt pn="section-2.1-2.33">VPN</dt>
          <dd pn="section-2.1-2.34">Virtual Private Network</dd>
        </dl>
      </section>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-3">
      <name slugifiedName="name-network-and-vpn-service-per">Network and VPN Service Performance Monitoring Model Usage</name>
      <t indent="0" pn="section-3-1">Models are key for automating network management operations (<xref target="RFC8969" section="3" sectionFormat="of" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8969#section-3" derivedContent="RFC8969"/>). Particularly, together with service and
      network models, performance measurement telemetry models are needed to
      monitor network performance to meet specific service requirements
      (typically captured in an SLA).</t>
      <figure anchor="fig1" align="left" suppress-title="false" pn="figure-1">
        <name slugifiedName="name-an-example-architecture-wit">An Example Architecture with a Service Orchestrator</name>
        <artwork name="" type="" align="left" alt="" pn="section-3-2.1">
                         +---------------+
                         |   Customer    |
                         +-------+-------+
                                 |
         Customer Service Models |
                                 |
                         +-------+---------+
                         |    Service      |
                         |  Orchestrator   |
                         +------+-+--------+
                                | |
         Network Service Models | | Network and VPN Service PM Models
                                | |
                         +------+-+--------+
                         |     Network     |
                         |   Controller    |
                         +-------+---------+
                                 |
         +-----------------------+------------------------+
                               Network
</artwork>
      </figure>
      <t indent="0" pn="section-3-3">The network and VPN service PM model can be
      used to expose operational performance information to the layer above,
      e.g., to an orchestrator or other Business Support System (BSS) / Operational Support System (OSS) client application, via
      standard network management APIs. <xref target="fig1" format="default" sectionFormat="of" derivedContent="Figure 1"/> shows an example
      usage in a layered model architecture as described in <xref target="RFC8309" format="default" sectionFormat="of" derivedContent="RFC8309"/>.</t>
      <t indent="0" pn="section-3-4">Before using the model, the controller needs to establish topology
      visibility of the network and VPN. For example, the controller can use
      network information from <xref target="RFC8345" format="default" sectionFormat="of" derivedContent="RFC8345"/> and <xref target="I-D.ietf-opsawg-sap" format="default" sectionFormat="of" derivedContent="YANG-SAP"/> or VPN information from the L3VPN Network
      Model (L3NM) <xref target="RFC9182" format="default" sectionFormat="of" derivedContent="RFC9182"/> and the L2VPN Network Model (L2NM)
      <xref target="RFC9291" format="default" sectionFormat="of" derivedContent="RFC9291"/>. Then the controller derives network or VPN
      performance data by aggregating (and filtering) lower-level data
      collected via monitoring counters of the devices involved.</t>
      <t indent="0" pn="section-3-5">The network or VPN performance data can be based on different
      sources. For example, the performance monitoring data per link in the
      underlying networks can be collected using a network performance
      measurement method such as the One-Way Active Measurement Protocol (OWAMP)
      <xref target="RFC4656" format="default" sectionFormat="of" derivedContent="RFC4656"/>, Two-Way Active Measurement Protocol (TWAMP)
      <xref target="RFC5357" format="default" sectionFormat="of" derivedContent="RFC5357"/>, Simple Two-way Active Measurement Protocol
      (STAMP) <xref target="RFC8762" format="default" sectionFormat="of" derivedContent="RFC8762"/>, Multiprotocol Label Switching (MPLS)
      Loss and Delay Measurement <xref target="RFC6374" format="default" sectionFormat="of" derivedContent="RFC6374"/>, or In situ OAM
      (IOAM) <xref target="RFC9197" format="default" sectionFormat="of" derivedContent="RFC9197"/>. The performance monitoring information
      reflecting the quality of the network or VPN service (e.g., network
      performance data between source node and destination node in the
      networks or between VPN sites) can be computed and aggregated, for
      example, using the information from the Traffic Engineering Database
      (TED) <xref target="RFC7471" format="default" sectionFormat="of" derivedContent="RFC7471"/> <xref target="RFC8570" format="default" sectionFormat="of" derivedContent="RFC8570"/> <xref target="RFC8571" format="default" sectionFormat="of" derivedContent="RFC8571"/> or Large-Scale Measurement Platform (LMAP) <xref target="RFC8194" format="default" sectionFormat="of" derivedContent="RFC8194"/>.</t>
      <t indent="0" pn="section-3-6">The measurement and report intervals that are associated with these
      performance data usually depend on the configuration of the specific
      measurement method or collection method or various combinations. This
      document defines network-wide measurement intervals to align measurement
      requirements for networks or VPN services.</t>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-3.1">
        <name slugifiedName="name-collecting-data-via-the-pub">Collecting Data via the Pub/Sub Mechanism</name>
        <t indent="0" pn="section-3.1-1">Some applications, such as service-assurance applications, which
        must maintain a continuous view of operational data and state, can use
        the subscription model specified in <xref target="RFC8641" format="default" sectionFormat="of" derivedContent="RFC8641"/> to
        subscribe to the specific network performance data or VPN service
        performance data they are interested in, at the data source. For
        example, network or VPN topology updates may be obtained through
        on-change notifications <xref target="RFC8641" format="default" sectionFormat="of" derivedContent="RFC8641"/>. For dynamic PM data
        (e.g., VPN Routing and Forwarding (VRF) routes or Media Access Control (MAC) entries, link metrics, and interface metrics),
        various notifications can be specified to obtain more complete data. A
        periodic notification <xref target="RFC8641" format="default" sectionFormat="of" derivedContent="RFC8641"/> can be specified to
        obtain real-time performance data. For devices/controllers that
        maintain historical performance data for a period of time, a replay
        notification (see <xref target="RFC5277" format="default" sectionFormat="of" derivedContent="RFC5277"/> or <xref target="RFC8639" format="default" sectionFormat="of" derivedContent="RFC8639"/>) can
        be used to obtain the historical data. And alarm notifications <xref target="RFC8632" format="default" sectionFormat="of" derivedContent="RFC8632"/> can be specified to get alarms for the metrics
        that exceed or fall below the performance threshold.</t>
        <t indent="0" pn="section-3.1-2">The data source can then use the network and VPN service
        performance monitoring model defined in this document and the YANG-Push
        data model <xref target="RFC8641" format="default" sectionFormat="of" derivedContent="RFC8641"/> to distribute specific telemetry
        data to target recipients.</t>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-3.2">
        <name slugifiedName="name-collecting-data-on-demand">Collecting Data On Demand</name>
        <t indent="0" pn="section-3.2-1">To obtain a snapshot of performance data from a network topology or
        a VPN service topology, service-assurance applications may retrieve
        information using the network and VPN service PM model through a
        Network Configuration Protocol (NETCONF) <xref target="RFC6241" format="default" sectionFormat="of" derivedContent="RFC6241"/> or a RESTCONF <xref target="RFC8040" format="default" sectionFormat="of" derivedContent="RFC8040"/> interface. For example, a specified "link-id" of a
        VPN can be used as a filter in a RESTCONF GET request to retrieve
        per-link VPN PM data.</t>
      </section>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-4">
      <name slugifiedName="name-description-of-the-yang-dat">Description of the YANG Data Model</name>
      <t indent="0" pn="section-4-1">This document defines the "ietf-network-vpn-pm" YANG module, which
      is an augmentation to the "ietf-network" and "ietf-network-topology"
      YANG modules.</t>
      <section anchor="layering" numbered="true" toc="include" removeInRFC="false" pn="section-4.1">
        <name slugifiedName="name-layering-relationship-betwe">Layering Relationship between Multiple Layers of Topology</name>
        <t indent="0" pn="section-4.1-1"><xref target="RFC8345" format="default" sectionFormat="of" derivedContent="RFC8345"/> defines a YANG data model for
        network/service topologies and inventories. The service topology
        described in <xref target="RFC8345" format="default" sectionFormat="of" derivedContent="RFC8345"/> includes the abstract topology
        for a service layer above Layer 1 (L1), Layer 2 (L2), and Layer 3 (L3)
        underlay topologies. This service topology has the generic topology
        elements of node, link, and termination point. One typical example of
        a service topology is described in Figure 3 of <xref target="RFC8345" format="default" sectionFormat="of" derivedContent="RFC8345"/>: two VPN service topologies instantiated over a
        common L3 topology. Each VPN service topology is mapped onto a subset
        of nodes from the L3 topology.</t>
        <t indent="0" pn="section-4.1-2"><xref target="fig3" format="default" sectionFormat="of" derivedContent="Figure 2"/> illustrates an example of a topology
        hierarchy that maps between the VPN service topology and an underlying
        Layer 3 network topology.</t>
        <figure anchor="fig3" align="left" suppress-title="false" pn="figure-2">
          <name slugifiedName="name-example-of-topology-mapping">Example of Topology Mapping between VPN Service Topology and an Underlying Network</name>
          <artwork name="" type="" align="left" alt="" pn="section-4.1-3.1">                     VPN 1                       VPN 2
          +------------------------+   +------------------------+
         /                        /   /                        /
        / S1C_[VN3]..........    /   /                        /
       /         \          :   /   / S2A_[VN1]____[VN3]_S2B /
      /           \         :  /   /        *        *      /
     /             \        :............ * ....     *     /
    / S1B_[VN2]____[VN1]_S1A /   /       *     :     *    /
   +---------:-------:------+   +-------*------:-----*---+
             :        :      * * *  * *        :     *
             :         :   *                   :     *
   Site-1A   :  +-------:-*--------------------:-----*-----+ Site-1C
     [CE1]___:_/_______[N1]___________________[N2]___*____/__[CE3]
             :/       / / \             _____//      *   /
   [CE5]_____:_______/ /    \     _____/     /     *    /
 Site-2A    /:        /       \  /          /    *     /
           / :                [N5]         /   *      /
          /   :     /       __/ \__       /  *       /
         /     :   /    ___/       \__   / *        /
Site-1B /       : / ___/              \ /*         /  Site-2B
[CE2]__/________[N4]__________________[N3]________/____[CE4]
      /                                          /
     +------------------------------------------+
                                   L3 Topology

   Legend:
      N:   Node   
      VN:  VPN Node  
      S:   Site  
      CE:  Customer Edge
      __   Link within a network layer
      :    Mapping between VPN 1 service topology and L3 topology
      *    Mapping between VPN 2 service topology and L3 topology
</artwork>
        </figure>
        <t indent="0" pn="section-4.1-4">As shown in <xref target="fig3" format="default" sectionFormat="of" derivedContent="Figure 2"/>, two VPN services topologies are
        built on top of one underlying Layer 3 network:</t>
        <dl newline="false" spacing="normal" indent="3" pn="section-4.1-5">
          <dt pn="section-4.1-5.1">VPN 1:</dt>
          <dd pn="section-4.1-5.2">This service topology supports Hub-and-Spoke
            communications for "customer 1", connecting the customer's access
            at three sites: Site-1A, Site-1B, and Site-1C. These sites
            are connected to nodes that are mapped to node 1 (N1), node 2
            (N2), and node 4 (N4) in the underlying Layer 3 network. Site-1A
            plays the role of Hub while Site-1B and Site-1C are configured
            as Spokes.</dd>
          <dt pn="section-4.1-5.3">VPN 2: </dt>
          <dd pn="section-4.1-5.4">This service topology supports any-to-any
            communications for "customer 2", connecting the customer's access
            at two sites: Site-2A and Site-2B. These sites are connected
            to nodes that are mapped to node 1 (N1) and node 3 (N3) in the
            underlying Layer 3 network. Site-2A and Site-2B have an
            "any-to-any" role.</dd>
        </dl>
        <t indent="0" pn="section-4.1-6">Based on the association between VPN service topologies and
        underlying network topologies, the Network and VPN Service PM YANG module extends
        the performance status of the underlay networks and VPN services. For
        example, the module can provide link PM statistics and port statistics
        of an underlay network, e.g., Layer 1, Layer 2, Layer 3, and OSPF networks.
        It can also provide VPN PM statistics, which can be further split
        into PM for the VPN tunnel and PM at the VPN PE access node, as
        illustrated in the following diagram.</t>
        <figure anchor="fig4" align="left" suppress-title="false" pn="figure-3">
          <name slugifiedName="name-an-example-of-vpn-pm">An Example of VPN PM</name>
          <artwork name="" type="" align="left" alt="" pn="section-4.1-7.1">
       +-----------------------------------------------------+
       |                                                     |
       |                      VPN2 Link                      |
       |              |&lt;--------------------&gt;|               |
       |              |                      |               |
       |      VPN2+---+---+              +---+---+VPN2       |
       |       TP1| VN1   |  Tunnel PM   |  VN3  |TP2        |
       |       ---+ PE A  |==============|  PE B +----       |
       |vpn-access+-------+              +-------+ vpn-access|
       |-interface|                              | -interface|
       |          |##############################|           |
       |          |inter-vpn-access-interface PM |           |
       |                                                     |
       +-----------------------------------------------------+
       |                                                     |
       |                                                     |
+----+ |        TP+-----+ Link  +---+ Link  +-----+TP        | +----+
| CE4+-+----------+ N1  +-------+-N2+-------+  N3 +----------+-+CE5 |
+----+ |       1-1+-----+1-2 2-1+---+2-2 3-1+-----+3-2       | +----+
       |                                                     |
       |                                                     |
       +-----------------------------------------------------+

       Legend:
         N:  node   
         VN: VPN Node 
         TP: Termination Point 
         -:  Link</artwork>
        </figure>
        <t indent="0" pn="section-4.1-8"><xref target="fig4" format="default" sectionFormat="of" derivedContent="Figure 3"/> illustrates an example of VPN PM and two VPN
        PM measurement methods including the VPN tunnel PM and the
        inter-VPN-access interface PM. VPN PM can also provide statistics on
        VPN access interfaces, the number of current VRF routes, or L2VPN MAC
        entry of a VPN node.</t>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-4.2">
        <name slugifiedName="name-network-level-performance-m">Network-Level Performance Monitoring Augmentation</name>
        <t indent="0" pn="section-4.2-1">The module described below can be used for performance monitoring for both the
        underlay networks and the VPN services, which would be separate
        entries in the network list <xref target="RFC8345" format="default" sectionFormat="of" derivedContent="RFC8345"/>. The differences
        are as follows:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.2-2">
          <li pn="section-4.2-2.1">When the "service" presence container is absent,
            then it indicates performance monitoring of the network
            itself.</li>
          <li pn="section-4.2-2.2">When the "service" presence container is present,
            then it indicates performance monitoring of the VPN service
            specified by the "service-type" leaf, e.g., L3VPN or
            Virtual Private LAN Service (VPLS). The values are taken from
            <xref target="RFC9181" format="default" sectionFormat="of" derivedContent="RFC9181"/>. When a network topology instance
            contains the L3VPN or other L2VPN network types, it represents a
            VPN instance that can perform performance monitoring.</li>
        </ul>
        <t indent="0" pn="section-4.2-3">The YANG tree in <xref target="ntree" format="default" sectionFormat="of" derivedContent="Figure 4"/> is a part of
        the "ietf-network-vpn-pm" tree. It defines the following set of
        network-level attributes:</t>
        <dl newline="false" spacing="normal" indent="3" pn="section-4.2-4">
          <dt pn="section-4.2-4.1">"vpn-id":</dt>
          <dd pn="section-4.2-4.2">Refers to an identifier of VPN
            service defined in <xref target="RFC9181" format="default" sectionFormat="of" derivedContent="RFC9181"/>. This identifier is
            used to correlate the performance status with the network service
            configuration.</dd>
          <dt pn="section-4.2-4.3">"vpn-service-topology": </dt>
          <dd pn="section-4.2-4.4">Indicates the
            type of VPN service topology. This model supports
            "any-to-any", "hub-spoke" (where Hubs can exchange traffic),
            and "hub-spoke-disjoint" (where Hubs cannot exchange traffic), 
            which are taken from <xref target="RFC9181" format="default" sectionFormat="of" derivedContent="RFC9181"/>. These VPN service
            topology types can be used to describe how VPN sites communicate
            with each other.</dd>
        </dl>
        <figure anchor="ntree" align="left" suppress-title="false" pn="figure-4">
          <name slugifiedName="name-network-level-yang-tree">Network-Level YANG Tree</name>
          <sourcecode type="yangtree" markers="false" pn="section-4.2-5.1">
module: ietf-network-vpn-pm
  augment /nw:networks/nw:network/nw:network-types:
    +--rw service!
       +--rw service-type            identityref
       +--rw vpn-id?                 vpn-common:vpn-id
       +--rw vpn-service-topology?   identityref
</sourcecode>
        </figure>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-4.3">
        <name slugifiedName="name-node-level-performance-moni">Node-Level Performance Monitoring Augmentation</name>
        <t indent="0" pn="section-4.3-1">The YANG tree in <xref target="nodetree" format="default" sectionFormat="of" derivedContent="Figure 5"/> is the node part of the
        "ietf-network-vpn-pm" tree.</t>
        <t indent="0" pn="section-4.3-2">For network performance monitoring, the module defines the
        following attributes:</t>
        <dl newline="false" spacing="normal" indent="3" pn="section-4.3-3">
          <dt pn="section-4.3-3.1">"node-type": </dt>
          <dd pn="section-4.3-3.2">Indicates the device type of the PE, P device, or Autonomous System
            Border Router (ASBR) as defined in <xref target="RFC4026" format="default" sectionFormat="of" derivedContent="RFC4026"/> and
            <xref target="RFC4364" format="default" sectionFormat="of" derivedContent="RFC4364"/> so that the performance metric between
            any two nodes that each have a specific node type can be reported.</dd>
          <dt pn="section-4.3-3.3">"entry-summary": </dt>
          <dd pn="section-4.3-3.4">Lists a set of IPv4
            statistics, IPv6 statistics, and MAC statistics. The detailed
            statistics are specified separately.</dd>
        </dl>
        <t indent="0" pn="section-4.3-4">For VPN service topology, the module defines one attribute:</t>
        <dl newline="false" spacing="normal" indent="3" pn="section-4.3-5">
          <dt pn="section-4.3-5.1">"role":</dt>
          <dd pn="section-4.3-5.2">Defines the role in a particular
            VPN service topology. The roles are taken from <xref target="RFC9181" format="default" sectionFormat="of" derivedContent="RFC9181"/> (e.g., "any-to-any-role", "spoke-role", and
            "hub-role").</dd>
        </dl>
        <figure anchor="nodetree" align="left" suppress-title="false" pn="figure-5">
          <name slugifiedName="name-node-level-yang-tree">Node-Level YANG Tree</name>
          <sourcecode type="yangtree" markers="false" pn="section-4.3-6.1">
  augment /nw:networks/nw:network/nw:node:
    +--rw node-type?       identityref
    +--ro entry-summary
       +--ro ipv4-num
       |  +--ro maximum-routes?        uint32
       |  +--ro total-active-routes?   uint32
       +--ro ipv6-num
       |  +--ro maximum-routes?        uint32
       |  +--ro total-active-routes?   uint32
       +--ro mac-num
          +--ro maximum-mac-entries?        uint32
          +--ro total-active-mac-entries?   uint32
  augment /nw:networks/nw:network/nw:node:
    +--rw role?   identityref
</sourcecode>
        </figure>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-4.4">
        <name slugifiedName="name-performance-monitoring-augm">Performance Monitoring Augmentation at Link and Termination Point Level</name>
        <t indent="0" pn="section-4.4-1">The YANG tree in <xref target="ltree" format="default" sectionFormat="of" derivedContent="Figure 6"/> is the link and termination
        point (TP) part of the "ietf-network-vpn-pm" tree.</t>
        <t indent="0" pn="section-4.4-2">The "links" are classified into two types: topology link (defined in
        <xref target="RFC8345" format="default" sectionFormat="of" derivedContent="RFC8345"/>) and abstract link of a VPN between PEs (defined in this module).</t>
        <t indent="0" pn="section-4.4-3">The performance data of a link is a collection of counters and
        gauges that report the performance status. All these metrics are
        defined as unidirectional metrics.</t>
        <figure anchor="ltree" align="left" suppress-title="false" pn="figure-6">
          <name slugifiedName="name-link-and-termination-point-">Link and Termination Point YANG Subtree </name>
          <sourcecode type="yangtree" markers="false" pn="section-4.4-4.1">
  augment /nw:networks/nw:network/nt:link:
    +--rw perf-mon
       +--rw low-percentile?            percentile
       +--rw intermediate-percentile?   percentile
       +--rw high-percentile?           percentile
       +--rw measurement-interval?      uint32
       +--ro pm* [pm-type]
       |  +--ro pm-type          identityref
       |  +--ro pm-attributes
       |     +--ro start-time?                     yang:date-and-time
       |     +--ro end-time?                       yang:date-and-time
       |     +--ro pm-source?                      identityref
       |     +--ro one-way-pm-statistics
       |     |  +--ro loss-statistics
       |     |  |  +--ro packet-loss-count?   yang:counter64
       |     |  |  +--ro loss-ratio?          percentage
       |     |  +--ro delay-statistics
       |     |  |  +--ro unit-value?                     identityref
       |     |  |  +--ro min-delay-value?                yang:gauge64
       |     |  |  +--ro max-delay-value?                yang:gauge64
       |     |  |  +--ro low-delay-percentile?           yang:gauge64
       |     |  |  +--ro intermediate-delay-percentile?  yang:gauge64
       |     |  |  +--ro high-delay-percentile?          yang:gauge64
       |     |  +--ro jitter-statistics
       |     |     +--ro unit-value?                     identityref
       |     |     +--ro min-jitter-value?               yang:gauge64
       |     |     +--ro max-jitter-value?               yang:gauge64
       |     |     +--ro low-jitter-percentile?          yang:gauge64
       |     |     +--ro intermediate-jitter-percentile? yang:gauge64
       |     |     +--ro high-jitter-percentile?         yang:gauge64
       |     +--ro one-way-pm-statistics-per-class* [class-id]
       |        +--ro class-id             string
       |        +--ro loss-statistics
       |        |  +--ro packet-loss-count?   yang:counter64
       |        |  +--ro loss-ratio?          percentage
       |        +--ro delay-statistics
       |        |  +--ro unit-value?                     identityref
       |        |  +--ro min-delay-value?                yang:gauge64
       |        |  +--ro max-delay-value?                yang:gauge64
       |        |  +--ro low-delay-percentile?           yang:gauge64
       |        |  +--ro intermediate-delay-percentile?  yang:gauge64
       |        |  +--ro high-delay-percentile?          yang:gauge64
       |        +--ro jitter-statistics
       |           +--ro unit-value?                     identityref
       |           +--ro min-jitter-value?               yang:gauge64
       |           +--ro max-jitter-value?               yang:gauge64
       |           +--ro low-jitter-percentile?          yang:gauge64
       |           +--ro intermediate-jitter-percentile? yang:gauge64
       |           +--ro high-jitter-percentile?         yang:gauge64
       +--rw vpn-pm-type
          +--rw inter-vpn-access-interface
          |  +--rw inter-vpn-access-interface?   empty
          +--rw vpn-tunnel!
             +--ro vpn-tunnel-type?   identityref
  augment /nw:networks/nw:network/nw:node/nt:termination-point:
    +--ro pm-statistics
       +--ro last-updated?               yang:date-and-time
       +--ro inbound-octets?             yang:counter64
       +--ro inbound-unicast?            yang:counter64
       +--ro inbound-broadcast?          yang:counter64
       +--ro inbound-multicast?          yang:counter64
       +--ro inbound-discards?           yang:counter64
       +--ro inbound-errors?             yang:counter64
       +--ro inbound-unknown-protocol?   yang:counter64
       +--ro outbound-octets?            yang:counter64
       +--ro outbound-unicast?           yang:counter64
       +--ro outbound-broadcast?         yang:counter64
       +--ro outbound-multicast?         yang:counter64
       +--ro outbound-discards?          yang:counter64
       +--ro outbound-errors?            yang:counter64
       +--ro vpn-network-access* [network-access-id]
          +--ro network-access-id           vpn-common:vpn-id
          +--ro last-updated?               yang:date-and-time
          +--ro inbound-octets?             yang:counter64
          +--ro inbound-unicast?            yang:counter64
          +--ro inbound-broadcast?          yang:counter64
          +--ro inbound-multicast?          yang:counter64
          +--ro inbound-discards?           yang:counter64
          +--ro inbound-errors?             yang:counter64
          +--ro inbound-unknown-protocol?   yang:counter64
          +--ro outbound-octets?            yang:counter64
          +--ro outbound-unicast?           yang:counter64
          +--ro outbound-broadcast?         yang:counter64
          +--ro outbound-multicast?         yang:counter64
          +--ro outbound-discards?          yang:counter64
          +--ro outbound-errors?            yang:counter64
</sourcecode>
        </figure>
        <t indent="0" pn="section-4.4-5">For the data nodes of "link" depicted in <xref target="ltree" format="default" sectionFormat="of" derivedContent="Figure 6"/>,
        the YANG module defines the following minimal set of link-level
        performance attributes:</t>
        <dl newline="false" spacing="normal" indent="3" pn="section-4.4-6">
          <dt pn="section-4.4-6.1">Percentile parameters: </dt>
          <dd pn="section-4.4-6.2">The module supports
            reporting delay and jitter metrics with percentile values. There are
            three percentile values for configuring various percentile
            reporting levels. By default, low percentile (10th percentile),
            intermediate percentile (50th percentile), and high percentile (90th
            percentile) are used. Configuring a percentile to 0.000 indicates
            the client is not interested in receiving a particular percentile.
            If all percentile nodes are configured to 0.000, it represents
            that no percentile-related nodes will be reported for a given
            performance metric (e.g., one-way delay and one-way delay variation)
            and only peak/min values will be reported. For example, a client
            can inform the server that it is interested in receiving only high
            percentiles. Then for a given link at a given "start-time",
            "end-time", and "measurement-interval", the
            "high-delay-percentile" and "high-jitter-percentile" will be
            reported. An example to illustrate the use of percentiles is
            provided in <xref target="perc" format="default" sectionFormat="of" derivedContent="Appendix A.3"/>.</dd>
          <dt pn="section-4.4-6.3">Measurement interval ("measurement-interval"): </dt>
          <dd pn="section-4.4-6.4">Specifies
            the performance measurement interval, in seconds.</dd>
          <dt pn="section-4.4-6.5">Start time ("start-time"): </dt>
          <dd pn="section-4.4-6.6">Indicates the
            start time of the performance measurement for link statistics.</dd>
          <dt pn="section-4.4-6.7">End time ("end-time"): </dt>
          <dd pn="section-4.4-6.8">Indicates the end
            time of the performance measurement for link statistics.</dd>
          <dt pn="section-4.4-6.9">PM source ("pm-source"): </dt>
          <dd pn="section-4.4-6.10">Indicates the
            performance monitoring source. The data for the topology link can
            be based, e.g., on BGP - Link State (BGP-LS) <xref target="RFC8571" format="default" sectionFormat="of" derivedContent="RFC8571"/>. The statistics
            of the VPN abstract links can be collected based upon VPN OAM
            mechanisms, e.g., OAM mechanisms referenced in <xref target="RFC9182" format="default" sectionFormat="of" derivedContent="RFC9182"/> or Ethernet service OAM <xref target="ITU-T-Y-1731" format="default" sectionFormat="of" derivedContent="ITU-T-Y-1731"/> referenced in <xref target="RFC9291" format="default" sectionFormat="of" derivedContent="RFC9291"/>.
            Alternatively, the data can be based upon the underlay technology
            OAM mechanisms, e.g., Generic Routing Encapsulation (GRE)
            tunnel OAM.</dd>
          <dt pn="section-4.4-6.11">Loss statistics: </dt>
          <dd pn="section-4.4-6.12">A set of one-way loss statistics
            attributes that are used to measure end-to-end loss between VPN
            sites or between any two network nodes. The exact loss value or
            the loss percentage can be reported.</dd>
          <dt pn="section-4.4-6.13">Delay statistics: </dt>
          <dd pn="section-4.4-6.14">A set of one-way delay statistics
            attributes that are used to measure end-to-end latency between VPN
            sites or between any two network nodes. The peak/min values or
            percentile values can be reported.</dd>
          <dt pn="section-4.4-6.15">Jitter statistics: </dt>
          <dd pn="section-4.4-6.16">A set of one-way IP Packet Delay
            Variation <xref target="RFC3393" format="default" sectionFormat="of" derivedContent="RFC3393"/> statistics attributes that are
            used to measure end-to-end jitter between VPN sites or between any
            two network nodes. The peak/min values or percentile values can be
            reported.</dd>
          <dt pn="section-4.4-6.17">PM statistics per class: </dt>
          <dd pn="section-4.4-6.18">"one-way-pm-statistics-per-class"
            lists performance measurement statistics for the topology link or
            the abstract link between VPN PEs with given "class-id" names. The
            list is defined separately from "one-way-pm-statistics", which is
            used to collect generic metrics for unspecified "class-id"
            names.</dd>
          <dt pn="section-4.4-6.19">VPN PM type ("vpn-pm-type"): </dt>
          <dd pn="section-4.4-6.20">Indicates
            the VPN performance type, which can be
            "inter-vpn-access-interface" PM or
            "vpn-tunnel" PM. These two methods are common VPN
            measurement methods. The "inter-VPN-access-interface"
            PM is used to monitor the performance of logical point-to-point VPN
            connections between source and destination VPN access
            interfaces. And the "vpn-tunnel" PM is used to monitor the
            performance of VPN tunnels. The
            "inter-VPN-access-interface" PM includes PE-PE
            monitoring. Therefore, usually only one of the two methods is
            used. The "inter-VPN-access-interface" PM is defined
            as an empty leaf, which is not bound to a specific VPN access
            interface. The source or destination VPN access interface of the
            measurement can be augmented as needed.</dd>
          <dt pn="section-4.4-6.21">VPN tunnel type ("vpn-tunnel-type"): </dt>
          <dd pn="section-4.4-6.22">Indicates
            the abstract link protocol-type of a VPN, such as GRE or IP-in-IP.
            The leaf refers to an identifier of the "underlay-transport"
            defined in <xref target="RFC9181" format="default" sectionFormat="of" derivedContent="RFC9181"/>, which describes the transport
            technology that carries the traffic of the VPN service. In the case of
            multiple types of tunnels between a single pair of VPN nodes, a
            separate link for each type of tunnel can be created.</dd>
        </dl>
        <t indent="0" pn="section-4.4-7">For the data nodes of "termination-point" depicted in <xref target="ltree" format="default" sectionFormat="of" derivedContent="Figure 6"/>, the module defines the following minimal set of
        statistics: </t>
        <dl newline="false" spacing="normal" indent="3" pn="section-4.4-8">
          <dt pn="section-4.4-8.1">Last updated time ("last-updated"): </dt>
          <dd pn="section-4.4-8.2">Indicates
            the date and time when the counters were last updated.</dd>
          <dt pn="section-4.4-8.3">Inbound statistics: </dt>
          <dd pn="section-4.4-8.4">A set of inbound statistics
            attributes that are used to measure the inbound statistics of the
            termination point, such as received packets, received packets with
            errors, etc.</dd>
          <dt pn="section-4.4-8.5">Outbound statistics: </dt>
          <dd pn="section-4.4-8.6">A set of outbound statistics
            attributes that are used to measure the outbound statistics of the
            termination point, such as sent packets, packets that could not be
            sent due to errors, etc.</dd>
          <dt pn="section-4.4-8.7">VPN network access ("vpn-network-access"): </dt>
          <dd pn="section-4.4-8.8">Lists
            counters of the VPN network access defined in the L3NM <xref target="RFC9182" format="default" sectionFormat="of" derivedContent="RFC9182"/> or the L2NM <xref target="RFC9291" format="default" sectionFormat="of" derivedContent="RFC9291"/>. When
            multiple VPN network accesses are created using the same physical
            port, finer-grained metrics can be monitored. If a TP is
            associated with only a single VPN, this list is not required.</dd>
        </dl>
      </section>
    </section>
    <section numbered="true" toc="include" anchor="YANG_Module" removeInRFC="false" pn="section-5">
      <name slugifiedName="name-network-and-vpn-service-perf">Network and VPN Service Performance Monitoring YANG Module</name>
      <t indent="0" pn="section-5-1">The "ietf-network-vpn-pm" YANG module uses types defined in <xref target="RFC6991" format="default" sectionFormat="of" derivedContent="RFC6991"/>, <xref target="RFC8345" format="default" sectionFormat="of" derivedContent="RFC8345"/>, <xref target="RFC8532" format="default" sectionFormat="of" derivedContent="RFC8532"/>,
      and <xref target="RFC9181" format="default" sectionFormat="of" derivedContent="RFC9181"/>.
</t>
      <sourcecode name="ietf-network-vpn-pm@2023-03-20.yang" type="yang" markers="true" pn="section-5-2">
module ietf-network-vpn-pm {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-network-vpn-pm";
  prefix nvp;

  import ietf-yang-types {
    prefix yang;
    reference
      "RFC 6991: Common YANG Data Types";
  }
  import ietf-vpn-common {
    prefix vpn-common;
    reference
      "RFC 9181: A Common YANG Data Model for Layer 2 and
           Layer 3 VPNs";
  }
  import ietf-network {
    prefix nw;
    reference
      "RFC 8345: A YANG Data Model for Network
           Topologies, Section 6.1";
  }
  import ietf-network-topology {
    prefix nt;
    reference
      "RFC 8345: A YANG Data Model for Network
           Topologies, Section 6.2";
  }
  import ietf-lime-time-types {
    prefix lime;
    reference
      "RFC 8532: Generic YANG Data Model for the Management of
           Operations, Administration, and Maintenance (OAM)
           Protocols That Use Connectionless Communications";
  }

  organization
    "IETF OPSAWG (Operations and Management Area Working Group)";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/opsawg/&gt;
     WG List:  &lt;mailto:opsawg@ietf.org&gt;

     Editor: Bo Wu
          &lt;lana.wubo@huawei.com&gt;

     Editor: Mohamed Boucadair
          &lt;mohamed.boucadair@orange.com&gt;

     Editor: Qin Wu
          &lt;bill.wu@huawei.com&gt;

     Author: Oscar Gonzalez de Dios
          &lt;oscar.gonzalezdedios@telefonica.com&gt;

     Author: Bin Wen
          &lt;bin_wen@comcast.com&gt;";
  description
    "This YANG module defines a model for network and VPN service
     performance monitoring (PM).

     Copyright (c) 2023 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Revised BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 9375
     (https://www.rfc-editor.org/info/rfc9375); see the RFC itself
     for full legal notices.";

  revision 2023-03-20 {
    description
      "Initial revision.";
    reference
      "RFC 9375: A YANG Data Model for Network and VPN Service
           Performance Monitoring";
  }

  identity node-type {
    description
      "Base identity for node type";
  }

  identity pe {
    base node-type;
    description
      "Provider Edge (PE) node type.  A PE is the device or set
       of devices at the edge of the provider network with the
       functionality that is needed to interface with the
       customer.";
  }

  identity p {
    base node-type;
    description
      "Provider router node type.  That is, a router
       in the core network that does not have interfaces
       directly toward a customer.";
  }

  identity asbr {
    base node-type;
    description
      "Autonomous System Border Router (ASBR) node type.";
    reference
      "RFC 4364: BGP/MPLS IP Virtual Private Networks (VPNs)";
  }

  identity pm-source-type {
    description
      "Base identity from which specific performance monitoring
       mechanism types are derived.";
  }

  identity pm-source-bgpls {
    base pm-source-type;
    description
      "Indicates BGP-LS as the performance monitoring metric
       source.";
    reference
      "RFC 8571: BGP - Link State (BGP-LS) Advertisement of
           IGP Traffic Engineering Performance Metric
           Extensions";
  }

  identity pm-source-owamp {
    base pm-source-type;
    description
      "Indicates the One-Way Active Measurement Protocol (OWAMP)
       as the performance monitoring metric source.";
    reference
      "RFC 4656: A One-way Active Measurement Protocol (OWAMP)";
  }

  identity pm-source-twamp {
    base pm-source-type;
    description
      "Indicates the Two-Way Active Measurement Protocol (TWAMP)
       as the performance monitoring metric source.";
    reference
      "RFC 5357: A Two-Way Active Measurement Protocol (TWAMP)";
  }

  identity pm-source-stamp {
    base pm-source-type;
    description
      "Indicates the Simple Two-way Active Measurement Protocol
       (STAMP) as the performance monitoring metric source.";
    reference
      "RFC 8762: Simple Two-Way Active Measurement Protocol";
  }

  identity pm-source-y-1731 {
    base pm-source-type;
    description
      "Indicates Ethernet OAM Y.1731 as the performance monitoring
       metric source.";
    reference
      "ITU-T Y.1731: Operations, administration and
             maintenance (OAM) functions and mechanisms
             for Ethernet-based networks";
  }

  identity pm-source-ioam {
    base pm-source-type;
    description
      "Indicates In Situ Operations, Administration, and Maintenance
       (IOAM) as the performance monitoring metric source.";
    reference
      "RFC 9197: Data Fields for In Situ Operations, Administration,
           and Maintenance (IOAM)";
  }

  identity pm-type {
    description
      "Base identity for the PM type.";
  }

  identity pm-type-network-link {
    base pm-type;
    description
      "Indicates that the PM type is for the link in
       the network topology.";
  }

  identity pm-type-vpn-inter-access {
    base pm-type;
    description
      "Indicates that the PM type is for logical point-to-point VPN
       connections between source and destination VPN access
       interfaces.";
  }

  identity pm-type-vpn-tunnel {
    base pm-type;
    description
      "Indicates that the PM type is for VPN tunnels.";
  }

  typedef percentage {
    type decimal64 {
      fraction-digits 5;
      range "0..100";
    }
    description
      "Percentage to 5 decimal places.";
  }

  typedef percentile {
    type decimal64 {
      fraction-digits 3;
      range "0..100";
    }
    description
      "The percentile is a value between 0 and 100 to 3
       decimal places, e.g., 10.000, 99.900, and 99.990.
       For example, for a given one-way delay measurement,
       if the percentile is set to 95.000 and the 95th percentile
       one-way delay is 2 milliseconds, then the 95 percent of
       the sample value is less than or equal to 2 milliseconds.";
  }

  grouping entry-summary {
    description
      "Entry summary grouping used for network topology
       augmentation.";
    container entry-summary {
      config false;
      description
        "Container for VPN or network entry summary.";
      container ipv4-num {
        leaf maximum-routes {
          type uint32;
          description
            "Indicates the maximum number of IPv4 routes
             for the VPN or network.";
        }
        leaf total-active-routes {
          type uint32;
          description
            "Indicates total active IPv4 routes
             for the VPN or network.";
        }
        description
          "IPv4-specific parameters.";
      }
      container ipv6-num {
        leaf maximum-routes {
          type uint32;
          description
            "Indicates the maximum number of IPv6 routes
             for the VPN or network.";
        }
        leaf total-active-routes {
          type uint32;
          description
            "Indicates total active IPv6 routes
             for the VPN or network.";
        }
        description
          "IPv6-specific parameters.";
      }
      container mac-num {
        leaf maximum-mac-entries {
          type uint32;
          description
            "Indicates the maximum number of MAC entries
             for the VPN or network.";
        }
        leaf total-active-mac-entries {
          type uint32;
          description
            "Indicates the total active MAC entries
             for the VPN or network.";
        }
        description
          "MAC statistics.";
      }
    }
  }

  grouping link-loss-statistics {
    description
      "Grouping for per-link error statistics.";
    container loss-statistics {
      description
        "One-way link loss summarized information.";
      reference
        "RFC 4656: A One-way Active Measurement Protocol (OWAMP)
         ITU-T Y.1731: Operations, administration and
               maintenance (OAM) functions and mechanisms
               for Ethernet-based networks";
      leaf packet-loss-count {
        type yang:counter64;
        description
          "Total number of lost packets.";
      }
      leaf loss-ratio {
        type percentage;
        description
          "Loss ratio of the packets.  Expressed as percentage
           of packets lost with respect to packets sent.";
      }
    }
  }

  grouping link-delay-statistics {
    description
      "Grouping for per-link delay statistics.";
    container delay-statistics {
      description
        "One-way link delay summarized information.";
      reference
        "RFC 4656: A One-way Active Measurement Protocol (OWAMP)
         ITU-T Y.1731: Operations, administration and
               maintenance (OAM) functions and mechanisms
               for Ethernet-based networks";
      leaf unit-value {
        type identityref {
          base lime:time-unit-type;
        }
        default "lime:milliseconds";
        description
          "Time units, where the options are hours, minutes, seconds,
           milliseconds, microseconds, and nanoseconds.";
      }
      leaf min-delay-value {
        type yang:gauge64;
        description
          "Minimum observed one-way delay.";
      }
      leaf max-delay-value {
        type yang:gauge64;
        description
          "Maximum observed one-way delay.";
      }
      leaf low-delay-percentile {
        type yang:gauge64;
        description
          "Low percentile of observed one-way delay with
           specific measurement method.";
      }
      leaf intermediate-delay-percentile {
        type yang:gauge64;
        description
          "Intermediate percentile of observed one-way delay with
           specific measurement method.";
      }
      leaf high-delay-percentile {
        type yang:gauge64;
        description
          "High percentile of observed one-way delay with
           specific measurement method.";
      }
    }
  }

  grouping link-jitter-statistics {
    description
      "Grouping for per-link jitter statistics.";
    container jitter-statistics {
      description
        "One-way link jitter summarized information.";
      reference
        "RFC 3393: IP Packet Delay Variation Metric
             for IP Performance Metrics (IPPM)
         RFC 4656: A One-way Active Measurement Protocol (OWAMP)
         ITU-T Y.1731: Operations, administration and
               maintenance (OAM) functions and mechanisms
               for Ethernet-based networks";
      leaf unit-value {
        type identityref {
          base lime:time-unit-type;
        }
        default "lime:milliseconds";
        description
          "Time units, where the options are hours, minutes, seconds,
           milliseconds, microseconds, and nanoseconds.";
      }
      leaf min-jitter-value {
        type yang:gauge64;
        description
          "Minimum observed one-way jitter.";
      }
      leaf max-jitter-value {
        type yang:gauge64;
        description
          "Maximum observed one-way jitter.";
      }
      leaf low-jitter-percentile {
        type yang:gauge64;
        description
          "Low percentile of observed one-way jitter.";
      }
      leaf intermediate-jitter-percentile {
        type yang:gauge64;
        description
          "Intermediate percentile of observed one-way jitter.";
      }
      leaf high-jitter-percentile {
        type yang:gauge64;
        description
          "High percentile of observed one-way jitter.";
      }
    }
  }

  grouping tp-svc-telemetry {
    leaf last-updated {
      type yang:date-and-time;
      config false;
      description
        "Indicates the date and time when the counters were
         last updated.";
    }
    leaf inbound-octets {
      type yang:counter64;
      description
        "The total number of octets received on the
         interface, including framing characters.";
    }
    leaf inbound-unicast {
      type yang:counter64;
      description
        "The total number of inbound unicast packets.";
    }
    leaf inbound-broadcast {
      type yang:counter64;
      description
        "The total number of inbound broadcast packets.";
    }
    leaf inbound-multicast {
      type yang:counter64;
      description
        "The total number of inbound multicast packets.";
    }
    leaf inbound-discards {
      type yang:counter64;
      description
        "The number of inbound packets that were discarded
         even though no errors had been detected.  Possible
         reasons for discarding such a packet could be to
         free up buffer space, not enough buffer for too
         much data, etc.";
    }
    leaf inbound-errors {
      type yang:counter64;
      description
        "The number of inbound packets that contained errors.";
    }
    leaf inbound-unknown-protocol {
      type yang:counter64;
      description
        "The number of packets received via the interface
         that were discarded because of an unknown or
         unsupported protocol.";
    }
    leaf outbound-octets {
      type yang:counter64;
      description
        "The total number of octets transmitted out of the
         interface, including framing characters.";
    }
    leaf outbound-unicast {
      type yang:counter64;
      description
        "The total number of outbound unicast packets.";
    }
    leaf outbound-broadcast {
      type yang:counter64;
      description
        "The total number of outbound broadcast packets.";
    }
    leaf outbound-multicast {
      type yang:counter64;
      description
        "The total number of outbound multicast packets.";
    }
    leaf outbound-discards {
      type yang:counter64;
      description
        "The number of outbound packets that were discarded
         even though no errors had been detected to
         prevent their transmission.  Possible reasons
         for discarding such a packet could be to free
         up buffer space, not enough buffer for too
         much data, etc.";
    }
    leaf outbound-errors {
      type yang:counter64;
      description
        "The number of outbound packets that contained errors.";
    }
    description
      "Grouping for interface service telemetry.";
  }

  augment "/nw:networks/nw:network/nw:network-types" {
    description
      "Defines the service topologies types.";
    container service {
      presence "Presence of the container indicates performance
                monitoring of the VPN service, and absence of
                the container indicates performance monitoring
                of the network itself.";
      description
        "Container for VPN service.";
      leaf service-type {
        type identityref {
          base vpn-common:service-type;
        }
        mandatory true;
        description
          "This indicates the network service type,
           e.g., L3VPN and VPLS.";
      }
      leaf vpn-id {
        type vpn-common:vpn-id;
        description
          "VPN identifier.";
      }
      leaf vpn-service-topology {
        type identityref {
          base vpn-common:vpn-topology;
        }
        description
          "VPN service topology, e.g., hub-spoke, any-to-any,
           and hub-spoke-disjoint.";
      }
    }
  }

  augment "/nw:networks/nw:network/nw:node" {
    description
      "Augments the network node with other general attributes.";
    leaf node-type {
      type identityref {
        base node-type;
      }
      description
        "Node type, e.g., PE, P, and ASBR.";
    }
    uses entry-summary;
  }

  augment "/nw:networks/nw:network/nw:node" {
    when '../nw:network-types/nvp:service' {
      description
        "Augments for VPN service PM.";
    }
    description
      "Augments the network node with VPN service attributes.";
    leaf role {
      type identityref {
        base vpn-common:role;
      }
      default "vpn-common:any-to-any-role";
      description
        "Role of the node in the VPN service topology.";
    }
  }

  augment "/nw:networks/nw:network/nt:link" {
    description
      "Augments the network topology link with performance
       monitoring attributes.";
    container perf-mon {
      description
        "Container for PM attributes.";
      leaf low-percentile {
        type percentile;
        default "10.000";
        description
          "Low percentile to report.  Setting low-percentile
           to 0.000 indicates the client is not interested
           in receiving low percentile.";
      }
      leaf intermediate-percentile {
        type percentile;
        default "50.000";
        description
          "Intermediate percentile to report.  Setting
           intermediate-percentile to 0.000 indicates the client
           is not interested in receiving intermediate percentile.";
      }
      leaf high-percentile {
        type percentile;
        default "95.000";
        description
          "High percentile to report.  Setting high-percentile
           to 0.000 indicates the client is not interested in
           receiving high percentile.";
      }
      leaf measurement-interval {
        type uint32 {
          range "1..max";
        }
        units "seconds";
        default "60";
        description
          "Indicates the time interval to perform PM
           measurement over.";
      }
      list pm {
        key "pm-type";
        config false;
        description
          "The list of PM based on PM type.";
        leaf pm-type {
          type identityref {
            base pm-type;
          }
          config false;
          description
            "The PM type of the measured PM attributes.";
        }
        container pm-attributes {
          description
            "Container for PM attributes.";
          leaf start-time {
            type yang:date-and-time;
            config false;
            description
              "The date and time the measurement last started.";
          }
          leaf end-time {
            type yang:date-and-time;
            config false;
            description
              "The date and time the measurement last ended.";
          }
          leaf pm-source {
            type identityref {
              base pm-source-type;
            }
            config false;
            description
              "The OAM tool used to collect the PM data.";
          }
          container one-way-pm-statistics {
            config false;
            description
              "Container for link telemetry attributes.";
            uses link-loss-statistics;
            uses link-delay-statistics;
            uses link-jitter-statistics;
          }
          list one-way-pm-statistics-per-class {
            key "class-id";
            config false;
            description
              "The list of PM data based on class of service.";
            leaf class-id {
              type string;
              description
                "The class-id is used to identify the class
                 of service.  This identifier is internal
                 to the administration.";
            }
            uses link-loss-statistics;
            uses link-delay-statistics;
            uses link-jitter-statistics;
          }
        }
      }
    }
  }

  augment "/nw:networks/nw:network/nt:link/perf-mon" {
    when '../../nw:network-types/nvp:service' {
      description
        "Augments for VPN service PM.";
    }
    description
      "Augments the network topology link with VPN service
       performance monitoring attributes.";
    container vpn-pm-type {
      description
        "The VPN PM type of this logical point-to-point
         unidirectional VPN link.";
      container inter-vpn-access-interface {
        description
          "Indicates inter-vpn-access-interface PM, which is used
           to monitor the performance of logical point-to-point
           VPN connections between source and destination VPN
           access interfaces.";
        leaf inter-vpn-access-interface {
          type empty;
          description
            "This is a placeholder for inter-vpn-access-interface PM,
             which is not bound to a specific VPN access interface.
             The source or destination VPN access interface
             of the measurement can be augmented as needed.";
        }
      }
      container vpn-tunnel {
        presence "Enables VPN tunnel PM";
        description
          "Indicates VPN tunnel PM, which is used to monitor
           the performance of VPN tunnels.";
        leaf vpn-tunnel-type {
          type identityref {
            base vpn-common:protocol-type;
          }
          config false;
          description
            "The leaf indicates the VPN tunnel type, e.g.,
             Generic Routing Encapsulation (GRE) and Generic
             Network Virtualization Encapsulation (Geneve).";
        }
      }
    }
  }

  augment "/nw:networks/nw:network/nw:node/nt:termination-point" {
    description
      "Augments the network topology termination point with
       performance monitoring attributes.";
    container pm-statistics {
      config false;
      description
        "Container for termination point PM attributes.";
      uses tp-svc-telemetry;
    }
  }

  augment "/nw:networks/nw:network/nw:node"
        + "/nt:termination-point/pm-statistics" {
    when '../../../nw:network-types/nvp:service' {
      description
        "Augments for VPN service PM.";
    }
    description
      "Augments the network topology termination-point with
       VPN service performance monitoring attributes.";
    list vpn-network-access {
      key "network-access-id";
      description
        "The list of PM based on VPN network accesses.";
      leaf network-access-id {
        type vpn-common:vpn-id;
        description
          "The reference to an identifier for the VPN network
           access.";
      }
      uses tp-svc-telemetry;
    }
  }
}
</sourcecode>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-6">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-6-1">The YANG module specified in this document defines a schema for data
      that is designed to be accessed via network management protocols such as
      NETCONF <xref target="RFC6241" format="default" sectionFormat="of" derivedContent="RFC6241"/> or RESTCONF <xref target="RFC8040" format="default" sectionFormat="of" derivedContent="RFC8040"/>.
      The lowest NETCONF layer is the secure transport layer, and the
      mandatory-to-implement secure transport is Secure Shell (SSH) <xref target="RFC6242" format="default" sectionFormat="of" derivedContent="RFC6242"/>. The lowest RESTCONF layer is HTTPS, and the
      mandatory-to-implement secure transport is TLS <xref target="RFC8446" format="default" sectionFormat="of" derivedContent="RFC8446"/>.</t>
      <t indent="0" pn="section-6-2">The Network Configuration Access Control Model (NACM) <xref target="RFC8341" format="default" sectionFormat="of" derivedContent="RFC8341"/> provides the means to restrict access for particular
      NETCONF or RESTCONF users to a preconfigured subset of all available
      NETCONF or RESTCONF protocol operations and content.</t>
      <t indent="0" pn="section-6-3">There are a number of data nodes defined in this YANG module that are
      writable/creatable/deletable (i.e., config true, which is the default).
      These data nodes may be considered sensitive or vulnerable in some
      network environments. Write operations (e.g., edit-config) to these data
      nodes without proper protection can have a negative effect on network
      operations.
      These write operations can lead to inaccurate or incomplete
      network measurements that can impact the visibility and decisions this
      data would be used to inform. Unauthorized write access to the following
      subtrees could have the following impacts:</t>
      <table align="center" pn="table-1">
        <name slugifiedName="name-write-operation-sensitivity">Write Operation Sensitivity Impact</name>
        <thead>
          <tr>
            <th align="left" colspan="1" rowspan="1">Access</th>
            <th align="left" colspan="1" rowspan="1">Node</th>
            <th align="left" colspan="1" rowspan="1">Potential Impact</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th colspan="3" align="left" rowspan="1">/nw:networks/nw:network/nw:network-types</th>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">write</td>
            <td align="left" colspan="1" rowspan="1">service type</td>
            <td align="left" colspan="1" rowspan="1">disable VPN PM</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">write</td>
            <td align="left" colspan="1" rowspan="1">VPN identifier</td>
            <td align="left" colspan="1" rowspan="1">disable VPN PM</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">write</td>
            <td align="left" colspan="1" rowspan="1">VPN service topology</td>
            <td align="left" colspan="1" rowspan="1">render data unusable</td>
          </tr>
          <tr>
            <th colspan="3" align="left" rowspan="1">/nw:networks/nw:network/nw:node</th>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">write</td>
            <td align="left" colspan="1" rowspan="1">node type</td>
            <td align="left" colspan="1" rowspan="1">render data unusable</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">write</td>
            <td align="left" colspan="1" rowspan="1">VPN topology role</td>
            <td align="left" colspan="1" rowspan="1">render data unusable</td>
          </tr>
          <tr>
            <th colspan="3" align="left" rowspan="1">/nw:networks/nw:network/nw:link/nvp:perf-mon</th>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">write</td>
            <td align="left" colspan="1" rowspan="1">percentile</td>
            <td align="left" colspan="1" rowspan="1">impact reporting cadence</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">write</td>
            <td align="left" colspan="1" rowspan="1">measurement interval</td>
            <td align="left" colspan="1" rowspan="1">impact monitoring fidelity</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">write</td>
            <td align="left" colspan="1" rowspan="1">vpn-pm-type</td>
            <td align="left" colspan="1" rowspan="1">impact monitoring fidelity</td>
          </tr>
        </tbody>
      </table>
      <t indent="0" pn="section-6-5">Some of the readable data nodes in this YANG module may be considered
      sensitive or vulnerable in some network environments. It is thus
      important to control read access (e.g., via get, get-config, or
      notification) to these data nodes.    
      When using, the trade-off between
      confidentiality and proper monitoring of performance needs to be
      considered. Unauthorized access to the following subtrees could have the
      following impacts:</t>
      <dl indent="3" newline="false" spacing="normal" pn="section-6-6">
        <dt pn="section-6-6.1">"/nw:networks/nw:network/nw:node":</dt>
        <dd pn="section-6-6.2">Unauthorized read access
          to this subtree can disclose the operational state information of
          underlay network instances or VPN instances.</dd>
        <dt pn="section-6-6.3">"/nw:networks/nw:network/nt:link/nvp:perf-mon/nvp:one-way-pm-statistics":</dt>
        <dd pn="section-6-6.4">
          Unauthorized read access to this subtree can disclose the
          operational state information of underlay network links or VPN
          abstract links.</dd>
        <dt pn="section-6-6.5">"/nw:networks/nw:network/nw:node/nt:termination-point/nvp:pm-statistics":</dt>
        <dd pn="section-6-6.6">
          Unauthorized read access to this subtree can disclose the
          operational state information of underlay network termination points
          or VPN network accesses.</dd>
      </dl>
      <t indent="0" pn="section-6-7">This YANG module does not define any Remote Procedure
      Call (RPC) operations and actions.</t>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-7">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <t indent="0" pn="section-7-1">IANA has registered the following URI in the "ns"
      subregistry within the "IETF XML Registry" <xref target="RFC3688" format="default" sectionFormat="of" derivedContent="RFC3688"/>:</t>
      <dl spacing="compact" indent="3" newline="false" pn="section-7-2">
        <dt pn="section-7-2.1">URI:</dt>
        <dd pn="section-7-2.2">urn:ietf:params:xml:ns:yang:ietf-network-vpn-pm</dd>
        <dt pn="section-7-2.3">Registrant Contact:</dt>
        <dd pn="section-7-2.4">The IESG.</dd>
        <dt pn="section-7-2.5">XML:</dt>
        <dd pn="section-7-2.6">N/A; the requested URI is an XML namespace.</dd>
      </dl>
      <t indent="0" pn="section-7-3">IANA has registered the following YANG module in
      the "YANG Module Names" subregistry <xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/> within the
      "YANG Parameters" registry.</t>
      <dl spacing="compact" indent="3" newline="false" pn="section-7-4">
        <dt pn="section-7-4.1">Name:</dt>
        <dd pn="section-7-4.2">ietf-network-vpn-pm</dd>
        <dt pn="section-7-4.3">Namespace:</dt>
        <dd pn="section-7-4.4">urn:ietf:params:xml:ns:yang:ietf-network-vpn-pm</dd>
        <dt pn="section-7-4.5">Maintained by IANA:</dt>
        <dd pn="section-7-4.6">N</dd>
        <dt pn="section-7-4.7">Prefix:</dt>
        <dd pn="section-7-4.8">nvp</dd>
        <dt pn="section-7-4.9">Reference:</dt>
        <dd pn="section-7-4.10">RFC 9375</dd>
      </dl>
    </section>
  </middle>
  <back>
    <displayreference target="I-D.ietf-opsawg-sap" to="YANG-SAP"/>
    <references pn="section-8">
      <name slugifiedName="name-references">References</name>
      <references pn="section-8.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="RFC3393" target="https://www.rfc-editor.org/info/rfc3393" quoteTitle="true" derivedAnchor="RFC3393">
          <front>
            <title>IP Packet Delay Variation Metric for IP Performance Metrics (IPPM)</title>
            <author fullname="C. Demichelis" initials="C." surname="Demichelis"/>
            <author fullname="P. Chimento" initials="P." surname="Chimento"/>
            <date month="November" year="2002"/>
          </front>
          <seriesInfo name="RFC" value="3393"/>
          <seriesInfo name="DOI" value="10.17487/RFC3393"/>
        </reference>
        <reference anchor="RFC3688" target="https://www.rfc-editor.org/info/rfc3688" quoteTitle="true" derivedAnchor="RFC3688">
          <front>
            <title>The IETF XML Registry</title>
            <author fullname="M. Mealling" initials="M." surname="Mealling"/>
            <date month="January" year="2004"/>
            <abstract>
              <t indent="0">This document describes an IANA maintained registry for IETF standards which use Extensible Markup Language (XML) related items such as Namespaces, Document Type Declarations (DTDs), Schemas, and Resource Description Framework (RDF) Schemas.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="81"/>
          <seriesInfo name="RFC" value="3688"/>
          <seriesInfo name="DOI" value="10.17487/RFC3688"/>
        </reference>
        <reference anchor="RFC4364" target="https://www.rfc-editor.org/info/rfc4364" quoteTitle="true" derivedAnchor="RFC4364">
          <front>
            <title>BGP/MPLS IP Virtual Private Networks (VPNs)</title>
            <author fullname="E. Rosen" initials="E." surname="Rosen"/>
            <author fullname="Y. Rekhter" initials="Y." surname="Rekhter"/>
            <date month="February" year="2006"/>
            <abstract>
              <t indent="0">This document describes a method by which a Service Provider may use an IP backbone to provide IP Virtual Private Networks (VPNs) for its customers.  This method uses a "peer model", in which the customers' edge routers (CE routers) send their routes to the Service Provider's edge routers (PE routers); there is no "overlay" visible to the customer's routing algorithm, and CE routers at different sites do not peer with each other.  Data packets are tunneled through the backbone, so that the core routers do not need to know the VPN routes. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4364"/>
          <seriesInfo name="DOI" value="10.17487/RFC4364"/>
        </reference>
        <reference anchor="RFC4656" target="https://www.rfc-editor.org/info/rfc4656" quoteTitle="true" derivedAnchor="RFC4656">
          <front>
            <title>A One-way Active Measurement Protocol (OWAMP)</title>
            <author fullname="S. Shalunov" initials="S." surname="Shalunov"/>
            <author fullname="B. Teitelbaum" initials="B." surname="Teitelbaum"/>
            <author fullname="A. Karp" initials="A." surname="Karp"/>
            <author fullname="J. Boote" initials="J." surname="Boote"/>
            <author fullname="M. Zekauskas" initials="M." surname="Zekauskas"/>
            <date month="September" year="2006"/>
            <abstract>
              <t indent="0">The One-Way Active Measurement Protocol (OWAMP) measures unidirectional characteristics such as one-way delay and one-way loss.  High-precision measurement of these one-way IP performance metrics became possible with wider availability of good time sources (such as GPS and CDMA).  OWAMP enables the interoperability of these measurements. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4656"/>
          <seriesInfo name="DOI" value="10.17487/RFC4656"/>
        </reference>
        <reference anchor="RFC5357" target="https://www.rfc-editor.org/info/rfc5357" quoteTitle="true" derivedAnchor="RFC5357">
          <front>
            <title>A Two-Way Active Measurement Protocol (TWAMP)</title>
            <author fullname="K. Hedayat" initials="K." surname="Hedayat"/>
            <author fullname="R. Krzanowski" initials="R." surname="Krzanowski"/>
            <author fullname="A. Morton" initials="A." surname="Morton"/>
            <author fullname="K. Yum" initials="K." surname="Yum"/>
            <author fullname="J. Babiarz" initials="J." surname="Babiarz"/>
            <date month="October" year="2008"/>
            <abstract>
              <t indent="0">The One-way Active Measurement Protocol (OWAMP), specified in RFC 4656, provides a common protocol for measuring one-way metrics between network devices.  OWAMP can be used bi-directionally to measure one-way metrics in both directions between two network elements.  However, it does not accommodate round-trip or two-way measurements.  This memo specifies a Two-Way Active Measurement Protocol (TWAMP), based on the OWAMP, that adds two-way or round-trip measurement capabilities.  The TWAMP measurement architecture is usually comprised of two hosts with specific roles, and this allows for some protocol simplifications, making it an attractive alternative in some circumstances. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5357"/>
          <seriesInfo name="DOI" value="10.17487/RFC5357"/>
        </reference>
        <reference anchor="RFC6020" target="https://www.rfc-editor.org/info/rfc6020" quoteTitle="true" derivedAnchor="RFC6020">
          <front>
            <title>YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)</title>
            <author fullname="M. Bjorklund" initials="M." role="editor" surname="Bjorklund"/>
            <date month="October" year="2010"/>
            <abstract>
              <t indent="0">YANG is a data modeling language used to model configuration and state data manipulated by the Network Configuration Protocol (NETCONF), NETCONF remote procedure calls, and NETCONF notifications. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6020"/>
          <seriesInfo name="DOI" value="10.17487/RFC6020"/>
        </reference>
        <reference anchor="RFC6241" target="https://www.rfc-editor.org/info/rfc6241" quoteTitle="true" derivedAnchor="RFC6241">
          <front>
            <title>Network Configuration Protocol (NETCONF)</title>
            <author fullname="R. Enns" initials="R." role="editor" surname="Enns"/>
            <author fullname="M. Bjorklund" initials="M." role="editor" surname="Bjorklund"/>
            <author fullname="J. Schoenwaelder" initials="J." role="editor" surname="Schoenwaelder"/>
            <author fullname="A. Bierman" initials="A." role="editor" surname="Bierman"/>
            <date month="June" year="2011"/>
            <abstract>
              <t indent="0">The Network Configuration Protocol (NETCONF) defined in this document provides mechanisms to install, manipulate, and delete the configuration of network devices.  It uses an Extensible Markup Language (XML)-based data encoding for the configuration data as well as the protocol messages.  The NETCONF protocol operations are realized as remote procedure calls (RPCs).  This document obsoletes RFC 4741. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6241"/>
          <seriesInfo name="DOI" value="10.17487/RFC6241"/>
        </reference>
        <reference anchor="RFC6242" target="https://www.rfc-editor.org/info/rfc6242" quoteTitle="true" derivedAnchor="RFC6242">
          <front>
            <title>Using the NETCONF Protocol over Secure Shell (SSH)</title>
            <author fullname="M. Wasserman" initials="M." surname="Wasserman"/>
            <date month="June" year="2011"/>
            <abstract>
              <t indent="0">This document describes a method for invoking and running the Network Configuration Protocol (NETCONF) within a Secure Shell (SSH) session as an SSH subsystem.  This document obsoletes RFC 4742. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6242"/>
          <seriesInfo name="DOI" value="10.17487/RFC6242"/>
        </reference>
        <reference anchor="RFC6374" target="https://www.rfc-editor.org/info/rfc6374" quoteTitle="true" derivedAnchor="RFC6374">
          <front>
            <title>Packet Loss and Delay Measurement for MPLS Networks</title>
            <author fullname="D. Frost" initials="D." surname="Frost"/>
            <author fullname="S. Bryant" initials="S." surname="Bryant"/>
            <date month="September" year="2011"/>
            <abstract>
              <t indent="0">Many service provider service level agreements (SLAs) depend on the ability to measure and monitor performance metrics for packet loss and one-way and two-way delay, as well as related metrics such as delay variation and channel throughput.  This measurement capability also provides operators with greater visibility into the performance characteristics of their networks, thereby facilitating planning, troubleshooting, and network performance evaluation.  This document specifies protocol mechanisms to enable the efficient and accurate measurement of these performance metrics in MPLS networks. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6374"/>
          <seriesInfo name="DOI" value="10.17487/RFC6374"/>
        </reference>
        <reference anchor="RFC6991" target="https://www.rfc-editor.org/info/rfc6991" quoteTitle="true" derivedAnchor="RFC6991">
          <front>
            <title>Common YANG Data Types</title>
            <author fullname="J. Schoenwaelder" initials="J." role="editor" surname="Schoenwaelder"/>
            <date month="July" year="2013"/>
            <abstract>
              <t indent="0">This document introduces a collection of common data types to be used with the YANG data modeling language.  This document obsoletes RFC 6021.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6991"/>
          <seriesInfo name="DOI" value="10.17487/RFC6991"/>
        </reference>
        <reference anchor="RFC7950" target="https://www.rfc-editor.org/info/rfc7950" quoteTitle="true" derivedAnchor="RFC7950">
          <front>
            <title>The YANG 1.1 Data Modeling Language</title>
            <author fullname="M. Bjorklund" initials="M." role="editor" surname="Bjorklund"/>
            <date month="August" year="2016"/>
            <abstract>
              <t indent="0">YANG is a data modeling language used to model configuration data, state data, Remote Procedure Calls, and notifications for network management protocols.  This document describes the syntax and semantics of version 1.1 of the YANG language.  YANG version 1.1 is a maintenance release of the YANG language, addressing ambiguities and defects in the original specification.  There are a small number of backward incompatibilities from YANG version 1.  This document also specifies the YANG mappings to the Network Configuration Protocol (NETCONF).</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7950"/>
          <seriesInfo name="DOI" value="10.17487/RFC7950"/>
        </reference>
        <reference anchor="RFC8040" target="https://www.rfc-editor.org/info/rfc8040" quoteTitle="true" derivedAnchor="RFC8040">
          <front>
            <title>RESTCONF Protocol</title>
            <author fullname="A. Bierman" initials="A." surname="Bierman"/>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <author fullname="K. Watsen" initials="K." surname="Watsen"/>
            <date month="January" year="2017"/>
            <abstract>
              <t indent="0">This document describes an HTTP-based protocol that provides a programmatic interface for accessing data defined in YANG, using the datastore concepts defined in the Network Configuration Protocol (NETCONF).</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8040"/>
          <seriesInfo name="DOI" value="10.17487/RFC8040"/>
        </reference>
        <reference anchor="RFC8340" target="https://www.rfc-editor.org/info/rfc8340" quoteTitle="true" derivedAnchor="RFC8340">
          <front>
            <title>YANG Tree Diagrams</title>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <author fullname="L. Berger" initials="L." role="editor" surname="Berger"/>
            <date month="March" year="2018"/>
            <abstract>
              <t indent="0">This document captures the current syntax used in YANG module tree diagrams.  The purpose of this document is to provide a single location for this definition.  This syntax may be updated from time to time based on the evolution of the YANG language.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="215"/>
          <seriesInfo name="RFC" value="8340"/>
          <seriesInfo name="DOI" value="10.17487/RFC8340"/>
        </reference>
        <reference anchor="RFC8341" target="https://www.rfc-editor.org/info/rfc8341" quoteTitle="true" derivedAnchor="RFC8341">
          <front>
            <title>Network Configuration Access Control Model</title>
            <author fullname="A. Bierman" initials="A." surname="Bierman"/>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <date month="March" year="2018"/>
            <abstract>
              <t indent="0">The standardization of network configuration interfaces for use with the Network Configuration Protocol (NETCONF) or the RESTCONF protocol requires a structured and secure operating environment that promotes human usability and multi-vendor interoperability. There is a need for standard mechanisms to restrict NETCONF or RESTCONF protocol access for particular users to a preconfigured subset of all available NETCONF or RESTCONF protocol operations and content. This document defines such an access control model.</t>
              <t indent="0">This document obsoletes RFC 6536.</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="91"/>
          <seriesInfo name="RFC" value="8341"/>
          <seriesInfo name="DOI" value="10.17487/RFC8341"/>
        </reference>
        <reference anchor="RFC8345" target="https://www.rfc-editor.org/info/rfc8345" quoteTitle="true" derivedAnchor="RFC8345">
          <front>
            <title>A YANG Data Model for Network Topologies</title>
            <author fullname="A. Clemm" initials="A." surname="Clemm"/>
            <author fullname="J. Medved" initials="J." surname="Medved"/>
            <author fullname="R. Varga" initials="R." surname="Varga"/>
            <author fullname="N. Bahadur" initials="N." surname="Bahadur"/>
            <author fullname="H. Ananthakrishnan" initials="H." surname="Ananthakrishnan"/>
            <author fullname="X. Liu" initials="X." surname="Liu"/>
            <date month="March" year="2018"/>
            <abstract>
              <t indent="0">This document defines an abstract (generic, or base) YANG data model for network/service topologies and inventories.  The data model serves as a base model that is augmented with technology-specific details in other, more specific topology and inventory data models.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8345"/>
          <seriesInfo name="DOI" value="10.17487/RFC8345"/>
        </reference>
        <reference anchor="RFC8446" target="https://www.rfc-editor.org/info/rfc8446" quoteTitle="true" derivedAnchor="RFC8446">
          <front>
            <title>The Transport Layer Security (TLS) Protocol Version 1.3</title>
            <author fullname="E. Rescorla" initials="E." surname="Rescorla"/>
            <date month="August" year="2018"/>
            <abstract>
              <t indent="0">This document specifies version 1.3 of the Transport Layer Security (TLS) protocol. TLS allows client/server applications to communicate over the Internet in a way that is designed to prevent eavesdropping, tampering, and message forgery.</t>
              <t indent="0">This document updates RFCs 5705 and 6066, and obsoletes RFCs 5077, 5246, and 6961. This document also specifies new requirements for TLS 1.2 implementations.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8446"/>
          <seriesInfo name="DOI" value="10.17487/RFC8446"/>
        </reference>
        <reference anchor="RFC8532" target="https://www.rfc-editor.org/info/rfc8532" quoteTitle="true" derivedAnchor="RFC8532">
          <front>
            <title>Generic YANG Data Model for the Management of Operations, Administration, and Maintenance (OAM) Protocols That Use Connectionless Communications</title>
            <author fullname="D. Kumar" initials="D." surname="Kumar"/>
            <author fullname="Z. Wang" initials="Z." surname="Wang"/>
            <author fullname="Q. Wu" initials="Q." role="editor" surname="Wu"/>
            <author fullname="R. Rahman" initials="R." surname="Rahman"/>
            <author fullname="S. Raghavan" initials="S." surname="Raghavan"/>
            <date month="April" year="2019"/>
            <abstract>
              <t indent="0">This document presents a base YANG Data model for the management of Operations, Administration, and Maintenance (OAM) protocols that use connectionless communications. The data model is defined using the YANG data modeling language, as specified in RFC 7950. It provides a technology-independent abstraction of key OAM constructs for OAM protocols that use connectionless communication. The base model presented here can be extended to include technology-specific details.</t>
              <t indent="0">There are two key benefits of this approach: First, it leads to uniformity between OAM protocols. Second, it supports both nested OAM workflows (i.e., performing OAM functions at the same level or different levels through a unified interface) as well as interactive OAM workflows (i.e., performing OAM functions at the same level through a unified interface).</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8532"/>
          <seriesInfo name="DOI" value="10.17487/RFC8532"/>
        </reference>
        <reference anchor="RFC8571" target="https://www.rfc-editor.org/info/rfc8571" quoteTitle="true" derivedAnchor="RFC8571">
          <front>
            <title>BGP - Link State (BGP-LS) Advertisement of IGP Traffic Engineering Performance Metric Extensions</title>
            <author fullname="L. Ginsberg" initials="L." role="editor" surname="Ginsberg"/>
            <author fullname="S. Previdi" initials="S." surname="Previdi"/>
            <author fullname="Q. Wu" initials="Q." surname="Wu"/>
            <author fullname="J. Tantsura" initials="J." surname="Tantsura"/>
            <author fullname="C. Filsfils" initials="C." surname="Filsfils"/>
            <date month="March" year="2019"/>
            <abstract>
              <t indent="0">This document defines new BGP - Link State (BGP-LS) TLVs in order to carry the IGP Traffic Engineering Metric Extensions defined in the IS-IS and OSPF protocols.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8571"/>
          <seriesInfo name="DOI" value="10.17487/RFC8571"/>
        </reference>
        <reference anchor="RFC8641" target="https://www.rfc-editor.org/info/rfc8641" quoteTitle="true" derivedAnchor="RFC8641">
          <front>
            <title>Subscription to YANG Notifications for Datastore Updates</title>
            <author fullname="A. Clemm" initials="A." surname="Clemm"/>
            <author fullname="E. Voit" initials="E." surname="Voit"/>
            <date month="September" year="2019"/>
            <abstract>
              <t indent="0">This document describes a mechanism that allows subscriber applications to request a continuous and customized stream of updates from a YANG datastore.  Providing such visibility into updates enables new capabilities based on the remote mirroring and monitoring of configuration and operational state.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8641"/>
          <seriesInfo name="DOI" value="10.17487/RFC8641"/>
        </reference>
        <reference anchor="RFC8762" target="https://www.rfc-editor.org/info/rfc8762" quoteTitle="true" derivedAnchor="RFC8762">
          <front>
            <title>Simple Two-Way Active Measurement Protocol</title>
            <author fullname="G. Mirsky" initials="G." surname="Mirsky"/>
            <author fullname="G. Jun" initials="G." surname="Jun"/>
            <author fullname="H. Nydell" initials="H." surname="Nydell"/>
            <author fullname="R. Foote" initials="R." surname="Foote"/>
            <date month="March" year="2020"/>
            <abstract>
              <t indent="0">This document describes the Simple Two-way Active Measurement Protocol (STAMP), which enables the measurement of both one-way and round-trip performance metrics, like delay, delay variation, and packet loss.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8762"/>
          <seriesInfo name="DOI" value="10.17487/RFC8762"/>
        </reference>
        <reference anchor="RFC9181" target="https://www.rfc-editor.org/info/rfc9181" quoteTitle="true" derivedAnchor="RFC9181">
          <front>
            <title>A Common YANG Data Model for Layer 2 and Layer 3 VPNs</title>
            <author fullname="S. Barguil" initials="S." surname="Barguil"/>
            <author fullname="O. Gonzalez de Dios" initials="O." role="editor" surname="Gonzalez de Dios"/>
            <author fullname="M. Boucadair" initials="M." role="editor" surname="Boucadair"/>
            <author fullname="Q. Wu" initials="Q." surname="Wu"/>
            <date month="February" year="2022"/>
            <abstract>
              <t indent="0">This document defines a common YANG module that is meant to be reused by various VPN-related modules such as Layer 3 VPN and Layer 2 VPN network models.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9181"/>
          <seriesInfo name="DOI" value="10.17487/RFC9181"/>
        </reference>
      </references>
      <references pn="section-8.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="ITU-T-Y-1731" target="https://www.itu.int/rec/T-REC-Y.1731/en" quoteTitle="true" derivedAnchor="ITU-T-Y-1731">
          <front>
            <title>Operations, administration and maintenance (OAM) functions and mechanisms for Ethernet-based networks</title>
            <author>
              <organization showOnFrontPage="true">ITU-T</organization>
            </author>
            <date month="August" year="2015"/>
          </front>
          <seriesInfo name="ITU-T" value="Recommendation G.8013/Y.1731"/>
        </reference>
        <reference anchor="RFC4026" target="https://www.rfc-editor.org/info/rfc4026" quoteTitle="true" derivedAnchor="RFC4026">
          <front>
            <title>Provider Provisioned Virtual Private Network (VPN) Terminology</title>
            <author fullname="L. Andersson" initials="L." surname="Andersson"/>
            <author fullname="T. Madsen" initials="T." surname="Madsen"/>
            <date month="March" year="2005"/>
            <abstract>
              <t indent="0">The widespread interest in provider-provisioned Virtual Private Network (VPN) solutions lead to memos proposing different and overlapping solutions. The IETF working groups (first Provider Provisioned VPNs and later Layer 2 VPNs and Layer 3 VPNs) have discussed these proposals and documented specifications. This has lead to the development of a partially new set of concepts used to describe the set of VPN services.</t>
              <t indent="0">To a certain extent, more than one term covers the same concept, and sometimes the same term covers more than one concept. This document seeks to make the terminology in the area clearer and more intuitive. This memo provides information for the Internet community.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4026"/>
          <seriesInfo name="DOI" value="10.17487/RFC4026"/>
        </reference>
        <reference anchor="RFC5277" target="https://www.rfc-editor.org/info/rfc5277" quoteTitle="true" derivedAnchor="RFC5277">
          <front>
            <title>NETCONF Event Notifications</title>
            <author fullname="S. Chisholm" initials="S." surname="Chisholm"/>
            <author fullname="H. Trevino" initials="H." surname="Trevino"/>
            <date month="July" year="2008"/>
            <abstract>
              <t indent="0">This document defines mechanisms that provide an asynchronous message notification delivery service for the Network Configuration protocol (NETCONF).  This is an optional capability built on top of the base NETCONF definition.  This document defines the capabilities and operations necessary to support this service. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5277"/>
          <seriesInfo name="DOI" value="10.17487/RFC5277"/>
        </reference>
        <reference anchor="RFC7471" target="https://www.rfc-editor.org/info/rfc7471" quoteTitle="true" derivedAnchor="RFC7471">
          <front>
            <title>OSPF Traffic Engineering (TE) Metric Extensions</title>
            <author fullname="S. Giacalone" initials="S." surname="Giacalone"/>
            <author fullname="D. Ward" initials="D." surname="Ward"/>
            <author fullname="J. Drake" initials="J." surname="Drake"/>
            <author fullname="A. Atlas" initials="A." surname="Atlas"/>
            <author fullname="S. Previdi" initials="S." surname="Previdi"/>
            <date month="March" year="2015"/>
            <abstract>
              <t indent="0">In certain networks, such as, but not limited to, financial information networks (e.g., stock market data providers), network performance information (e.g., link propagation delay) is becoming critical to data path selection.</t>
              <t indent="0">This document describes common extensions to RFC 3630 "Traffic Engineering (TE) Extensions to OSPF Version 2" and RFC 5329 "Traffic Engineering Extensions to OSPF Version 3" to enable network performance information to be distributed in a scalable fashion. The information distributed using OSPF TE Metric Extensions can then be used to make path selection decisions based on network performance.</t>
              <t indent="0">Note that this document only covers the mechanisms by which network performance information is distributed. The mechanisms for measuring network performance information or using that information, once distributed, are outside the scope of this document.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7471"/>
          <seriesInfo name="DOI" value="10.17487/RFC7471"/>
        </reference>
        <reference anchor="RFC8194" target="https://www.rfc-editor.org/info/rfc8194" quoteTitle="true" derivedAnchor="RFC8194">
          <front>
            <title>A YANG Data Model for LMAP Measurement Agents</title>
            <author fullname="J. Schoenwaelder" initials="J." surname="Schoenwaelder"/>
            <author fullname="V. Bajpai" initials="V." surname="Bajpai"/>
            <date month="August" year="2017"/>
            <abstract>
              <t indent="0">This document defines a data model for Large-Scale Measurement Platforms (LMAPs).  The data model is defined using the YANG data modeling language.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8194"/>
          <seriesInfo name="DOI" value="10.17487/RFC8194"/>
        </reference>
        <reference anchor="RFC8309" target="https://www.rfc-editor.org/info/rfc8309" quoteTitle="true" derivedAnchor="RFC8309">
          <front>
            <title>Service Models Explained</title>
            <author fullname="Q. Wu" initials="Q." surname="Wu"/>
            <author fullname="W. Liu" initials="W." surname="Liu"/>
            <author fullname="A. Farrel" initials="A." surname="Farrel"/>
            <date month="January" year="2018"/>
            <abstract>
              <t indent="0">The IETF has produced many modules in the YANG modeling language. The majority of these modules are used to construct data models to model devices or monolithic functions.</t>
              <t indent="0">A small number of YANG modules have been defined to model services (for example, the Layer 3 Virtual Private Network Service Model (L3SM) produced by the L3SM working group and documented in RFC 8049).</t>
              <t indent="0">This document describes service models as used within the IETF and also shows where a service model might fit into a software-defined networking architecture. Note that service models do not make any assumption of how a service is actually engineered and delivered for a customer; details of how network protocols and devices are engineered to deliver a service are captured in other modules that are not exposed through the interface between the customer and the provider.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8309"/>
          <seriesInfo name="DOI" value="10.17487/RFC8309"/>
        </reference>
        <reference anchor="RFC8570" target="https://www.rfc-editor.org/info/rfc8570" quoteTitle="true" derivedAnchor="RFC8570">
          <front>
            <title>IS-IS Traffic Engineering (TE) Metric Extensions</title>
            <author fullname="L. Ginsberg" initials="L." role="editor" surname="Ginsberg"/>
            <author fullname="S. Previdi" initials="S." role="editor" surname="Previdi"/>
            <author fullname="S. Giacalone" initials="S." surname="Giacalone"/>
            <author fullname="D. Ward" initials="D." surname="Ward"/>
            <author fullname="J. Drake" initials="J." surname="Drake"/>
            <author fullname="Q. Wu" initials="Q." surname="Wu"/>
            <date month="March" year="2019"/>
            <abstract>
              <t indent="0">In certain networks, such as, but not limited to, financial information networks (e.g., stock market data providers), network-performance criteria (e.g., latency) are becoming as critical to data-path selection as other metrics.</t>
              <t indent="0">This document describes extensions to IS-IS Traffic Engineering Extensions (RFC 5305). These extensions provide a way to distribute and collect network-performance information in a scalable fashion. The information distributed using IS-IS TE Metric Extensions can then be used to make path-selection decisions based on network performance.</t>
              <t indent="0">Note that this document only covers the mechanisms with which network-performance information is distributed. The mechanisms for measuring network performance or acting on that information, once distributed, are outside the scope of this document.</t>
              <t indent="0">This document obsoletes RFC 7810.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8570"/>
          <seriesInfo name="DOI" value="10.17487/RFC8570"/>
        </reference>
        <reference anchor="RFC8632" target="https://www.rfc-editor.org/info/rfc8632" quoteTitle="true" derivedAnchor="RFC8632">
          <front>
            <title>A YANG Data Model for Alarm Management</title>
            <author fullname="S. Vallin" initials="S." surname="Vallin"/>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <date month="September" year="2019"/>
            <abstract>
              <t indent="0">This document defines a YANG module for alarm management.  It includes functions for alarm-list management, alarm shelving, and notifications to inform management systems.  There are also operations to manage the operator state of an alarm and administrative alarm procedures.  The module carefully maps to relevant alarm standards.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8632"/>
          <seriesInfo name="DOI" value="10.17487/RFC8632"/>
        </reference>
        <reference anchor="RFC8639" target="https://www.rfc-editor.org/info/rfc8639" quoteTitle="true" derivedAnchor="RFC8639">
          <front>
            <title>Subscription to YANG Notifications</title>
            <author fullname="E. Voit" initials="E." surname="Voit"/>
            <author fullname="A. Clemm" initials="A." surname="Clemm"/>
            <author fullname="A. Gonzalez Prieto" initials="A." surname="Gonzalez Prieto"/>
            <author fullname="E. Nilsen-Nygaard" initials="E." surname="Nilsen-Nygaard"/>
            <author fullname="A. Tripathy" initials="A." surname="Tripathy"/>
            <date month="September" year="2019"/>
            <abstract>
              <t indent="0">This document defines a YANG data model and associated mechanisms enabling subscriber-specific subscriptions to a publisher's event streams.  Applying these elements allows a subscriber to request and receive a continuous, customized feed of publisher-generated information.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8639"/>
          <seriesInfo name="DOI" value="10.17487/RFC8639"/>
        </reference>
        <reference anchor="RFC8969" target="https://www.rfc-editor.org/info/rfc8969" quoteTitle="true" derivedAnchor="RFC8969">
          <front>
            <title>A Framework for Automating Service and Network Management with YANG</title>
            <author fullname="Q. Wu" initials="Q." role="editor" surname="Wu"/>
            <author fullname="M. Boucadair" initials="M." role="editor" surname="Boucadair"/>
            <author fullname="D. Lopez" initials="D." surname="Lopez"/>
            <author fullname="C. Xie" initials="C." surname="Xie"/>
            <author fullname="L. Geng" initials="L." surname="Geng"/>
            <date month="January" year="2021"/>
            <abstract>
              <t indent="0">Data models provide a programmatic approach to represent services and networks. Concretely, they can be used to derive configuration information for network and service components, and state information that will be monitored and tracked. Data models can be used during the service and network management life cycle (e.g., service instantiation, service provisioning, service optimization, service monitoring, service diagnosing, and service assurance). Data models are also instrumental in the automation of network management, and they can provide closed-loop control for adaptive and deterministic service creation, delivery, and maintenance.</t>
              <t indent="0">This document describes a framework for service and network management automation that takes advantage of YANG modeling technologies. This framework is drawn from a network operator perspective irrespective of the origin of a data model; thus, it can accommodate YANG modules that are developed outside the IETF.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8969"/>
          <seriesInfo name="DOI" value="10.17487/RFC8969"/>
        </reference>
        <reference anchor="RFC9182" target="https://www.rfc-editor.org/info/rfc9182" quoteTitle="true" derivedAnchor="RFC9182">
          <front>
            <title>A YANG Network Data Model for Layer 3 VPNs</title>
            <author fullname="S. Barguil" initials="S." surname="Barguil"/>
            <author fullname="O. Gonzalez de Dios" initials="O." role="editor" surname="Gonzalez de Dios"/>
            <author fullname="M. Boucadair" initials="M." role="editor" surname="Boucadair"/>
            <author fullname="L. Munoz" initials="L." surname="Munoz"/>
            <author fullname="A. Aguado" initials="A." surname="Aguado"/>
            <date month="February" year="2022"/>
            <abstract>
              <t indent="0">As a complement to the Layer 3 Virtual Private Network Service Model (L3SM), which is used for communication between customers and service providers, this document defines an L3VPN Network Model (L3NM) that can be used for the provisioning of Layer 3 Virtual Private Network (L3VPN) services within a service provider network. The model provides a network-centric view of L3VPN services.</t>
              <t indent="0">The L3NM is meant to be used by a network controller to derive the configuration information that will be sent to relevant network devices. The model can also facilitate communication between a service orchestrator and a network controller/orchestrator.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9182"/>
          <seriesInfo name="DOI" value="10.17487/RFC9182"/>
        </reference>
        <reference anchor="RFC9197" target="https://www.rfc-editor.org/info/rfc9197" quoteTitle="true" derivedAnchor="RFC9197">
          <front>
            <title>Data Fields for In Situ Operations, Administration, and Maintenance (IOAM)</title>
            <author fullname="F. Brockners" initials="F." role="editor" surname="Brockners"/>
            <author fullname="S. Bhandari" initials="S." role="editor" surname="Bhandari"/>
            <author fullname="T. Mizrahi" initials="T." role="editor" surname="Mizrahi"/>
            <date month="May" year="2022"/>
            <abstract>
              <t indent="0">In situ Operations, Administration, and Maintenance (IOAM) collects operational and telemetry information in the packet while the packet traverses a path between two points in the network.  This document discusses the data fields and associated data types for IOAM.  IOAM-Data-Fields can be encapsulated into a variety of protocols, such as Network Service Header (NSH), Segment Routing, Generic Network Virtualization Encapsulation (Geneve), or IPv6.  IOAM can be used to complement OAM mechanisms based on, e.g., ICMP or other types of probe packets.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9197"/>
          <seriesInfo name="DOI" value="10.17487/RFC9197"/>
        </reference>
        <reference anchor="RFC9291" target="https://www.rfc-editor.org/info/rfc9291" quoteTitle="true" derivedAnchor="RFC9291">
          <front>
            <title>A YANG Network Data Model for Layer 2 VPNs</title>
            <author fullname="M. Boucadair" initials="M." role="editor" surname="Boucadair"/>
            <author fullname="O. Gonzalez de Dios" initials="O." role="editor" surname="Gonzalez de Dios"/>
            <author fullname="S. Barguil" initials="S." surname="Barguil"/>
            <author fullname="L. Munoz" initials="L." surname="Munoz"/>
            <date month="September" year="2022"/>
            <abstract>
              <t indent="0">This document defines an L2VPN Network Model (L2NM) that can be used to manage the provisioning of Layer 2 Virtual Private Network (L2VPN) services within a network (e.g., a service provider network). The L2NM complements the L2VPN Service Model (L2SM) by providing a network-centric view of the service that is internal to a service provider. The L2NM is particularly meant to be used by a network controller to derive the configuration information that will be sent to relevant network devices.</t>
              <t indent="0">Also, this document defines a YANG module to manage Ethernet segments and the initial versions of two IANA-maintained modules that include a set of identities of BGP Layer 2 encapsulation types and pseudowire types.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9291"/>
          <seriesInfo name="DOI" value="10.17487/RFC9291"/>
        </reference>
        <reference anchor="I-D.ietf-opsawg-sap" quoteTitle="true" target="https://datatracker.ietf.org/doc/html/draft-ietf-opsawg-sap-15" derivedAnchor="YANG-SAP">
          <front>
            <title>A YANG Network Model for Service Attachment Points (SAPs)</title>
            <author initials="M." surname="Boucadair" fullname="Mohamed Boucadair" role="editor">
              <organization showOnFrontPage="true">Orange</organization>
            </author>
            <author initials="O." surname="Gonzalez de Dios" fullname="Oscar Gonzalez de Dios">
              <organization showOnFrontPage="true">Telefonica</organization>
            </author>
            <author initials="S." surname="Barguil" fullname="Samier Barguil">
              <organization showOnFrontPage="true">Nokia</organization>
            </author>
            <author initials="Q." surname="Wu" fullname="Qin Wu">
              <organization showOnFrontPage="true">Huawei</organization>
            </author>
            <author initials="V." surname="Lopez" fullname="Victor Lopez">
              <organization showOnFrontPage="true">Nokia</organization>
            </author>
            <date month="January" day="18" year="2023"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-opsawg-sap-15"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
      </references>
    </references>
    <section anchor="examples" numbered="true" toc="include" removeInRFC="false" pn="section-appendix.a">
      <name slugifiedName="name-illustrative-examples">Illustrative Examples</name>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-appendix.a.1">
        <name slugifiedName="name-example-of-vpn-performance-">Example of VPN Performance Subscription</name>
        <t indent="0" pn="section-appendix.a.1-1">The example shown in <xref target="ex" format="default" sectionFormat="of" derivedContent="Figure 7"/> illustrates how a client
        subscribes to the performance monitoring information between nodes
        ("node-id") A and B in the L3 network topology. The performance
        monitoring parameter that the client is interested in is end-to-end
        loss.</t>
        <figure anchor="ex" align="left" suppress-title="false" pn="figure-7">
          <name slugifiedName="name-example-of-pub-sub-retrieva">Example of Pub/Sub Retrieval</name>
          <sourcecode type="" markers="false" pn="section-appendix.a.1-2.1">============== NOTE: '\' line wrapping per RFC 8792 ===============

POST /restconf/operations/ietf-subscribed-notifications:establish-\
                                   subscription
Host: example.com
Content-Type: application/yang-data+json

{
  "ietf-subscribed-notifications:input": {
    "stream-subtree-filter": {
      "ietf-network:networks": {
        "network": {
          "network-id": "example:VPN1",
          "ietf-network-vpn-pm:service": {
            "service-type": "ietf-vpn-common:l3vpn"
          },
          "node": [
            {
              "node-id": "example:A",
              "ietf-network-vpn-pm:node-type": "pe",
              "termination-point": [
                {
                  "tp-id": "example:1-0-1"
                }
              ]
            },
            {
              "node-id": "example:B",
              "ietf-network-vpn-pm:node-type": "pe",
              "termination-point": [
                {
                  "tp-id": "example:2-0-1"
                }
              ]
            }
          ],
          "ietf-network-topology:link": [
            {
              "link-id": "example:A-B",
              "source": {
                "source-node": "example:A"
              },
              "destination": {
                "dest-node": "example:B"
              },
              "ietf-network-vpn-pm:perf-mon": {
                "pm": [
                  {
                    "pm-type": "pm-type-vpn-tunnel",
                    "pm-attributes": {
                      "one-way-pm-statistics": {
                        "loss-statistics": {
                          "packet-loss-count": {}
                        }
                      }
                    }
                  }
                ],
                "vpn-pm-type": {
                  "vpn-tunnel": {
                    "vpn-tunnel-type": "ietf-vpn-common:gre"
                  }
                }
              }
            }
          ]
        }
      },
      "ietf-yang-push:periodic": {
        "period": "500"
      }
    }
  }
}
</sourcecode>
        </figure>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-appendix.a.2">
        <name slugifiedName="name-example-of-vpn-performance-s">Example of VPN Performance Snapshot</name>
        <t indent="0" pn="section-appendix.a.2-1">The example depicted in <xref target="ex2" format="default" sectionFormat="of" derivedContent="Figure 8"/> illustrates a VPN
        PM instance message body of a RESTCONF request to fetch the performance data of the link and TP that belongs to "VPN1".</t>
        <figure anchor="ex2" align="left" suppress-title="false" pn="figure-8">
          <name slugifiedName="name-example-of-vpn-pm">Example of VPN PM</name>
          <sourcecode type="" markers="false" pn="section-appendix.a.2-2.1">{
  "ietf-network:networks": {
    "network": {
      "network-id": "example:VPN1",
      "node": [
        {
          "node-id": "example:A",
          "ietf-network-vpn-pm:node-type": "pe",
          "termination-point": [
            {
              "tp-id": "example:1-0-1",
              "ietf-network-vpn-pm:pm-statistics": {
                "inbound-octets": "100",
                "outbound-octets": "150"
              }
            }
          ]
        },
        {
          "node-id": "example:B",
          "ietf-network-vpn-pm:node-type": "pe",
          "termination-point": [
            {
              "tp-id": "example:2-0-1",
              "ietf-network-vpn-pm:pm-statistics": {
                "inbound-octets": "150",
                "outbound-octets": "100"
              }
            }
          ]
        }
      ],
      "ietf-network-topology:link": [
        {
          "link-id": "example:A-B",
          "source": {
            "source-node": "example:A"
          },
          "destination": {
            "dest-node": "example:B"
          },
          "ietf-network-pm:perf-mon": {
            "pm": [
              {
                "pm-type": "pm-type-vpn-tunnel",
                "pm-attributes": {
                  "one-way-pm-statistics": {
                    "loss-statistics": {
                      "packet-loss-count": "120"
                    }
                  }
                }
              }
            ],
            "vpn-pm-type": {
              "vpn-tunnel": {
                "vpn-tunnel-type": "ietf-vpn-common:gre"
              }
            }
          }
        }
      ]
    }
  }
}
</sourcecode>
        </figure>
      </section>
      <section anchor="perc" numbered="true" toc="include" removeInRFC="false" pn="section-appendix.a.3">
        <name slugifiedName="name-example-of-percentile-monit">Example of Percentile Monitoring</name>
        <t indent="0" pn="section-appendix.a.3-1">This is an example of percentile measurement data that could be
        returned for link "example:A-B" between "example:A" and
        "example:B".</t>
        <figure anchor="fig_9" align="left" suppress-title="false" pn="figure-9">
          <name slugifiedName="name-example-of-vpn-pm-with-perc">Example of VPN PM with Percentile Value</name>
          <sourcecode type="" markers="false" pn="section-appendix.a.3-2.1">{
  "ietf-network-topology:link": [
    {
      "link-id": "example:A-B",
      "source": {
        "source-node": "example:A"
      },
      "destination": {
        "dest-node": "example:B"
      },
      "ietf-network-vpn-pm:perf-mon": {
        "low-percentile": "20.000",
        "intermediate-percentile": "50.000",
        "high-percentile": "90.000",
        "pm": [
          {
            "pm-type": "pm-type-vpn-inter-access",
            "pm-attributes": {
              "one-way-pm-statistics": {
                "delay-statistics": {
                  "unit-value": "ietf-lime-time-types:milliseconds",
                  "min-delay-value": "43",
                  "max-delay-value": "99",
                  "low-delay-percentile": "64",
                  "intermediate-delay-percentile": "77",
                  "high-delay-percentile": "98"
                }
              }
            }
          }
        ],
        "vpn-pm-type": {
          "inter-vpn-access-interface": {
            "inter-vpn-access-interface": [null]
          }
        }
      }
    }
  ]
}
</sourcecode>
        </figure>
      </section>
    </section>
    <section numbered="false" toc="include" removeInRFC="false" pn="section-appendix.b">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t indent="0" pn="section-appendix.b-1">Thanks to <contact fullname="Joe Clarke"/>, <contact fullname="Adrian Farrel"/>, <contact fullname="Tom Petch"/>, <contact fullname="Greg Mirsky"/>, <contact fullname="Roque       Gagliano"/>, <contact fullname="Erez Segev"/>, and <contact fullname="Dhruv Dhody"/> for reviewing and providing
      important input to this document.</t>
      <t indent="0" pn="section-appendix.b-2">This work is partially supported by the European Commission under
      Horizon 2020 Secured autonomic traffic
      management for a Tera of SDN flows (Teraflow) project (grant agreement number 101015857).</t>
    </section>
    <section numbered="false" toc="include" removeInRFC="false" pn="section-appendix.c">
      <name slugifiedName="name-contributors">Contributors</name>
      <t indent="0" pn="section-appendix.c-1">The following authors contributed significantly to this document:</t>
      <contact fullname="Michale Wang">
        <organization showOnFrontPage="true">Huawei</organization>
        <address>
          <email>wangzitao@huawei.com</email>
        </address>
      </contact>
      <contact fullname="Roni Even">
        <organization showOnFrontPage="true">Huawei</organization>
        <address>
          <email>ron.even.tlv@gmail.com</email>
        </address>
      </contact>
      <contact fullname="Change Liu">
        <organization showOnFrontPage="true">China Unicom</organization>
        <address>
          <email>liuc131@chinaunicom.cn</email>
        </address>
      </contact>
      <contact fullname="Honglei Xu">
        <organization showOnFrontPage="true">China Telecom</organization>
        <address>
          <email>xuhl6@chinatelecom.cn</email>
        </address>
      </contact>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.d">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author fullname="Bo Wu" initials="B." role="editor" surname="Wu">
        <organization showOnFrontPage="true">Huawei</organization>
        <address>
          <postal>
            <extaddr>Yuhua District</extaddr>
            <street>101 Software Avenue</street>
            <city>Nanjing</city>
            <region>Jiangsu</region>
            <code>210012</code>
            <country>China</country>
          </postal>
          <email>lana.wubo@huawei.com</email>
        </address>
      </author>
      <author fullname="Qin Wu" initials="Q." role="editor" surname="Wu">
        <organization showOnFrontPage="true">Huawei</organization>
        <address>
          <postal>
            <extaddr>Yuhua District</extaddr>
            <street>101 Software Avenue</street>
            <city>Nanjing</city>
            <region>Jiangsu</region>
            <code>210012</code>
            <country>China</country>
          </postal>
          <email>bill.wu@huawei.com</email>
        </address>
      </author>
      <author fullname="Mohamed Boucadair" initials="M." role="editor" surname="Boucadair">
        <organization showOnFrontPage="true">Orange</organization>
        <address>
          <postal>
            <street>Rennes 35000</street>
            <country>France</country>
          </postal>
          <email>mohamed.boucadair@orange.com</email>
        </address>
      </author>
      <author fullname="Oscar Gonzalez de Dios" initials="O." surname="Gonzalez de Dios">
        <organization showOnFrontPage="true">Telefonica</organization>
        <address>
          <postal>
            <street/>
            <city>Madrid</city>
            <country>Spain</country>
          </postal>
          <email>oscar.gonzalezdedios@telefonica.com</email>
        </address>
      </author>
      <author fullname="Bin Wen" initials="B" surname="Wen">
        <organization showOnFrontPage="true">Comcast</organization>
        <address>
          <email>bin_wen@comcast.com</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
