Cisco-IOS-XR-perf-meas-oper-sub2

This submodule contains a collection of YANG definitions for Cisco IOS-XR perf-meas package operational data. Copyright (c) 201...

  • Version: 2021-06-02

    Cisco-IOS-XR-perf-meas-oper-sub2@2021-06-02


    
      submodule Cisco-IOS-XR-perf-meas-oper-sub2 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-perf-meas-oper {
            prefix Cisco-IOS-XR-perf-meas-oper;
        }
    
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
        import cisco-semver {
          prefix semver;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
         
         Postal: 170 West Tasman Drive
         San Jose, CA 95134
         
         Tel: +1 800 553-NETS
         
         E-mail: cs-yang@cisco.com";
    
        description
          "This submodule contains a collection of YANG definitions
         for Cisco IOS-XR perf-meas package operational data.
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-06-02" {
          description
            "Added session id to endpoint liveness bag.
           2021-04-17
             Removed liveness parameters from delay profile bag.
           2021-02-26
             Remove PM hidden show cli, loss, history packet.
           2021-02-16
             Remove liveness history and liveness detection verbose from sr-policy delay schema.
           2021-01-08
             Added srpolicy liveness schema.
           2021-01-08
             Added srpolicy liveness history schema and renamed liveness detection schema.
           2020-12-19
             Added schema for endpoint liveness profile.
           2020-12-02
             Add sr-policy liveness profile bag and oper schema.
           2020-11-26
             Update endpoint show command bags in order to support liveness-detection.
           2020-11-17
             Added new bag for PPS info. IosSetYangSchemaRev Cisco-IOS-XR-perf-meas-oper
           2020-10-27
             Added anomaly support for sr-policy min delay metrics.
           2020-10-27
             Added all endpoint show commands support and respective bags.
           2020-10-15
             Update probe running reason name for link down.
           2020-10-02
             Added anomaly support for interface min delay metrics.
           2020-08-06
             Added liveness session state history information.
           2020-07-23
             Fixed typos in perf-meas oper bag.";
        }
    
        revision "2020-06-24" {
          description
            "Update perf-meas oper schema task group.
           2020-04-10
           Added new TX error counter for next hop MAC missing.
           2020-03-31
           721 nohelp CLI for liveness, loopback, endpoint, src-port, named profile, distribution.
           2020-03-25
           Add trace id in PM session bag.
           2020-03-17
           Added new types counters to count different types of PM DM sessions.
           2020-03-09
           Added new types of probe running errors and counters for probe running errors.
           2020-02-24
           Modifid type of service knobs from array to integer.
           2020-02-21
           Modify router alert type
           2020-02-19
           Modifiy periodic minimum change value.
           2020-02-13
           Modifiy delay-measurement hisotry key words.
           2020-01-22
           Added a new advertisement reason for interface delay-measurement.
           2019-12-16
           Revision IOS XR 7.2.1 Added responder src address and num of hops for PM DM.
           2019-12-09
           Added new reason for DM probe not running.
           2019-11-18
           Revision IOS XR 7.2.1 Added EDT for Liveness state for SR Policy Candidate path atmoic path.";
        }
    
        revision "2019-10-19" {
          description
            "Added burst-interval-effective to oper data.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-12-13" {
          description
            "Revision IOS XR 7.0.1 Added delay measurment for SR Policy and RSVP-TE LSP.";
        }
    
        revision "2017-10-17" {
          description "Revision Zero.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "4.0.0";
        semver:module-version "3.0.0";
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        typedef Pm-rl-pps-pool {
          type enumeration {
            enum "single-pps-pool" {
              value 0;
              description "Single PPS Pool";
            }
            enum "multiple-pps-pool" {
              value 1;
              description "Multiple PPS Pool";
            }
          }
          description "PM PPS Pool Type";
        }
    
        typedef Pm-payload {
          type enumeration {
            enum "payload-type-pm-dm" {
              value 0;
              description "Payload type PM DM";
            }
            enum "payload-type-twamp-test" {
              value 1;
              description
                "Payload type TWAMP test";
            }
            enum "payload-type-pm-lm" {
              value 2;
              description "Payload type PM LM";
            }
          }
          description "PM Payload Type";
        }
    
        typedef Pm-encap-mode {
          type enumeration {
            enum "encap-mode-mpls" {
              value 0;
              description "Encap-mode MPLS";
            }
            enum "encap-mode-udp" {
              value 1;
              description "Encap-mode UDP";
            }
          }
          description "PM Packet Encapsulation";
        }
    
        typedef Pm-delay-mode {
          type enumeration {
            enum "delay-mode-one-way" {
              value 0;
              description
                "One-way delay-measurement mode";
            }
            enum "delay-mode-two-way" {
              value 1;
              description
                "Two-way delay-measurement mode";
            }
            enum "delay-mode-loopback" {
              value 2;
              description
                "Loopback delay-measurement mode";
            }
          }
          description "PM Delay Mode Type";
        }
    
        typedef Pm-measurement {
          type enumeration {
            enum "delay-measurement-type" {
              value 0;
              description
                "Delay Measurement Type";
            }
            enum "loss-measurement-type" {
              value 1;
              description
                "Loss Measurement Type";
            }
            enum "liveness-detection-type" {
              value 2;
              description
                "Liveness Detection Type";
            }
          }
          description "PM Measurement Type";
        }
    
        typedef Pm-transport {
          type enumeration {
            enum "interface-transport-type" {
              value 0;
              description
                "Transport type for interface";
            }
            enum "rsvp-te-transport-type" {
              value 1;
              description
                "Transport type for RSVP-TE LSP";
            }
            enum "sr-policy-transport-type" {
              value 2;
              description
                "Transport type for SR Policy";
            }
            enum "endpoiont-transport-type" {
              value 3;
              description
                "Transport type for endpoint";
            }
          }
          description "PM Transport Type";
        }
    
        typedef Pm-history {
          type enumeration {
            enum "history-type-probe" {
              value 0;
              description
                "History type for delay measurement probe info";
            }
            enum "history-type-packet" {
              value 1;
              description
                "History type for delay measurement packet info";
            }
            enum "history-type-aggregated" {
              value 2;
              description
                "History type for delay measurement aggregated
               info";
            }
            enum "history-type-advertisement" {
              value 3;
              description
                "History type for delay measurement
               advertisement info";
            }
            enum "history-type-liveness-state" {
              value 4;
              description
                "History type for liveness state change info";
            }
            enum "history-type-lm-probe" {
              value 5;
              description
                "History type for loss measurement probe info";
            }
            enum "history-type-lm-packet" {
              value 6;
              description
                "History type for loss measurement aggregation
               info";
            }
            enum "history-type-lm-aggregated" {
              value 7;
              description
                "History type for loss measurement advertisement
               info";
            }
            enum "history-type-lm-advertisement" {
              value 8;
              description
                "History type for loss measurement advertisement
               info";
            }
          }
          description "PM history types";
        }
    
        typedef Pm-probe-running-error-reason {
          type enumeration {
            enum "probe-is-running" {
              value 0;
              description
                "Probe is running without error";
            }
            enum "platform-not-supported" {
              value 1;
              description
                "Measurement is not supported on this plaftorm";
            }
            enum "nonv1-active-node" {
              value 2;
              description
                "Node is not V1 active";
            }
            enum "control-code-error" {
              value 3;
              description
                "An uncleared control code error was received";
            }
            enum "interface-admin-down" {
              value 4;
              description "Interface admin down";
            }
            enum "mpls-capability-not-present" {
              value 5;
              description
                "MPLS is not enabled on interface";
            }
            enum "interface-not-present" {
              value 6;
              description
                "Interface not present or preconfigured";
            }
            enum "ip-address-not-configured" {
              value 7;
              description
                "IP address is not present on interface";
            }
            enum "next-hop-not-configured" {
              value 8;
              description
                "Nexthop address not configured.";
            }
            enum
              "wrong-next-hop-ip-address-type" {
              value 9;
              description
                "Wrong nexthop address type configured";
            }
            enum "protocol-port-not-configured" {
              value 10;
              description
                "Protocol querier destination port missing";
            }
            enum "protocol-port-failed-to-open" {
              value 11;
              description
                "Protocol querier destination port failed to
               open";
            }
            enum
              "high-total-interface-packets-per-second" {
              value 12;
              description
                "Total interface delay packets per second
               exceeds 80% of the total maximum packets per
               second allowed";
            }
            enum
              "client-end-of-data-not-received" {
              value 13;
              description
                "Client end of data message has not been
               received";
            }
            enum "missing-reverse-path" {
              value 14;
              description
                "Missing reverse path for loopback measurement
               mode";
            }
            enum "process-not-in-run-state" {
              value 15;
              description
                "Process is not in run state";
            }
            enum "session-suspended" {
              value 16;
              description
                "Measurement has been suspended by user using
               exec command";
            }
            enum "profile-not-configured" {
              value 17;
              description
                "Profile is not configured";
            }
            enum "missing-source-address" {
              value 18;
              description
                "Endpoint source address is missing";
            }
            enum "interface-type-not-supported" {
              value 19;
              description
                "Delay measurement is not supported for this
               interface type";
            }
            enum "interface-non-default-vrf" {
              value 20;
              description
                "Interface is not in default VRF";
            }
            enum "interface-down" {
              value 21;
              description "Interface down";
            }
            enum "invalid-vrf" {
              value 22;
              description
                "unable to resolve (non-existing) VRF";
            }
            enum "invalid-source-address" {
              value 23;
              description
                "Endpoint source address is invalid - cannot be
               same as endpoint destination";
            }
            enum "invalid-seg-list" {
              value 24;
              description
                "Segment list is invalid or not created";
            }
            enum "invalid-seg-list-version" {
              value 25;
              description
                "Segment list data is outdated";
            }
            enum "interface-ipv4-protocol-down" {
              value 26;
              description
                "IPv4 protocol is down for this interface";
            }
            enum "interface-ipv6-protocol-down" {
              value 27;
              description
                "IPv6 protocol is down for this interface";
            }
            enum "interface-ip-protocol-down" {
              value 28;
              description
                "Both IPv4 protocol and IPv6 protocol are down
               for this interface";
            }
            enum
              "interface-next-hop-mac-missing" {
              value 29;
              description
                "Next hop MAC address missing";
            }
            enum "ep-loopback-without-seglist" {
              value 30;
              description
                "Endpoint Loopback mode without segment list";
            }
          }
          description
            "PM probe not running reason";
        }
    
        typedef Pm-advert-reason {
          type enumeration {
            enum "no-advertisements" {
              value 0;
              description
                "Periodic timer expired. No advertisements have
               occured";
            }
            enum
              "periodic-advertisement-threshold-average" {
              value 1;
              description
                "Periodic timer expired. Average value threshold
               crossed";
            }
            enum
              "periodic-advertisement-threshold-minimum" {
              value 2;
              description
                "Periodic timer expired. Minimum value threshold
               crossed";
            }
            enum
              "periodic-advertisement-threshold-maximum" {
              value 3;
              description
                "Periodic timer expired. Maximum value threshold
               crossed";
            }
            enum
              "periodic-advertisement-threshold-variance" {
              value 4;
              description
                "Periodic timer expired. Variance value
               threshold crossed";
            }
            enum
              "accelerated-advertisement-threshold-average" {
              value 5;
              description
                "Accelerated average value threshold crossed";
            }
            enum
              "accelerated-advertisement-threshold-minimum" {
              value 6;
              description
                "Accelerated minimum value threshold crossed";
            }
            enum
              "accelerated-advertisement-threshold-maximum" {
              value 7;
              description
                "Accelerated maximum value threshold crossed";
            }
            enum
              "accelerated-advertisement-upper-bound-average" {
              value 8;
              description
                "Accelerated average value upper bound crossed";
            }
            enum
              "accelerated-advertisement-upper-bound-minimum" {
              value 9;
              description
                "Accelerated minimum value upper bound crossed";
            }
            enum
              "accelerated-advertisement-upper-bound-maximum" {
              value 10;
              description
                "Accelerated maximum value upper bound crossed";
            }
            enum
              "anomaly-check-advertisement-min-dynamic-delay" {
              value 11;
              description
                "Min delay A flag toggled and dynamic delay
               measurement is in effect";
            }
            enum
              "anomaly-check-advertisement-min-static-delay" {
              value 12;
              description
                "Min delay A flag toggled and static delay is in
               effect";
            }
            enum "advertisement-enabled" {
              value 13;
              description
                "Advertisement enabled";
            }
            enum "advertisement-disabled" {
              value 14;
              description
                "Advertisement disabled";
            }
            enum "session-unconfigured" {
              value 15;
              description "Session unconfigured";
            }
            enum "clear-cli-command" {
              value 16;
              description
                "Session cleared via CLI";
            }
            enum "advertise-delay-config" {
              value 17;
              description
                "Advertise delay config";
            }
            enum "advertise-delay-unconfig" {
              value 18;
              description
                "Advertise delay unconfig";
            }
            enum "received-control-code-error" {
              value 19;
              description
                "Recevied control code error, as per RFC 6374,
               from the responder";
            }
            enum "first-advertisement" {
              value 20;
              description "First advertisement";
            }
            enum "link-is-down" {
              value 21;
              description
                "Link is in down state";
            }
            enum "new-child-session" {
              value 22;
              description
                "Advertisement occured due to a new child
               session";
            }
            enum "invalid-measurement" {
              value 23;
              description
                "Performance measurement metrics withdrawn due
               to measurement error";
            }
            enum
              "dynamic-delay-measurement-in-effect" {
              value 24;
              description
                "Advertisement occured due to dynamic delay
               measurement is in effect";
            }
          }
          description "PM advertisement reason";
        }
    
        typedef Pm-xtc-srpolicy-origin {
          type enumeration {
            enum "candidate-path-origin-invalid" {
              value 0;
              description "Invalid Origin Type";
            }
            enum "candidate-path-origin-pce" {
              value 10;
              description
                "Candidate-path From PCE";
            }
            enum "candidate-path-origin-bgp" {
              value 20;
              description
                "Candidate-path From BGP";
            }
            enum
              "candidate-path-origin-configured" {
              value 30;
              description
                "Candidate-path From Configuration";
            }
          }
          description
            "Candidate-path Orign Type Shared By PM And XTC";
        }
    
        typedef Pm-ipv6-addr {
          type inet:ipv6-address;
          description "Pm ipv6 addr";
        }
    
        typedef Pm-ipv4-addr {
          type inet:ipv4-address;
          description "Pm ipv4 addr";
        }
    
        typedef Pm-addr {
          type enumeration {
            enum "ipv4" {
              value 0;
              description "IPv4";
            }
            enum "ipv6" {
              value 1;
              description "IPv6";
            }
            enum "unknown" {
              value 2;
              description "Unknown";
            }
          }
          description "Type of PM address";
        }
      }  // submodule Cisco-IOS-XR-perf-meas-oper-sub2
    

© 2023 YumaWorks, Inc. All rights reserved.