Cisco-IOS-XR-asr9k-qos-oper-sub2

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

  • Version: 2021-04-09

    Cisco-IOS-XR-asr9k-qos-oper-sub2@2021-04-09


    
      submodule Cisco-IOS-XR-asr9k-qos-oper-sub2 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-asr9k-qos-oper {
            prefix Cisco-IOS-XR-asr9k-qos-oper;
        }
    
        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 asr9k-qos package operational data.
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-04-09" {
          description
            "pi changes to support wred drop probability";
        }
    
        revision "2020-12-23" {
          description
            "Introduced an CLI to show qos performance stats";
        }
    
        revision "2019-09-30" {
          description
            "YANG support for PWHE interface";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.0";
    
        typedef Shape-profiletype-v2 {
          type enumeration {
            enum "invalid" {
              value 0;
              description
                "Shape Profile Type Invalid";
            }
            enum "always" {
              value 1;
              description
                "Shape Profile Type Always";
            }
            enum "never" {
              value 2;
              description
                "Shape Profile Type Never";
            }
            enum "explicit" {
              value 3;
              description
                "Shape Profile Type Explicit";
            }
            enum "scale" {
              value 4;
              description
                "Shape Profile Type Scale";
            }
            enum "grid" {
              value 5;
              description
                "Shape Profile Type Grid";
            }
          }
          description "SHAPE profile type";
        }
    
        typedef Action {
          type enumeration {
            enum "police-transmit" {
              value 0;
              description
                "Police action transmit";
            }
            enum "police-set-transmit" {
              value 1;
              description
                "Police action set transmit";
            }
            enum "police-drop" {
              value 2;
              description "Police action drop";
            }
            enum "police-unknown" {
              value 3;
              description
                "Police action unknown";
            }
          }
          description "Action type";
        }
    
        typedef Action-opcode {
          type enumeration {
            enum "precedence" {
              value 0;
              description "Precedence";
            }
            enum "dscp" {
              value 1;
              description "DSCP";
            }
            enum "discard-class" {
              value 2;
              description "Discard class";
            }
            enum "qos-group" {
              value 3;
              description "QoS group";
            }
            enum "cos-inner" {
              value 4;
              description "COS inner";
            }
            enum "cos" {
              value 5;
              description "COS";
            }
            enum "exp-top" {
              value 6;
              description "EXP top";
            }
            enum "exp-imp" {
              value 7;
              description "EXP IMP";
            }
            enum "tunnel-precedence" {
              value 8;
              description "Tunnel precedence";
            }
            enum "tunnel-dscp" {
              value 9;
              description "Tunnel DSCP";
            }
            enum "itag-dei" {
              value 10;
              description "ITAG DEI";
            }
            enum "itag-cos" {
              value 11;
              description "ITAG COS";
            }
            enum "cos-imposition" {
              value 12;
              description "COS imposition";
            }
            enum "dei-imposition" {
              value 13;
              description "DEI imposition";
            }
            enum "dei" {
              value 14;
              description "DEI";
            }
            enum "no-marking" {
              value 15;
              description "No marking";
            }
          }
          description "Action opcode";
        }
    
        typedef Wred {
          type enumeration {
            enum "wred-cos" {
              value 0;
              description "WRED based on COS";
            }
            enum "wred-dscp" {
              value 1;
              description "WRED based on DSCP";
            }
            enum "wred-precedence" {
              value 2;
              description
                "WRED based on Precedence";
            }
            enum "wred-discard-class" {
              value 3;
              description
                "WRED based on discard class";
            }
            enum "wred-mpls-exp" {
              value 4;
              description
                "WRED based on MPLS EXP";
            }
            enum "red-with-user-min-max" {
              value 5;
              description
                "RED with user defined min and max";
            }
            enum "red-with-default-min-max" {
              value 6;
              description
                "RED with default min and max";
            }
            enum "wred-dei" {
              value 7;
              description "WRED DEI";
            }
          }
          description "WRED type";
        }
    
        typedef Tb-algorithm {
          type enumeration {
            enum "inactive" {
              value 0;
              description
                "Inactive, configured but disabled";
            }
            enum "single" {
              value 1;
              description "Single token bucket";
            }
            enum "single-rate-tcm" {
              value 2;
              description
                "Single rate three color marker";
            }
            enum "two-rate-tcm" {
              value 3;
              description
                "Two rate three color marker";
            }
            enum "mef-tcm" {
              value 4;
              description
                "Allows coupling between CIR and PIR tb's";
            }
            enum "dummy" {
              value 5;
              description
                "Internal dummy token bucket for coupled-policer
               child";
            }
          }
          description "Tokenbucket type";
        }
    
        typedef Queue {
          type enumeration {
            enum "port-default" {
              value 0;
              description "Port default queue";
            }
            enum "class-default" {
              value 1;
              description
                "The default queue in this policy";
            }
            enum "priority1-queue" {
              value 2;
              description
                "Create the priority 1 queue in the level which
               will be shared by other p1 classes";
            }
            enum "priority2-queue" {
              value 3;
              description
                "Create the priority 2 queue in the level, which
               will be shared by other p2 classes";
            }
            enum "priority3-queue" {
              value 4;
              description
                "Create the priority 3 queue in the level, which
               will be shared by other p3 classes";
            }
            enum "priority4-queue" {
              value 5;
              description
                "Create the priority 4 queue in the level, which
               will be shared by other p4 classes";
            }
            enum "priority5-queue" {
              value 6;
              description
                "Create the priority 5 queue in the level, which
               will be shared by other p5 classes";
            }
            enum "priority6-queue" {
              value 7;
              description
                "Create the priority 6 queue in the level, which
               will be shared by other p6 classes";
            }
            enum "priority7-queue" {
              value 8;
              description
                "Create the priority 7 queue in the level, which
               will be shared by other p7 classes";
            }
            enum "first-p1-class-name" {
              value 9;
              description
                "Current level's priority 1 queue";
            }
            enum "first-p2-class-name" {
              value 10;
              description
                "Current level's priority 2 queue";
            }
            enum "first-p3-class-name" {
              value 11;
              description
                "Current level's priority 3 queue";
            }
            enum "first-p4-class-name" {
              value 12;
              description
                "Current level's priority 4 queue";
            }
            enum "first-p5-class-name" {
              value 13;
              description
                "Current level's priority 5 queue";
            }
            enum "first-p6-class-name" {
              value 14;
              description
                "Current level's priority 6 queue";
            }
            enum "first-p7-class-name" {
              value 15;
              description
                "Current level's priority 7 queue";
            }
            enum "port-priority1" {
              value 16;
              description
                "Port priority 1 queue";
            }
            enum "port-priority2" {
              value 17;
              description
                "Port priority 2 queue";
            }
            enum "port-priority3" {
              value 18;
              description
                "Port priority 3 queue";
            }
            enum "port-priority4" {
              value 19;
              description
                "Port priority 4 queue";
            }
            enum "port-priority5" {
              value 20;
              description
                "Port priority 5 queue";
            }
            enum "port-priority6" {
              value 21;
              description
                "Port priority 6 queue";
            }
            enum "port-priority7" {
              value 22;
              description
                "Port priority 7 queue";
            }
            enum "new" {
              value 23;
              description
                "Create a new queue for this class";
            }
            enum "parent-class" {
              value 24;
              description "Under parent queue";
            }
            enum "priority1" {
              value 25;
              description "Priority 1";
            }
            enum "priority2" {
              value 26;
              description "Priority 2";
            }
            enum "priority3" {
              value 27;
              description "Priority 3";
            }
            enum "priority4" {
              value 28;
              description "Priority 4";
            }
            enum "priority5" {
              value 29;
              description "Priority 5";
            }
            enum "priority6" {
              value 30;
              description "Priority 6";
            }
            enum "priority7" {
              value 31;
              description "Priority 7";
            }
            enum "priority-ignored-normal" {
              value 32;
              description
                "Priority ignored level";
            }
            enum "normal-priority" {
              value 33;
              description "Normal priority";
            }
            enum "class-unknown" {
              value 34;
              description "Class unknown";
            }
            enum "unknown-priority" {
              value 35;
              description "Unknown priority";
            }
          }
          description "Queue type";
        }
    
        typedef Qos-unit {
          type enumeration {
            enum "invalid" {
              value 0;
              description "Invalid type";
            }
            enum "bytes" {
              value 1;
              description "Bytes";
            }
            enum "kilobytes" {
              value 2;
              description "Kilobytes";
            }
            enum "megabytes" {
              value 3;
              description "Megabytes";
            }
            enum "gigabytes" {
              value 4;
              description "Gigabytes";
            }
            enum "bps" {
              value 5;
              description "Bits per second";
            }
            enum "kbps" {
              value 6;
              description "Kilo bits per second";
            }
            enum "mbps" {
              value 7;
              description "Mega bits per second";
            }
            enum "gbps" {
              value 8;
              description "Giga bits per second";
            }
            enum "cells-per-second" {
              value 9;
              description "Cells per second";
            }
            enum "packets-per-second" {
              value 10;
              description "Packets per second";
            }
            enum "microsecond" {
              value 11;
              description "Microsecond";
            }
            enum "millisecond" {
              value 12;
              description "Millisecond";
            }
            enum "packets" {
              value 13;
              description "Number of packets";
            }
            enum "cells" {
              value 14;
              description "Number of cells";
            }
            enum "percentage" {
              value 15;
              description "Percentage";
            }
            enum "ratio" {
              value 16;
              description "Ratio";
            }
          }
          description "QoS parameter unit";
        }
      }  // submodule Cisco-IOS-XR-asr9k-qos-oper-sub2
    

© 2023 YumaWorks, Inc. All rights reserved.