Cisco-IOS-XR-ncs6k-qos-oper

This module contains a collection of YANG definitions for Cisco IOS-XR ncs6k-qos package operational data. This module contains...

  • Version: 2019-04-05

    Cisco-IOS-XR-ncs6k-qos-oper@2019-04-05


    
      module Cisco-IOS-XR-ncs6k-qos-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs6k-qos-oper";
    
        prefix ncs6k-qos-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-ncs6k-qos-oper-sub1 {
          revision-date "2019-04-05";
        }
    
        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 module contains a collection of YANG definitions
         for Cisco IOS-XR ncs6k-qos package operational data.
         
         This module contains definitions
         for the following management objects:
           platform-qos: SSE QoS EA operational data
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        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";
    
        container platform-qos {
          config false;
          description
            "SSE QoS EA operational data";
          container nodes {
            description
              "List of nodes with platform specific QoS
             configuration";
            list node {
              key "node-name";
              description
                "Node with platform specific QoS configuration";
              container qos-inconsistancy-details {
                description
                  "Inconsistancy Details";
                list detail {
                  description
                    "Details of warnings of each interface";
                  leaf interface-handle {
                    type uint32;
                    description
                      "Interface Handle";
                  }
    
                  leaf underlying-interface-handle {
                    type uint32;
                    description
                      "Underlying Interface Handle";
                  }
    
                  leaf npu-id {
                    type uint8;
                    description "NPU Id";
                  }
    
                  leaf policy-name {
                    type string {
                      length "0..64";
                    }
                    description "Policy name";
                  }
    
                  leaf direction {
                    type Sse-qosea-show-inc-dir;
                    description "Direction";
                  }
    
                  leaf inc-bitmap {
                    type uint32;
                    description
                      "Inconsistency Type Bitmap";
                  }
                }  // list detail
              }  // container qos-inconsistancy-details
    
              container aggregate-bw-enable {
                description
                  "Aggregate Bandwidth Enable";
                leaf is-active {
                  type boolean;
                  description
                    "Is Agg BW applied on any interface";
                }
    
                leaf interface-handle {
                  type uint32;
                  description "Interface Handle";
                }
              }  // container aggregate-bw-enable
    
              container bundle-interfaces {
                description
                  "QoS list of bundle interfaces";
                list bundle-interface {
                  key "interface-name";
                  description
                    "QoS interface names";
                  container member-interfaces {
                    description
                      "QoS list of member interfaces";
                    list member-interface {
                      key "interface-name";
                      description
                        "QoS interface names";
                      leaf interface-name {
                        type xr:Interface-name;
                        description
                          "Member interface";
                      }
    
                      container classes {
                        description
                          "QoS list of class names";
                        list class {
                          key "level-one-class-name";
                          description
                            "QoS policy class";
                          leaf level-one-class-name {
                            type string;
                            description
                              "QoS policy class name at level 1";
                          }
    
                          leaf level-two-class-name {
                            type string;
                            description
                              "QoS policy child class name at level 2";
                          }
    
                          leaf level-three-class-name {
                            type string;
                            description
                              "QoS policy child class name at level 3";
                          }
    
                          container config-max-rate {
                            description
                              "Configured maximum rate";
                            leaf policy-value {
                              type uint32;
                              description
                                "Policy value";
                            }
    
                            leaf policy-unit {
                              type Sse-qosea-show-policy-unit;
                              description
                                "Policy unit";
                            }
                          }  // container config-max-rate
    
                          container config-min-rate {
                            description
                              "Configured minimum rate";
                            leaf policy-value {
                              type uint32;
                              description
                                "Policy value";
                            }
    
                            leaf policy-unit {
                              type Sse-qosea-show-policy-unit;
                              description
                                "Policy unit";
                            }
                          }  // container config-min-rate
    
                          container config-queue-limit {
                            description
                              "Configured queue limit";
                            leaf policy-value {
                              type uint32;
                              description
                                "Policy value";
                            }
    
                            leaf policy-unit {
                              type Sse-qosea-show-policy-unit;
                              description
                                "Policy unit";
                            }
                          }  // container config-queue-limit
    
                          container config-policer-average-rate {
                            description
                              "Configured policer average rate";
                            leaf policy-value {
                              type uint32;
                              description
                                "Policy value";
                            }
    
                            leaf policy-unit {
                              type Sse-qosea-show-policy-unit;
                              description
                                "Policy unit";
                            }
                          }  // container config-policer-average-rate
    
                          container config-policer-peak-rate {
                            description
                              "Config policer peak rate";
                            leaf policy-value {
                              type uint32;
                              description
                                "Policy value";
                            }
    
                            leaf policy-unit {
                              type Sse-qosea-show-policy-unit;
                              description
                                "Policy unit";
                            }
                          }  // container config-policer-peak-rate
    
                          container config-policer-conform-burst {
                            description
                              "Configured policer conform burst";
                            leaf policy-value {
                              type uint32;
                              description
                                "Policy value";
                            }
    
                            leaf policy-unit {
                              type Sse-qosea-show-policy-unit;
                              description
                                "Policy unit";
                            }
                          }  // container config-policer-conform-burst
    
                          container config-policer-excess-burst {
                            description
                              "Configured policer excess burst";
                            leaf policy-value {
                              type uint32;
                              description
                                "Policy value";
                            }
    
                            leaf policy-unit {
                              type Sse-qosea-show-policy-unit;
                              description
                                "Policy unit";
                            }
                          }  // container config-policer-excess-burst
    
                          container conform-action {
                            description
                              "Conform action";
                            leaf action-type {
                              type Sse-qosea-show-action;
                              description
                                "Policer action type";
                            }
    
                            list mark {
                              description
                                "Action mark";
                              leaf mark-type {
                                type Sse-qosea-show-mark;
                                description
                                  "Mark type";
                              }
    
                              leaf mark-value {
                                type uint16;
                                description
                                  "Mark value";
                              }
                            }  // list mark
                          }  // container conform-action
    
                          container exceed-action {
                            description
                              "Exceed action";
                            leaf action-type {
                              type Sse-qosea-show-action;
                              description
                                "Policer action type";
                            }
    
                            list mark {
                              description
                                "Action mark";
                              leaf mark-type {
                                type Sse-qosea-show-mark;
                                description
                                  "Mark type";
                              }
    
                              leaf mark-value {
                                type uint16;
                                description
                                  "Mark value";
                              }
                            }  // list mark
                          }  // container exceed-action
    
                          container violate-action {
                            description
                              "Violate action";
                            leaf action-type {
                              type Sse-qosea-show-action;
                              description
                                "Policer action type";
                            }
    
                            list mark {
                              description
                                "Action mark";
                              leaf mark-type {
                                type Sse-qosea-show-mark;
                                description
                                  "Mark type";
                              }
    
                              leaf mark-value {
                                type uint16;
                                description
                                  "Mark value";
                              }
                            }  // list mark
                          }  // container violate-action
    
                          leaf class-level {
                            type Sse-qosea-show-level;
                            description
                              "Class level";
                          }
    
                          leaf schedule-entry-id {
                            type uint32;
                            description
                              "Schedule entry ID";
                          }
    
                          leaf hard-ware-schedule-entry-id {
                            type uint32;
                            description
                              "Hardware schedudle entry ID";
                          }
    
                          leaf egress-queue-id {
                            type int32;
                            description
                              "Egress Queue ID";
                          }
    
                          leaf queue-type {
                            type Sse-qosea-show-queue;
                            description
                              "Queue type";
                          }
    
                          leaf priority-level {
                            type Sse-qosea-show-hp-level;
                            description
                              "Priority level";
                          }
    
                          leaf bundle-queue-table-resource-handle {
                            type uint64;
                            description
                              "Bundle queue table resource handle";
                          }
    
                          leaf hardware-max-rate-kbps {
                            type uint32;
                            units "kbit/s";
                            description
                              "Hardware maximum rate in kbps";
                          }
    
                          leaf hardware-min-rate-kbps {
                            type uint32;
                            units "kbit/s";
                            description
                              "Hardware minimum rate in kbps";
                          }
    
                          leaf config-excess-bandwidth-percent {
                            type uint32;
                            units "percentage";
                            description
                              "Configured excess bandwidth percentage";
                          }
    
                          leaf config-excess-bandwidth-unit {
                            type uint32;
                            description
                              "Configured excess bandwidth unit";
                          }
    
                          leaf hardware-excess-bandwidth-weight {
                            type uint32;
                            description
                              "Hardware excess bandwidth weight";
                          }
    
                          leaf network-min-bandwidth-kbps {
                            type uint32;
                            description
                              "Network minimum Bandwith";
                          }
    
                          leaf hardware-queue-limit-bytes {
                            type uint64;
                            units "byte";
                            description
                              "Hardware queue limit in bytes";
                          }
    
                          leaf hardware-queue-limit-microseconds {
                            type uint64;
                            units "microsecond";
                            description
                              "Hardware queue limit in microseconds";
                          }
    
                          leaf policer-bucket-id {
                            type uint64;
                            description
                              "PolicerBucketID";
                          }
    
                          leaf hardware-policer-average-rate-kbps {
                            type uint32;
                            units "kbit/s";
                            description
                              "Hardware policer average in kbps";
                          }
    
                          leaf hardware-policer-peak-rate-kbps {
                            type uint32;
                            description
                              "Hardware policer peak rate";
                          }
    
                          leaf hardware-policer-conform-burst-bytes {
                            type uint32;
                            description
                              "Hardware policer conform burst";
                          }
    
                          leaf hardware-policer-excess-burst-bytes {
                            type uint32;
                            description
                              "Hardware policer excess burst";
                          }
    
                          leaf wred-resource-handle {
                            type uint64;
                            description
                              "WRED resource handle";
                          }
    
                          list ip-mark {
                            description
                              "IP mark";
                            leaf mark-type {
                              type Sse-qosea-show-mark;
                              description
                                "Mark type";
                            }
    
                            leaf mark-value {
                              type uint16;
                              description
                                "Mark value";
                            }
                          }  // list ip-mark
    
                          list common-mark {
                            description
                              "Common mark";
                            leaf mark-type {
                              type Sse-qosea-show-mark;
                              description
                                "Mark type";
                            }
    
                            leaf mark-value {
                              type uint16;
                              description
                                "Mark value";
                            }
                          }  // list common-mark
    
                          list mpls-mark {
                            description
                              "MPLS mark";
                            leaf mark-type {
                              type Sse-qosea-show-mark;
                              description
                                "Mark type";
                            }
    
                            leaf mark-value {
                              type uint16;
                              description
                                "Mark value";
                            }
                          }  // list mpls-mark
    
                          list wred {
                            description
                              "WRED parameters";
                            container wred-match-value {
                              description
                                "WRED match values";
                              list sse-qosea-show-red-match-value {
                                description
                                  "sse qosea show red match value";
                                leaf range-start {
                                  type uint8;
                                  description
                                    "Start value of a range";
                                }
    
                                leaf range-end {
                                  type uint8;
                                  description
                                    "End value of a range";
                                }
                              }  // list sse-qosea-show-red-match-value
                            }  // container wred-match-value
    
                            container config-min-threshold {
                              description
                                "Configured minimum threshold";
                              leaf policy-value {
                                type uint32;
                                description
                                  "Policy value";
                              }
    
                              leaf policy-unit {
                                type Sse-qosea-show-policy-unit;
                                description
                                  "Policy unit";
                              }
                            }  // container config-min-threshold
    
                            container config-max-threshold {
                              description
                                "Configured maximum threshold";
                              leaf policy-value {
                                type uint32;
                                description
                                  "Policy value";
                              }
    
                              leaf policy-unit {
                                type Sse-qosea-show-policy-unit;
                                description
                                  "Policy unit";
                              }
                            }  // container config-max-threshold
    
                            leaf wred-match-type {
                              type Sse-qosea-show-wred;
                              description
                                "WREDMatchType";
                            }
    
                            leaf hardware-min-threshold-bytes {
                              type uint32;
                              description
                                "Hardware minimum threshold";
                            }
    
                            leaf hardware-max-threshold-bytes {
                              type uint32;
                              description
                                "Hardware maximum threshold";
                            }
    
                            leaf first-segment {
                              type uint16;
                              description
                                "First segment";
                            }
    
                            leaf segment-size {
                              type uint32;
                              description
                                "Segment size";
                            }
                          }  // list wred
                        }  // list class
                      }  // container classes
    
                      container policy-details {
                        description
                          "Policy Details";
                        leaf npu-id {
                          type uint32;
                          description "NPU ID";
                        }
    
                        leaf interface-handle {
                          type uint32;
                          description
                            "InterfaceHandle";
                        }
    
                        leaf interface-bandwidth-kbps {
                          type uint32;
                          units "kbit/s";
                          description
                            "Interface Bandwidth (in kbps)";
                        }
    
                        leaf policy-name {
                          type string {
                            length "0..64";
                          }
                          description
                            "Policy name";
                        }
    
                        leaf total-number-of-classes {
                          type uint16;
                          description
                            "Number of Classes";
                        }
    
                        leaf stats-accounting-type {
                          type Qos-policy-account-enum;
                          description
                            "QoS Statistics Accounting Type";
                        }
    
                        leaf policy-status {
                          type Sse-qosea-show-policy-status;
                          description
                            "Policy Status";
                        }
    
                        leaf interface-status {
                          type Sse-qosea-show-intf-status;
                          description
                            "Interface Status";
                        }
                      }  // container policy-details
                    }  // list member-interface
                  }  // container member-interfaces
    
                  leaf interface-name {
                    type xr:Interface-name;
                    description
                      "Bundle interface name";
                  }
    
                  leaf npu-id {
                    type uint32;
                    description "NPU ID";
                  }
    
                  leaf qos-direction {
                    type string;
                    description
                      "The interface direction on which QoS is
                     applied to.";
                  }
    
                  container classes {
                    description
                      "QoS list of class names";
                    list class {
                      key "level-one-class-name";
                      description
                        "QoS policy class";
                      leaf level-one-class-name {
                        type string;
                        description
                          "QoS policy class name at level 1";
                      }
    
                      leaf level-two-class-name {
                        type string;
                        description
                          "QoS policy child class name at level 2";
                      }
    
                      leaf level-three-class-name {
                        type string;
                        description
                          "QoS policy child class name at level 3";
                      }
    
                      container config-max-rate {
                        description
                          "Configured maximum rate";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-max-rate
    
                      container config-min-rate {
                        description
                          "Configured minimum rate";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-min-rate
    
                      container config-queue-limit {
                        description
                          "Configured queue limit";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-queue-limit
    
                      container config-policer-average-rate {
                        description
                          "Configured policer average rate";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-policer-average-rate
    
                      container config-policer-peak-rate {
                        description
                          "Config policer peak rate";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-policer-peak-rate
    
                      container config-policer-conform-burst {
                        description
                          "Configured policer conform burst";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-policer-conform-burst
    
                      container config-policer-excess-burst {
                        description
                          "Configured policer excess burst";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-policer-excess-burst
    
                      container conform-action {
                        description
                          "Conform action";
                        leaf action-type {
                          type Sse-qosea-show-action;
                          description
                            "Policer action type";
                        }
    
                        list mark {
                          description
                            "Action mark";
                          leaf mark-type {
                            type Sse-qosea-show-mark;
                            description
                              "Mark type";
                          }
    
                          leaf mark-value {
                            type uint16;
                            description
                              "Mark value";
                          }
                        }  // list mark
                      }  // container conform-action
    
                      container exceed-action {
                        description
                          "Exceed action";
                        leaf action-type {
                          type Sse-qosea-show-action;
                          description
                            "Policer action type";
                        }
    
                        list mark {
                          description
                            "Action mark";
                          leaf mark-type {
                            type Sse-qosea-show-mark;
                            description
                              "Mark type";
                          }
    
                          leaf mark-value {
                            type uint16;
                            description
                              "Mark value";
                          }
                        }  // list mark
                      }  // container exceed-action
    
                      container violate-action {
                        description
                          "Violate action";
                        leaf action-type {
                          type Sse-qosea-show-action;
                          description
                            "Policer action type";
                        }
    
                        list mark {
                          description
                            "Action mark";
                          leaf mark-type {
                            type Sse-qosea-show-mark;
                            description
                              "Mark type";
                          }
    
                          leaf mark-value {
                            type uint16;
                            description
                              "Mark value";
                          }
                        }  // list mark
                      }  // container violate-action
    
                      leaf class-level {
                        type Sse-qosea-show-level;
                        description
                          "Class level";
                      }
    
                      leaf schedule-entry-id {
                        type uint32;
                        description
                          "Schedule entry ID";
                      }
    
                      leaf hard-ware-schedule-entry-id {
                        type uint32;
                        description
                          "Hardware schedudle entry ID";
                      }
    
                      leaf egress-queue-id {
                        type int32;
                        description
                          "Egress Queue ID";
                      }
    
                      leaf queue-type {
                        type Sse-qosea-show-queue;
                        description "Queue type";
                      }
    
                      leaf priority-level {
                        type Sse-qosea-show-hp-level;
                        description
                          "Priority level";
                      }
    
                      leaf bundle-queue-table-resource-handle {
                        type uint64;
                        description
                          "Bundle queue table resource handle";
                      }
    
                      leaf hardware-max-rate-kbps {
                        type uint32;
                        units "kbit/s";
                        description
                          "Hardware maximum rate in kbps";
                      }
    
                      leaf hardware-min-rate-kbps {
                        type uint32;
                        units "kbit/s";
                        description
                          "Hardware minimum rate in kbps";
                      }
    
                      leaf config-excess-bandwidth-percent {
                        type uint32;
                        units "percentage";
                        description
                          "Configured excess bandwidth percentage";
                      }
    
                      leaf config-excess-bandwidth-unit {
                        type uint32;
                        description
                          "Configured excess bandwidth unit";
                      }
    
                      leaf hardware-excess-bandwidth-weight {
                        type uint32;
                        description
                          "Hardware excess bandwidth weight";
                      }
    
                      leaf network-min-bandwidth-kbps {
                        type uint32;
                        description
                          "Network minimum Bandwith";
                      }
    
                      leaf hardware-queue-limit-bytes {
                        type uint64;
                        units "byte";
                        description
                          "Hardware queue limit in bytes";
                      }
    
                      leaf hardware-queue-limit-microseconds {
                        type uint64;
                        units "microsecond";
                        description
                          "Hardware queue limit in microseconds";
                      }
    
                      leaf policer-bucket-id {
                        type uint64;
                        description
                          "PolicerBucketID";
                      }
    
                      leaf hardware-policer-average-rate-kbps {
                        type uint32;
                        units "kbit/s";
                        description
                          "Hardware policer average in kbps";
                      }
    
                      leaf hardware-policer-peak-rate-kbps {
                        type uint32;
                        description
                          "Hardware policer peak rate";
                      }
    
                      leaf hardware-policer-conform-burst-bytes {
                        type uint32;
                        description
                          "Hardware policer conform burst";
                      }
    
                      leaf hardware-policer-excess-burst-bytes {
                        type uint32;
                        description
                          "Hardware policer excess burst";
                      }
    
                      leaf wred-resource-handle {
                        type uint64;
                        description
                          "WRED resource handle";
                      }
    
                      list ip-mark {
                        description "IP mark";
                        leaf mark-type {
                          type Sse-qosea-show-mark;
                          description
                            "Mark type";
                        }
    
                        leaf mark-value {
                          type uint16;
                          description
                            "Mark value";
                        }
                      }  // list ip-mark
    
                      list common-mark {
                        description
                          "Common mark";
                        leaf mark-type {
                          type Sse-qosea-show-mark;
                          description
                            "Mark type";
                        }
    
                        leaf mark-value {
                          type uint16;
                          description
                            "Mark value";
                        }
                      }  // list common-mark
    
                      list mpls-mark {
                        description "MPLS mark";
                        leaf mark-type {
                          type Sse-qosea-show-mark;
                          description
                            "Mark type";
                        }
    
                        leaf mark-value {
                          type uint16;
                          description
                            "Mark value";
                        }
                      }  // list mpls-mark
    
                      list wred {
                        description
                          "WRED parameters";
                        container wred-match-value {
                          description
                            "WRED match values";
                          list sse-qosea-show-red-match-value {
                            description
                              "sse qosea show red match value";
                            leaf range-start {
                              type uint8;
                              description
                                "Start value of a range";
                            }
    
                            leaf range-end {
                              type uint8;
                              description
                                "End value of a range";
                            }
                          }  // list sse-qosea-show-red-match-value
                        }  // container wred-match-value
    
                        container config-min-threshold {
                          description
                            "Configured minimum threshold";
                          leaf policy-value {
                            type uint32;
                            description
                              "Policy value";
                          }
    
                          leaf policy-unit {
                            type Sse-qosea-show-policy-unit;
                            description
                              "Policy unit";
                          }
                        }  // container config-min-threshold
    
                        container config-max-threshold {
                          description
                            "Configured maximum threshold";
                          leaf policy-value {
                            type uint32;
                            description
                              "Policy value";
                          }
    
                          leaf policy-unit {
                            type Sse-qosea-show-policy-unit;
                            description
                              "Policy unit";
                          }
                        }  // container config-max-threshold
    
                        leaf wred-match-type {
                          type Sse-qosea-show-wred;
                          description
                            "WREDMatchType";
                        }
    
                        leaf hardware-min-threshold-bytes {
                          type uint32;
                          description
                            "Hardware minimum threshold";
                        }
    
                        leaf hardware-max-threshold-bytes {
                          type uint32;
                          description
                            "Hardware maximum threshold";
                        }
    
                        leaf first-segment {
                          type uint16;
                          description
                            "First segment";
                        }
    
                        leaf segment-size {
                          type uint32;
                          description
                            "Segment size";
                        }
                      }  // list wred
                    }  // list class
                  }  // container classes
    
                  container policy-details {
                    description "Policy Details";
                    leaf npu-id {
                      type uint32;
                      description "NPU ID";
                    }
    
                    leaf interface-handle {
                      type uint32;
                      description
                        "InterfaceHandle";
                    }
    
                    leaf interface-bandwidth-kbps {
                      type uint32;
                      units "kbit/s";
                      description
                        "Interface Bandwidth (in kbps)";
                    }
    
                    leaf policy-name {
                      type string {
                        length "0..64";
                      }
                      description "Policy name";
                    }
    
                    leaf total-number-of-classes {
                      type uint16;
                      description
                        "Number of Classes";
                    }
    
                    leaf stats-accounting-type {
                      type Qos-policy-account-enum;
                      description
                        "QoS Statistics Accounting Type";
                    }
    
                    leaf policy-status {
                      type Sse-qosea-show-policy-status;
                      description
                        "Policy Status";
                    }
    
                    leaf interface-status {
                      type Sse-qosea-show-intf-status;
                      description
                        "Interface Status";
                    }
                  }  // container policy-details
                }  // list bundle-interface
              }  // container bundle-interfaces
    
              container qos-inconsistancy-brief {
                description
                  "Inconsistancy Brief";
                leaf-list summary {
                  type uint16;
                  description
                    "Number of warnings of each type";
                }
              }  // container qos-inconsistancy-brief
    
              container interfaces {
                description
                  "QoS list of interfaces";
                list interface {
                  key "interface-name";
                  description
                    "QoS interface names";
                  leaf interface-name {
                    type xr:Interface-name;
                    description
                      "The name of the interface";
                  }
    
                  leaf qos-direction {
                    type string;
                    description
                      "The interface direction on which QoS is
                     applied to.";
                  }
    
                  container classes {
                    description
                      "QoS list of class names";
                    list class {
                      key "level-one-class-name";
                      description
                        "QoS policy class";
                      leaf level-one-class-name {
                        type string;
                        description
                          "QoS policy class name at level 1";
                      }
    
                      leaf level-two-class-name {
                        type string;
                        description
                          "QoS policy child class name at level 2";
                      }
    
                      leaf level-three-class-name {
                        type string;
                        description
                          "QoS policy child class name at level 3";
                      }
    
                      container config-max-rate {
                        description
                          "Configured maximum rate";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-max-rate
    
                      container config-min-rate {
                        description
                          "Configured minimum rate";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-min-rate
    
                      container config-queue-limit {
                        description
                          "Configured queue limit";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-queue-limit
    
                      container config-policer-average-rate {
                        description
                          "Configured policer average rate";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-policer-average-rate
    
                      container config-policer-peak-rate {
                        description
                          "Config policer peak rate";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-policer-peak-rate
    
                      container config-policer-conform-burst {
                        description
                          "Configured policer conform burst";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-policer-conform-burst
    
                      container config-policer-excess-burst {
                        description
                          "Configured policer excess burst";
                        leaf policy-value {
                          type uint32;
                          description
                            "Policy value";
                        }
    
                        leaf policy-unit {
                          type Sse-qosea-show-policy-unit;
                          description
                            "Policy unit";
                        }
                      }  // container config-policer-excess-burst
    
                      container conform-action {
                        description
                          "Conform action";
                        leaf action-type {
                          type Sse-qosea-show-action;
                          description
                            "Policer action type";
                        }
    
                        list mark {
                          description
                            "Action mark";
                          leaf mark-type {
                            type Sse-qosea-show-mark;
                            description
                              "Mark type";
                          }
    
                          leaf mark-value {
                            type uint16;
                            description
                              "Mark value";
                          }
                        }  // list mark
                      }  // container conform-action
    
                      container exceed-action {
                        description
                          "Exceed action";
                        leaf action-type {
                          type Sse-qosea-show-action;
                          description
                            "Policer action type";
                        }
    
                        list mark {
                          description
                            "Action mark";
                          leaf mark-type {
                            type Sse-qosea-show-mark;
                            description
                              "Mark type";
                          }
    
                          leaf mark-value {
                            type uint16;
                            description
                              "Mark value";
                          }
                        }  // list mark
                      }  // container exceed-action
    
                      container violate-action {
                        description
                          "Violate action";
                        leaf action-type {
                          type Sse-qosea-show-action;
                          description
                            "Policer action type";
                        }
    
                        list mark {
                          description
                            "Action mark";
                          leaf mark-type {
                            type Sse-qosea-show-mark;
                            description
                              "Mark type";
                          }
    
                          leaf mark-value {
                            type uint16;
                            description
                              "Mark value";
                          }
                        }  // list mark
                      }  // container violate-action
    
                      leaf class-level {
                        type Sse-qosea-show-level;
                        description
                          "Class level";
                      }
    
                      leaf schedule-entry-id {
                        type uint32;
                        description
                          "Schedule entry ID";
                      }
    
                      leaf hard-ware-schedule-entry-id {
                        type uint32;
                        description
                          "Hardware schedudle entry ID";
                      }
    
                      leaf egress-queue-id {
                        type int32;
                        description
                          "Egress Queue ID";
                      }
    
                      leaf queue-type {
                        type Sse-qosea-show-queue;
                        description "Queue type";
                      }
    
                      leaf priority-level {
                        type Sse-qosea-show-hp-level;
                        description
                          "Priority level";
                      }
    
                      leaf bundle-queue-table-resource-handle {
                        type uint64;
                        description
                          "Bundle queue table resource handle";
                      }
    
                      leaf hardware-max-rate-kbps {
                        type uint32;
                        units "kbit/s";
                        description
                          "Hardware maximum rate in kbps";
                      }
    
                      leaf hardware-min-rate-kbps {
                        type uint32;
                        units "kbit/s";
                        description
                          "Hardware minimum rate in kbps";
                      }
    
                      leaf config-excess-bandwidth-percent {
                        type uint32;
                        units "percentage";
                        description
                          "Configured excess bandwidth percentage";
                      }
    
                      leaf config-excess-bandwidth-unit {
                        type uint32;
                        description
                          "Configured excess bandwidth unit";
                      }
    
                      leaf hardware-excess-bandwidth-weight {
                        type uint32;
                        description
                          "Hardware excess bandwidth weight";
                      }
    
                      leaf network-min-bandwidth-kbps {
                        type uint32;
                        description
                          "Network minimum Bandwith";
                      }
    
                      leaf hardware-queue-limit-bytes {
                        type uint64;
                        units "byte";
                        description
                          "Hardware queue limit in bytes";
                      }
    
                      leaf hardware-queue-limit-microseconds {
                        type uint64;
                        units "microsecond";
                        description
                          "Hardware queue limit in microseconds";
                      }
    
                      leaf policer-bucket-id {
                        type uint64;
                        description
                          "PolicerBucketID";
                      }
    
                      leaf hardware-policer-average-rate-kbps {
                        type uint32;
                        units "kbit/s";
                        description
                          "Hardware policer average in kbps";
                      }
    
                      leaf hardware-policer-peak-rate-kbps {
                        type uint32;
                        description
                          "Hardware policer peak rate";
                      }
    
                      leaf hardware-policer-conform-burst-bytes {
                        type uint32;
                        description
                          "Hardware policer conform burst";
                      }
    
                      leaf hardware-policer-excess-burst-bytes {
                        type uint32;
                        description
                          "Hardware policer excess burst";
                      }
    
                      leaf wred-resource-handle {
                        type uint64;
                        description
                          "WRED resource handle";
                      }
    
                      list ip-mark {
                        description "IP mark";
                        leaf mark-type {
                          type Sse-qosea-show-mark;
                          description
                            "Mark type";
                        }
    
                        leaf mark-value {
                          type uint16;
                          description
                            "Mark value";
                        }
                      }  // list ip-mark
    
                      list common-mark {
                        description
                          "Common mark";
                        leaf mark-type {
                          type Sse-qosea-show-mark;
                          description
                            "Mark type";
                        }
    
                        leaf mark-value {
                          type uint16;
                          description
                            "Mark value";
                        }
                      }  // list common-mark
    
                      list mpls-mark {
                        description "MPLS mark";
                        leaf mark-type {
                          type Sse-qosea-show-mark;
                          description
                            "Mark type";
                        }
    
                        leaf mark-value {
                          type uint16;
                          description
                            "Mark value";
                        }
                      }  // list mpls-mark
    
                      list wred {
                        description
                          "WRED parameters";
                        container wred-match-value {
                          description
                            "WRED match values";
                          list sse-qosea-show-red-match-value {
                            description
                              "sse qosea show red match value";
                            leaf range-start {
                              type uint8;
                              description
                                "Start value of a range";
                            }
    
                            leaf range-end {
                              type uint8;
                              description
                                "End value of a range";
                            }
                          }  // list sse-qosea-show-red-match-value
                        }  // container wred-match-value
    
                        container config-min-threshold {
                          description
                            "Configured minimum threshold";
                          leaf policy-value {
                            type uint32;
                            description
                              "Policy value";
                          }
    
                          leaf policy-unit {
                            type Sse-qosea-show-policy-unit;
                            description
                              "Policy unit";
                          }
                        }  // container config-min-threshold
    
                        container config-max-threshold {
                          description
                            "Configured maximum threshold";
                          leaf policy-value {
                            type uint32;
                            description
                              "Policy value";
                          }
    
                          leaf policy-unit {
                            type Sse-qosea-show-policy-unit;
                            description
                              "Policy unit";
                          }
                        }  // container config-max-threshold
    
                        leaf wred-match-type {
                          type Sse-qosea-show-wred;
                          description
                            "WREDMatchType";
                        }
    
                        leaf hardware-min-threshold-bytes {
                          type uint32;
                          description
                            "Hardware minimum threshold";
                        }
    
                        leaf hardware-max-threshold-bytes {
                          type uint32;
                          description
                            "Hardware maximum threshold";
                        }
    
                        leaf first-segment {
                          type uint16;
                          description
                            "First segment";
                        }
    
                        leaf segment-size {
                          type uint32;
                          description
                            "Segment size";
                        }
                      }  // list wred
                    }  // list class
                  }  // container classes
    
                  container policy-details {
                    description "Policy Details";
                    leaf npu-id {
                      type uint32;
                      description "NPU ID";
                    }
    
                    leaf interface-handle {
                      type uint32;
                      description
                        "InterfaceHandle";
                    }
    
                    leaf interface-bandwidth-kbps {
                      type uint32;
                      units "kbit/s";
                      description
                        "Interface Bandwidth (in kbps)";
                    }
    
                    leaf policy-name {
                      type string {
                        length "0..64";
                      }
                      description "Policy name";
                    }
    
                    leaf total-number-of-classes {
                      type uint16;
                      description
                        "Number of Classes";
                    }
    
                    leaf stats-accounting-type {
                      type Qos-policy-account-enum;
                      description
                        "QoS Statistics Accounting Type";
                    }
    
                    leaf policy-status {
                      type Sse-qosea-show-policy-status;
                      description
                        "Policy Status";
                    }
    
                    leaf interface-status {
                      type Sse-qosea-show-intf-status;
                      description
                        "Interface Status";
                    }
                  }  // container policy-details
                }  // list interface
              }  // container interfaces
    
              leaf node-name {
                type xr:Node-id;
                description "Node name";
              }
            }  // list node
          }  // container nodes
        }  // container platform-qos
      }  // module Cisco-IOS-XR-ncs6k-qos-oper
    

© 2023 YumaWorks, Inc. All rights reserved.