ietf-network-vpn-pm

This YANG module defines a model for network and VPN service performance monitoring (PM). Copyright (c) 2023 IETF Trust and the...

  • Version: 2023-03-20

    ietf-network-vpn-pm@2023-03-20


    
      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:   <https://datatracker.ietf.org/wg/opsawg/>
         WG List:  <mailto:opsawg@ietf.org>
    
         Editor: Bo Wu
              <lana.wubo@huawei.com>
    
         Editor: Mohamed Boucadair
              <mohamed.boucadair@orange.com>
    
         Editor: Qin Wu
              <bill.wu@huawei.com>
    
         Author: Oscar Gonzalez de Dios
              <oscar.gonzalezdedios@telefonica.com>
    
         Author: Bin Wen
              <bin_wen@comcast.com>";
    
        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.";
        }
      }  // module ietf-network-vpn-pm
    

© 2023 YumaWorks, Inc. All rights reserved.