Cisco-IOS-XR-skp-qos-oper

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

  • Version: 2021-04-07

    Cisco-IOS-XR-skp-qos-oper@2021-04-07


    
      module Cisco-IOS-XR-skp-qos-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-skp-qos-oper";
    
        prefix skp-qos-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-skp-qos-oper-sub2 {
          revision-date "2021-04-07";
        }
        include Cisco-IOS-XR-skp-qos-oper-sub1 {
          revision-date "2021-04-07";
        }
    
        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 skp-qos package operational data.
    
    This module contains definitions
    for the following management objects:
      platform-qos: QoS Skywarp platform operational data
      platform-qos-ea: QoS-EA Skywarp platform operational data
    
    Copyright (c) 2013-2021 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2021-04-07" {
          description
            "Added new policy param unit for inverse ratio";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2016-02-18" {
          description
            "Implementing Oper Yang Model";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.0.1";
    
        container platform-qos {
          config false;
          description
            "QoS Skywarp platform 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 bundle-interfaces {
                description
                  "QoS list of bundle interfaces";
                list bundle-interface {
                  key "interface-name";
                  description
                    "QoS interface name";
                  container member-interfaces {
                    description
                      "QoS list of member interfaces";
                    list member-interface {
                      key "interface-name";
                      description
                        "QoS interface name";
                      container bundle-input {
                        description
                          "QoS policy direction input";
                        container header {
                          description
                            "QoS EA policy header";
                          leaf interface-name {
                            type string {
                              length "0..101";
                            }
                            description
                              "Interface Name";
                          }
    
                          leaf policy-name {
                            type string {
                              length "0..65";
                            }
                            description
                              "Policy name";
                          }
    
                          leaf direction {
                            type string {
                              length "0..11";
                            }
                            description
                              "Direction";
                          }
    
                          leaf classes {
                            type uint16;
                            description
                              "Number of classes";
                          }
                        }  // container header
    
                        container interface-parameters {
                          description
                            "QoS Interface Parameters";
                          container interface-config-rate {
                            description
                              "Interface Configured Rate";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container interface-config-rate
    
                          container interface-program-rate {
                            description
                              "Interface Programmed Rate";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container interface-program-rate
    
                          container port-shaper-rate {
                            description
                              "Port Shaper Rate";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container port-shaper-rate
                        }  // container interface-parameters
    
                        container skywarp-qos-policy-class {
                          description
                            "Skywarp QoS policy class details";
                          list qos-show-pclass-st {
                            description
                              "qos show pclass st";
                            container queue {
                              description
                                "QoS Queue parameters";
                              leaf queue-id {
                                type uint32;
                                description
                                  "Queue ID";
                              }
    
                              leaf queue-type {
                                type string {
                                  length
                                    "0..101";
                                }
                                description
                                  "Queue Type";
                              }
                            }  // container queue
    
                            container shape {
                              description
                                "QoS EA Shaper parameters";
                              container pir {
                                description
                                  "PIR in kbps";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container pir
    
                              container pbs {
                                description
                                  "PBS in bytes";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container pbs
                            }  // container shape
    
                            container wfq {
                              description
                                "QoS WFQ parameters";
                              container committed-weight {
                                description
                                  "Committed Weight";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container committed-weight
    
                              container programmed-wfq {
                                description
                                  "QoS Programmed WFQ parameters";
                                container bandwidth {
                                  description
                                    "Bandwidth";
                                  leaf value {
                                    type uint32;
                                    description
                                      "Config value";
                                  }
    
                                  leaf unit {
                                    type Qos-unit;
                                    description
                                      "Config unit";
                                  }
                                }  // container bandwidth
    
                                container sum-of-bandwidth {
                                  description
                                    "Sum of Bandwidth";
                                  leaf value {
                                    type uint32;
                                    description
                                      "Config value";
                                  }
    
                                  leaf unit {
                                    type Qos-unit;
                                    description
                                      "Config unit";
                                  }
                                }  // container sum-of-bandwidth
    
                                leaf excess-ratio {
                                  type uint16;
                                  description
                                    "Excess Ratio";
                                }
                              }  // container programmed-wfq
    
                              leaf excess-weight {
                                type uint16;
                                description
                                  "Excess Weight";
                              }
                            }  // container wfq
    
                            container police {
                              description
                                "QoS Policer parameters";
                              container cir {
                                description
                                  "CIR";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container cir
    
                              container cbs {
                                description
                                  "CBS";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container cbs
    
                              leaf policer-id {
                                type uint32;
                                description
                                  "policer ID";
                              }
    
                              leaf policer-type {
                                type Tb-algorithm;
                                description
                                  "Policer type";
                              }
                            }  // container police
    
                            container marking {
                              description
                                "QoS Mark parameters";
                              container mark-only {
                                description
                                  "Mark Only";
                                leaf action-type {
                                  type Action;
                                  description
                                    "Action type";
                                }
    
                                list mark-detail {
                                  max-elements
                                    2;
                                  description
                                    "Mark value";
                                  leaf mark-value {
                                    type uint8;
                                    description
                                      "Mark value";
                                  }
    
                                  leaf action-opcode {
                                    type Action-opcode;
                                    description
                                      "Action opcode";
                                  }
                                }  // list mark-detail
                              }  // container mark-only
    
                              container police-conform {
                                description
                                  "Police conform mark";
                                leaf action-type {
                                  type Action;
                                  description
                                    "Action type";
                                }
    
                                list mark-detail {
                                  max-elements
                                    2;
                                  description
                                    "Mark value";
                                  leaf mark-value {
                                    type uint8;
                                    description
                                      "Mark value";
                                  }
    
                                  leaf action-opcode {
                                    type Action-opcode;
                                    description
                                      "Action opcode";
                                  }
                                }  // list mark-detail
                              }  // container police-conform
    
                              container police-exceed {
                                description
                                  "Police exceed mark";
                                leaf action-type {
                                  type Action;
                                  description
                                    "Action type";
                                }
    
                                list mark-detail {
                                  max-elements
                                    2;
                                  description
                                    "Mark value";
                                  leaf mark-value {
                                    type uint8;
                                    description
                                      "Mark value";
                                  }
    
                                  leaf action-opcode {
                                    type Action-opcode;
                                    description
                                      "Action opcode";
                                  }
                                }  // list mark-detail
                              }  // container police-exceed
                            }  // container marking
    
                            leaf class-level {
                              type uint8;
                              description
                                "Class level";
                            }
    
                            leaf class-name {
                              type string {
                                length "0..65";
                              }
                              description
                                "Class name";
                            }
                          }  // list qos-show-pclass-st
                        }  // container skywarp-qos-policy-class
                      }  // container bundle-input
    
                      container bundle-output {
                        description
                          "QoS policy direction output";
                        container header {
                          description
                            "QoS EA policy header";
                          leaf interface-name {
                            type string {
                              length "0..101";
                            }
                            description
                              "Interface Name";
                          }
    
                          leaf policy-name {
                            type string {
                              length "0..65";
                            }
                            description
                              "Policy name";
                          }
    
                          leaf direction {
                            type string {
                              length "0..11";
                            }
                            description
                              "Direction";
                          }
    
                          leaf classes {
                            type uint16;
                            description
                              "Number of classes";
                          }
                        }  // container header
    
                        container interface-parameters {
                          description
                            "QoS Interface Parameters";
                          container interface-config-rate {
                            description
                              "Interface Configured Rate";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container interface-config-rate
    
                          container interface-program-rate {
                            description
                              "Interface Programmed Rate";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container interface-program-rate
    
                          container port-shaper-rate {
                            description
                              "Port Shaper Rate";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container port-shaper-rate
                        }  // container interface-parameters
    
                        container skywarp-qos-policy-class {
                          description
                            "Skywarp QoS policy class details";
                          list qos-show-pclass-st {
                            description
                              "qos show pclass st";
                            container queue {
                              description
                                "QoS Queue parameters";
                              leaf queue-id {
                                type uint32;
                                description
                                  "Queue ID";
                              }
    
                              leaf queue-type {
                                type string {
                                  length
                                    "0..101";
                                }
                                description
                                  "Queue Type";
                              }
                            }  // container queue
    
                            container shape {
                              description
                                "QoS EA Shaper parameters";
                              container pir {
                                description
                                  "PIR in kbps";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container pir
    
                              container pbs {
                                description
                                  "PBS in bytes";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container pbs
                            }  // container shape
    
                            container wfq {
                              description
                                "QoS WFQ parameters";
                              container committed-weight {
                                description
                                  "Committed Weight";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container committed-weight
    
                              container programmed-wfq {
                                description
                                  "QoS Programmed WFQ parameters";
                                container bandwidth {
                                  description
                                    "Bandwidth";
                                  leaf value {
                                    type uint32;
                                    description
                                      "Config value";
                                  }
    
                                  leaf unit {
                                    type Qos-unit;
                                    description
                                      "Config unit";
                                  }
                                }  // container bandwidth
    
                                container sum-of-bandwidth {
                                  description
                                    "Sum of Bandwidth";
                                  leaf value {
                                    type uint32;
                                    description
                                      "Config value";
                                  }
    
                                  leaf unit {
                                    type Qos-unit;
                                    description
                                      "Config unit";
                                  }
                                }  // container sum-of-bandwidth
    
                                leaf excess-ratio {
                                  type uint16;
                                  description
                                    "Excess Ratio";
                                }
                              }  // container programmed-wfq
    
                              leaf excess-weight {
                                type uint16;
                                description
                                  "Excess Weight";
                              }
                            }  // container wfq
    
                            container police {
                              description
                                "QoS Policer parameters";
                              container cir {
                                description
                                  "CIR";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container cir
    
                              container cbs {
                                description
                                  "CBS";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container cbs
    
                              leaf policer-id {
                                type uint32;
                                description
                                  "policer ID";
                              }
    
                              leaf policer-type {
                                type Tb-algorithm;
                                description
                                  "Policer type";
                              }
                            }  // container police
    
                            container marking {
                              description
                                "QoS Mark parameters";
                              container mark-only {
                                description
                                  "Mark Only";
                                leaf action-type {
                                  type Action;
                                  description
                                    "Action type";
                                }
    
                                list mark-detail {
                                  max-elements
                                    2;
                                  description
                                    "Mark value";
                                  leaf mark-value {
                                    type uint8;
                                    description
                                      "Mark value";
                                  }
    
                                  leaf action-opcode {
                                    type Action-opcode;
                                    description
                                      "Action opcode";
                                  }
                                }  // list mark-detail
                              }  // container mark-only
    
                              container police-conform {
                                description
                                  "Police conform mark";
                                leaf action-type {
                                  type Action;
                                  description
                                    "Action type";
                                }
    
                                list mark-detail {
                                  max-elements
                                    2;
                                  description
                                    "Mark value";
                                  leaf mark-value {
                                    type uint8;
                                    description
                                      "Mark value";
                                  }
    
                                  leaf action-opcode {
                                    type Action-opcode;
                                    description
                                      "Action opcode";
                                  }
                                }  // list mark-detail
                              }  // container police-conform
    
                              container police-exceed {
                                description
                                  "Police exceed mark";
                                leaf action-type {
                                  type Action;
                                  description
                                    "Action type";
                                }
    
                                list mark-detail {
                                  max-elements
                                    2;
                                  description
                                    "Mark value";
                                  leaf mark-value {
                                    type uint8;
                                    description
                                      "Mark value";
                                  }
    
                                  leaf action-opcode {
                                    type Action-opcode;
                                    description
                                      "Action opcode";
                                  }
                                }  // list mark-detail
                              }  // container police-exceed
                            }  // container marking
    
                            leaf class-level {
                              type uint8;
                              description
                                "Class level";
                            }
    
                            leaf class-name {
                              type string {
                                length "0..65";
                              }
                              description
                                "Class name";
                            }
                          }  // list qos-show-pclass-st
                        }  // container skywarp-qos-policy-class
                      }  // container bundle-output
    
                      leaf interface-name {
                        type xr:Interface-name;
                        description
                          "Memeber interface";
                      }
                    }  // list member-interface
                  }  // container member-interfaces
    
                  leaf interface-name {
                    type xr:Interface-name;
                    description
                      "Bundle interface name";
                  }
                }  // list bundle-interface
              }  // container bundle-interfaces
    
              container capability {
                description
                  "QoS system capability";
                leaf max-policy-maps {
                  type uint32;
                  description
                    "Maximum policy maps per system";
                }
    
                leaf max-policy-hierarchy {
                  type uint32;
                  description
                    "Maximum policy hierarchy";
                }
    
                leaf max-policy-name-length {
                  type uint32;
                  description
                    "Maximum policy name length";
                }
    
                leaf max-classes-per-policy {
                  type uint32;
                  description
                    "Maximum classes per policy";
                }
    
                leaf max-police-actions-per-class {
                  type uint32;
                  description
                    "Maximum police actions per class";
                }
    
                leaf max-marking-actions-per-class {
                  type uint32;
                  description
                    "Maximum marking action  per class";
                }
    
                leaf max-matches-per-class {
                  type uint32;
                  description
                    "Maximum matches per class";
                }
    
                leaf max-classmap-name-length {
                  type uint32;
                  description
                    "Maximum classmap name length";
                }
    
                leaf max-bundle-members {
                  type uint32;
                  description
                    "Maximum bundle members";
                }
              }  // container capability
    
              container interfaces {
                description
                  "QoS list of interfaces";
                list interface {
                  key "interface-name";
                  description
                    "QoS interface name";
                  container output {
                    description
                      "QoS policy direction egress";
                    container header {
                      description
                        "QoS EA policy header";
                      leaf interface-name {
                        type string {
                          length "0..101";
                        }
                        description
                          "Interface Name";
                      }
    
                      leaf policy-name {
                        type string {
                          length "0..65";
                        }
                        description
                          "Policy name";
                      }
    
                      leaf direction {
                        type string {
                          length "0..11";
                        }
                        description "Direction";
                      }
    
                      leaf classes {
                        type uint16;
                        description
                          "Number of classes";
                      }
                    }  // container header
    
                    container interface-parameters {
                      description
                        "QoS Interface Parameters";
                      container interface-config-rate {
                        description
                          "Interface Configured Rate";
                        leaf value {
                          type uint32;
                          description
                            "Config value";
                        }
    
                        leaf unit {
                          type Qos-unit;
                          description
                            "Config unit";
                        }
                      }  // container interface-config-rate
    
                      container interface-program-rate {
                        description
                          "Interface Programmed Rate";
                        leaf value {
                          type uint32;
                          description
                            "Config value";
                        }
    
                        leaf unit {
                          type Qos-unit;
                          description
                            "Config unit";
                        }
                      }  // container interface-program-rate
    
                      container port-shaper-rate {
                        description
                          "Port Shaper Rate";
                        leaf value {
                          type uint32;
                          description
                            "Config value";
                        }
    
                        leaf unit {
                          type Qos-unit;
                          description
                            "Config unit";
                        }
                      }  // container port-shaper-rate
                    }  // container interface-parameters
    
                    container skywarp-qos-policy-class {
                      description
                        "Skywarp QoS policy class details";
                      list qos-show-pclass-st {
                        description
                          "qos show pclass st";
                        container queue {
                          description
                            "QoS Queue parameters";
                          leaf queue-id {
                            type uint32;
                            description
                              "Queue ID";
                          }
    
                          leaf queue-type {
                            type string {
                              length "0..101";
                            }
                            description
                              "Queue Type";
                          }
                        }  // container queue
    
                        container shape {
                          description
                            "QoS EA Shaper parameters";
                          container pir {
                            description
                              "PIR in kbps";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container pir
    
                          container pbs {
                            description
                              "PBS in bytes";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container pbs
                        }  // container shape
    
                        container wfq {
                          description
                            "QoS WFQ parameters";
                          container committed-weight {
                            description
                              "Committed Weight";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container committed-weight
    
                          container programmed-wfq {
                            description
                              "QoS Programmed WFQ parameters";
                            container bandwidth {
                              description
                                "Bandwidth";
                              leaf value {
                                type uint32;
                                description
                                  "Config value";
                              }
    
                              leaf unit {
                                type Qos-unit;
                                description
                                  "Config unit";
                              }
                            }  // container bandwidth
    
                            container sum-of-bandwidth {
                              description
                                "Sum of Bandwidth";
                              leaf value {
                                type uint32;
                                description
                                  "Config value";
                              }
    
                              leaf unit {
                                type Qos-unit;
                                description
                                  "Config unit";
                              }
                            }  // container sum-of-bandwidth
    
                            leaf excess-ratio {
                              type uint16;
                              description
                                "Excess Ratio";
                            }
                          }  // container programmed-wfq
    
                          leaf excess-weight {
                            type uint16;
                            description
                              "Excess Weight";
                          }
                        }  // container wfq
    
                        container police {
                          description
                            "QoS Policer parameters";
                          container cir {
                            description "CIR";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container cir
    
                          container cbs {
                            description "CBS";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container cbs
    
                          leaf policer-id {
                            type uint32;
                            description
                              "policer ID";
                          }
    
                          leaf policer-type {
                            type Tb-algorithm;
                            description
                              "Policer type";
                          }
                        }  // container police
    
                        container marking {
                          description
                            "QoS Mark parameters";
                          container mark-only {
                            description
                              "Mark Only";
                            leaf action-type {
                              type Action;
                              description
                                "Action type";
                            }
    
                            list mark-detail {
                              max-elements 2;
                              description
                                "Mark value";
                              leaf mark-value {
                                type uint8;
                                description
                                  "Mark value";
                              }
    
                              leaf action-opcode {
                                type Action-opcode;
                                description
                                  "Action opcode";
                              }
                            }  // list mark-detail
                          }  // container mark-only
    
                          container police-conform {
                            description
                              "Police conform mark";
                            leaf action-type {
                              type Action;
                              description
                                "Action type";
                            }
    
                            list mark-detail {
                              max-elements 2;
                              description
                                "Mark value";
                              leaf mark-value {
                                type uint8;
                                description
                                  "Mark value";
                              }
    
                              leaf action-opcode {
                                type Action-opcode;
                                description
                                  "Action opcode";
                              }
                            }  // list mark-detail
                          }  // container police-conform
    
                          container police-exceed {
                            description
                              "Police exceed mark";
                            leaf action-type {
                              type Action;
                              description
                                "Action type";
                            }
    
                            list mark-detail {
                              max-elements 2;
                              description
                                "Mark value";
                              leaf mark-value {
                                type uint8;
                                description
                                  "Mark value";
                              }
    
                              leaf action-opcode {
                                type Action-opcode;
                                description
                                  "Action opcode";
                              }
                            }  // list mark-detail
                          }  // container police-exceed
                        }  // container marking
    
                        leaf class-level {
                          type uint8;
                          description
                            "Class level";
                        }
    
                        leaf class-name {
                          type string {
                            length "0..65";
                          }
                          description
                            "Class name";
                        }
                      }  // list qos-show-pclass-st
                    }  // container skywarp-qos-policy-class
                  }  // container output
    
                  container input {
                    description
                      "QoS policy direction ingress";
                    container header {
                      description
                        "QoS EA policy header";
                      leaf interface-name {
                        type string {
                          length "0..101";
                        }
                        description
                          "Interface Name";
                      }
    
                      leaf policy-name {
                        type string {
                          length "0..65";
                        }
                        description
                          "Policy name";
                      }
    
                      leaf direction {
                        type string {
                          length "0..11";
                        }
                        description "Direction";
                      }
    
                      leaf classes {
                        type uint16;
                        description
                          "Number of classes";
                      }
                    }  // container header
    
                    container interface-parameters {
                      description
                        "QoS Interface Parameters";
                      container interface-config-rate {
                        description
                          "Interface Configured Rate";
                        leaf value {
                          type uint32;
                          description
                            "Config value";
                        }
    
                        leaf unit {
                          type Qos-unit;
                          description
                            "Config unit";
                        }
                      }  // container interface-config-rate
    
                      container interface-program-rate {
                        description
                          "Interface Programmed Rate";
                        leaf value {
                          type uint32;
                          description
                            "Config value";
                        }
    
                        leaf unit {
                          type Qos-unit;
                          description
                            "Config unit";
                        }
                      }  // container interface-program-rate
    
                      container port-shaper-rate {
                        description
                          "Port Shaper Rate";
                        leaf value {
                          type uint32;
                          description
                            "Config value";
                        }
    
                        leaf unit {
                          type Qos-unit;
                          description
                            "Config unit";
                        }
                      }  // container port-shaper-rate
                    }  // container interface-parameters
    
                    container skywarp-qos-policy-class {
                      description
                        "Skywarp QoS policy class details";
                      list qos-show-pclass-st {
                        description
                          "qos show pclass st";
                        container queue {
                          description
                            "QoS Queue parameters";
                          leaf queue-id {
                            type uint32;
                            description
                              "Queue ID";
                          }
    
                          leaf queue-type {
                            type string {
                              length "0..101";
                            }
                            description
                              "Queue Type";
                          }
                        }  // container queue
    
                        container shape {
                          description
                            "QoS EA Shaper parameters";
                          container pir {
                            description
                              "PIR in kbps";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container pir
    
                          container pbs {
                            description
                              "PBS in bytes";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container pbs
                        }  // container shape
    
                        container wfq {
                          description
                            "QoS WFQ parameters";
                          container committed-weight {
                            description
                              "Committed Weight";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container committed-weight
    
                          container programmed-wfq {
                            description
                              "QoS Programmed WFQ parameters";
                            container bandwidth {
                              description
                                "Bandwidth";
                              leaf value {
                                type uint32;
                                description
                                  "Config value";
                              }
    
                              leaf unit {
                                type Qos-unit;
                                description
                                  "Config unit";
                              }
                            }  // container bandwidth
    
                            container sum-of-bandwidth {
                              description
                                "Sum of Bandwidth";
                              leaf value {
                                type uint32;
                                description
                                  "Config value";
                              }
    
                              leaf unit {
                                type Qos-unit;
                                description
                                  "Config unit";
                              }
                            }  // container sum-of-bandwidth
    
                            leaf excess-ratio {
                              type uint16;
                              description
                                "Excess Ratio";
                            }
                          }  // container programmed-wfq
    
                          leaf excess-weight {
                            type uint16;
                            description
                              "Excess Weight";
                          }
                        }  // container wfq
    
                        container police {
                          description
                            "QoS Policer parameters";
                          container cir {
                            description "CIR";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container cir
    
                          container cbs {
                            description "CBS";
                            leaf value {
                              type uint32;
                              description
                                "Config value";
                            }
    
                            leaf unit {
                              type Qos-unit;
                              description
                                "Config unit";
                            }
                          }  // container cbs
    
                          leaf policer-id {
                            type uint32;
                            description
                              "policer ID";
                          }
    
                          leaf policer-type {
                            type Tb-algorithm;
                            description
                              "Policer type";
                          }
                        }  // container police
    
                        container marking {
                          description
                            "QoS Mark parameters";
                          container mark-only {
                            description
                              "Mark Only";
                            leaf action-type {
                              type Action;
                              description
                                "Action type";
                            }
    
                            list mark-detail {
                              max-elements 2;
                              description
                                "Mark value";
                              leaf mark-value {
                                type uint8;
                                description
                                  "Mark value";
                              }
    
                              leaf action-opcode {
                                type Action-opcode;
                                description
                                  "Action opcode";
                              }
                            }  // list mark-detail
                          }  // container mark-only
    
                          container police-conform {
                            description
                              "Police conform mark";
                            leaf action-type {
                              type Action;
                              description
                                "Action type";
                            }
    
                            list mark-detail {
                              max-elements 2;
                              description
                                "Mark value";
                              leaf mark-value {
                                type uint8;
                                description
                                  "Mark value";
                              }
    
                              leaf action-opcode {
                                type Action-opcode;
                                description
                                  "Action opcode";
                              }
                            }  // list mark-detail
                          }  // container police-conform
    
                          container police-exceed {
                            description
                              "Police exceed mark";
                            leaf action-type {
                              type Action;
                              description
                                "Action type";
                            }
    
                            list mark-detail {
                              max-elements 2;
                              description
                                "Mark value";
                              leaf mark-value {
                                type uint8;
                                description
                                  "Mark value";
                              }
    
                              leaf action-opcode {
                                type Action-opcode;
                                description
                                  "Action opcode";
                              }
                            }  // list mark-detail
                          }  // container police-exceed
                        }  // container marking
    
                        leaf class-level {
                          type uint8;
                          description
                            "Class level";
                        }
    
                        leaf class-name {
                          type string {
                            length "0..65";
                          }
                          description
                            "Class name";
                        }
                      }  // list qos-show-pclass-st
                    }  // container skywarp-qos-policy-class
                  }  // container input
    
                  leaf interface-name {
                    type xr:Interface-name;
                    description
                      "The name of the interface";
                  }
                }  // list interface
              }  // container interfaces
    
              leaf node-name {
                type xr:Node-id;
                description "Node name";
              }
            }  // list node
          }  // container nodes
        }  // container platform-qos
    
        container platform-qos-ea {
          config false;
          description
            "QoS-EA Skywarp platform operational data ";
          container nodes {
            description
              "List of nodes with platform specific QoS-EA
    configuration";
            list node {
              key "node-name";
              description
                "Node with platform specific QoS-EA
    configuration";
              container bundle-interfaces {
                description
                  "QoS-EA list of bundle interfaces";
                list bundle-interface {
                  key "interface-name";
                  description
                    "QoS-EA interface name";
                  container member-interfaces {
                    description
                      "QoS-EA list of member interfaces";
                    list member-interface {
                      key "interface-name";
                      description
                        "QoS-EA interface name";
                      container bundle-output {
                        description
                          "QoS-EA policy direction output";
                        container details {
                          description
                            "QoS-EA policy details";
                          container header {
                            description
                              "QoS EA policy header";
                            leaf interface-name {
                              type string {
                                length "0..101";
                              }
                              description
                                "Interface Name";
                            }
    
                            leaf policy-name {
                              type string {
                                length "0..65";
                              }
                              description
                                "Policy name";
                            }
    
                            leaf direction {
                              type string {
                                length "0..11";
                              }
                              description
                                "Direction";
                            }
    
                            leaf classes {
                              type uint16;
                              description
                                "Number of classes";
                            }
                          }  // container header
    
                          container interface-parameters {
                            description
                              "QoS EA Interface Parameters";
                            leaf policy-name {
                              type string {
                                length "0..65";
                              }
                              description
                                "Policy name";
                            }
    
                            leaf hierarchical-depth {
                              type uint8;
                              description
                                "Max Hierarchial Depth";
                            }
    
                            leaf interface-type {
                              type string {
                                length "0..101";
                              }
                              description
                                "Interface Type";
                            }
    
                            leaf interface-rate {
                              type uint32;
                              description
                                "Interface Programmed Rate";
                            }
    
                            leaf port-shaper-rate {
                              type uint32;
                              description
                                "Port Shaper Rate";
                            }
    
                            leaf interface-handle {
                              type xr:Interface-name;
                              description
                                "Interface Handle";
                            }
    
                            leaf under-line-interface-handle {
                              type xr:Interface-name;
                              description
                                "UnderLineInterface Handle";
                            }
    
                            leaf bundle-id {
                              type uint16;
                              description
                                "Bundle Interface ID";
                            }
    
                            leaf uidb-index {
                              type uint16;
                              description
                                "UIDB Index";
                            }
    
                            leaf qos-interface-handle {
                              type uint64;
                              description
                                "QoS Interface handle";
                            }
    
                            leaf port {
                              type uint32;
                              description
                                "Local Port";
                            }
    
                            leaf policy-map-id {
                              type uint16;
                              description
                                "Policy Map ID";
                            }
                          }  // container interface-parameters
    
                          container skywarp-qos-policy-class {
                            description
                              "Skywarp QoS EA policy class details";
                            list qos-show-ea-pclass-st {
                              description
                                "qos show ea pclass st";
                              container config {
                                description
                                  "QoS EA Class Configuration";
                                container police {
                                  description
                                    "QoS EA Policer parameters";
                                  container cir {
                                    description
                                      "CIR";
                                    leaf value {
                                      type uint32;
                                      description
                                        "Config value";
                                    }
    
                                    leaf unit {
                                      type Qos-unit;
                                      description
                                        "Config unit";
                                    }
                                  }  // container cir
    
                                  container cbs {
                                    description
                                      "CBS";
                                    leaf value {
                                      type uint32;
                                      description
                                        "Config value";
                                    }
    
                                    leaf unit {
                                      type Qos-unit;
                                      description
                                        "Config unit";
                                    }
                                  }  // container cbs
    
                                  leaf color-aware {
                                    type boolean;
                                    description
                                      "Color Aware";
                                  }
    
                                  leaf policer-type {
                                    type Tb-algorithm;
                                    description
                                      "Policer type";
                                  }
                                }  // container police
    
                                container shape {
                                  description
                                    "QoS EA Shaper parameters";
                                  container pir {
                                    description
                                      "PIR in kbps";
                                    leaf value {
                                      type uint32;
                                      description
                                        "Config value";
                                    }
    
                                    leaf unit {
                                      type Qos-unit;
                                      description
                                        "Config unit";
                                    }
                                  }  // container pir
    
                                  container pbs {
                                    description
                                      "PBS in bytes";
                                    leaf value {
                                      type uint32;
                                      description
                                        "Config value";
                                    }
    
                                    leaf unit {
                                      type Qos-unit;
                                      description
                                        "Config unit";
                                    }
                                  }  // container pbs
                                }  // container shape
    
                                container wfq {
                                  description
                                    "QoS EA WFQ parameters";
                                  container bandwidth {
                                    description
                                      "Bandwidth";
                                    leaf value {
                                      type uint32;
                                      description
                                        "Config value";
                                    }
    
                                    leaf unit {
                                      type Qos-unit;
                                      description
                                        "Config unit";
                                    }
                                  }  // container bandwidth
    
                                  container sum-of-bandwidth {
                                    description
                                      "Sum of Bandwidth";
                                    leaf value {
                                      type uint32;
                                      description
                                        "Config value";
                                    }
    
                                    leaf unit {
                                      type Qos-unit;
                                      description
                                        "Config unit";
                                    }
                                  }  // container sum-of-bandwidth
    
                                  leaf excess-ratio {
                                    type uint16;
                                    description
                                      "Excess Ratio";
                                  }
                                }  // container wfq
    
                                leaf node-config {
                                  type string {
                                    length
                                      "0..101";
                                  }
                                  description
                                    "Node Config";
                                }
                              }  // container config
    
                              container result {
                                description
                                  "QoS EA Class Result";
                                container queue {
                                  description
                                    "QoS EA Queue Result";
                                  leaf queue-id {
                                    type uint32;
                                    description
                                      "Queue ID";
                                  }
    
                                  leaf commit-tx {
                                    type uint32;
                                    description
                                      "Commit Tx";
                                  }
    
                                  leaf excess-tx {
                                    type uint32;
                                    description
                                      "Excess Tx";
                                  }
    
                                  leaf drop {
                                    type uint32;
                                    description
                                      "Drop";
                                  }
                                }  // container queue
    
                                container police {
                                  description
                                    "QoS EA Policer Result";
                                  leaf token-bucket-id {
                                    type uint32;
                                    description
                                      "Token Bucket ID";
                                  }
    
                                  leaf conform {
                                    type uint32;
                                    description
                                      "Conform Rate";
                                  }
    
                                  leaf exceed {
                                    type uint32;
                                    description
                                      "Exceed Rate";
                                  }
    
                                  leaf violate {
                                    type uint32;
                                    description
                                      "Violate Rate";
                                  }
                                }  // container police
    
                                leaf stats-id {
                                  type uint32;
                                  description
                                    "Stats ID";
                                }
                              }  // container result
    
                              leaf index {
                                type uint16;
                                description
                                  "Class Index";
                              }
    
                              leaf class-level {
                                type uint8;
                                description
                                  "Class level";
                              }
    
                              leaf class-name {
                                type string {
                                  length "0..65";
                                }
                                description
                                  "Class name";
                              }
    
                              leaf policy-name {
                                type string {
                                  length "0..65";
                                }
                                description
                                  "Policy name";
                              }
    
                              leaf node-flags {
                                type string {
                                  length
                                    "0..101";
                                }
                                description
                                  "Node Flags";
                              }
    
                              leaf stats-flags {
                                type string {
                                  length
                                    "0..101";
                                }
                                description
                                  "Statistical Flags";
                              }
                            }  // list qos-show-ea-pclass-st
                          }  // container skywarp-qos-policy-class
                        }  // container details
                      }  // container bundle-output
    
                      container bundle-input {
                        description
                          "QoS-EA policy direction input";
                        container details {
                          description
                            "QoS-EA policy details";
                          container header {
                            description
                              "QoS EA policy header";
                            leaf interface-name {
                              type string {
                                length "0..101";
                              }
                              description
                                "Interface Name";
                            }
    
                            leaf policy-name {
                              type string {
                                length "0..65";
                              }
                              description
                                "Policy name";
                            }
    
                            leaf direction {
                              type string {
                                length "0..11";
                              }
                              description
                                "Direction";
                            }
    
                            leaf classes {
                              type uint16;
                              description
                                "Number of classes";
                            }
                          }  // container header
    
                          container interface-parameters {
                            description
                              "QoS EA Interface Parameters";
                            leaf policy-name {
                              type string {
                                length "0..65";
                              }
                              description
                                "Policy name";
                            }
    
                            leaf hierarchical-depth {
                              type uint8;
                              description
                                "Max Hierarchial Depth";
                            }
    
                            leaf interface-type {
                              type string {
                                length "0..101";
                              }
                              description
                                "Interface Type";
                            }
    
                            leaf interface-rate {
                              type uint32;
                              description
                                "Interface Programmed Rate";
                            }
    
                            leaf port-shaper-rate {
                              type uint32;
                              description
                                "Port Shaper Rate";
                            }
    
                            leaf interface-handle {
                              type xr:Interface-name;
                              description
                                "Interface Handle";
                            }
    
                            leaf under-line-interface-handle {
                              type xr:Interface-name;
                              description
                                "UnderLineInterface Handle";
                            }
    
                            leaf bundle-id {
                              type uint16;
                              description
                                "Bundle Interface ID";
                            }
    
                            leaf uidb-index {
                              type uint16;
                              description
                                "UIDB Index";
                            }
    
                            leaf qos-interface-handle {
                              type uint64;
                              description
                                "QoS Interface handle";
                            }
    
                            leaf port {
                              type uint32;
                              description
                                "Local Port";
                            }
    
                            leaf policy-map-id {
                              type uint16;
                              description
                                "Policy Map ID";
                            }
                          }  // container interface-parameters
    
                          container skywarp-qos-policy-class {
                            description
                              "Skywarp QoS EA policy class details";
                            list qos-show-ea-pclass-st {
                              description
                                "qos show ea pclass st";
                              container config {
                                description
                                  "QoS EA Class Configuration";
                                container police {
                                  description
                                    "QoS EA Policer parameters";
                                  container cir {
                                    description
                                      "CIR";
                                    leaf value {
                                      type uint32;
                                      description
                                        "Config value";
                                    }
    
                                    leaf unit {
                                      type Qos-unit;
                                      description
                                        "Config unit";
                                    }
                                  }  // container cir
    
                                  container cbs {
                                    description
                                      "CBS";
                                    leaf value {
                                      type uint32;
                                      description
                                        "Config value";
                                    }
    
                                    leaf unit {
                                      type Qos-unit;
                                      description
                                        "Config unit";
                                    }
                                  }  // container cbs
    
                                  leaf color-aware {
                                    type boolean;
                                    description
                                      "Color Aware";
                                  }
    
                                  leaf policer-type {
                                    type Tb-algorithm;
                                    description
                                      "Policer type";
                                  }
                                }  // container police
    
                                container shape {
                                  description
                                    "QoS EA Shaper parameters";
                                  container pir {
                                    description
                                      "PIR in kbps";
                                    leaf value {
                                      type uint32;
                                      description
                                        "Config value";
                                    }
    
                                    leaf unit {
                                      type Qos-unit;
                                      description
                                        "Config unit";
                                    }
                                  }  // container pir
    
                                  container pbs {
                                    description
                                      "PBS in bytes";
                                    leaf value {
                                      type uint32;
                                      description
                                        "Config value";
                                    }
    
                                    leaf unit {
                                      type Qos-unit;
                                      description
                                        "Config unit";
                                    }
                                  }  // container pbs
                                }  // container shape
    
                                container wfq {
                                  description
                                    "QoS EA WFQ parameters";
                                  container bandwidth {
                                    description
                                      "Bandwidth";
                                    leaf value {
                                      type uint32;
                                      description
                                        "Config value";
                                    }
    
                                    leaf unit {
                                      type Qos-unit;
                                      description
                                        "Config unit";
                                    }
                                  }  // container bandwidth
    
                                  container sum-of-bandwidth {
                                    description
                                      "Sum of Bandwidth";
                                    leaf value {
                                      type uint32;
                                      description
                                        "Config value";
                                    }
    
                                    leaf unit {
                                      type Qos-unit;
                                      description
                                        "Config unit";
                                    }
                                  }  // container sum-of-bandwidth
    
                                  leaf excess-ratio {
                                    type uint16;
                                    description
                                      "Excess Ratio";
                                  }
                                }  // container wfq
    
                                leaf node-config {
                                  type string {
                                    length
                                      "0..101";
                                  }
                                  description
                                    "Node Config";
                                }
                              }  // container config
    
                              container result {
                                description
                                  "QoS EA Class Result";
                                container queue {
                                  description
                                    "QoS EA Queue Result";
                                  leaf queue-id {
                                    type uint32;
                                    description
                                      "Queue ID";
                                  }
    
                                  leaf commit-tx {
                                    type uint32;
                                    description
                                      "Commit Tx";
                                  }
    
                                  leaf excess-tx {
                                    type uint32;
                                    description
                                      "Excess Tx";
                                  }
    
                                  leaf drop {
                                    type uint32;
                                    description
                                      "Drop";
                                  }
                                }  // container queue
    
                                container police {
                                  description
                                    "QoS EA Policer Result";
                                  leaf token-bucket-id {
                                    type uint32;
                                    description
                                      "Token Bucket ID";
                                  }
    
                                  leaf conform {
                                    type uint32;
                                    description
                                      "Conform Rate";
                                  }
    
                                  leaf exceed {
                                    type uint32;
                                    description
                                      "Exceed Rate";
                                  }
    
                                  leaf violate {
                                    type uint32;
                                    description
                                      "Violate Rate";
                                  }
                                }  // container police
    
                                leaf stats-id {
                                  type uint32;
                                  description
                                    "Stats ID";
                                }
                              }  // container result
    
                              leaf index {
                                type uint16;
                                description
                                  "Class Index";
                              }
    
                              leaf class-level {
                                type uint8;
                                description
                                  "Class level";
                              }
    
                              leaf class-name {
                                type string {
                                  length "0..65";
                                }
                                description
                                  "Class name";
                              }
    
                              leaf policy-name {
                                type string {
                                  length "0..65";
                                }
                                description
                                  "Policy name";
                              }
    
                              leaf node-flags {
                                type string {
                                  length
                                    "0..101";
                                }
                                description
                                  "Node Flags";
                              }
    
                              leaf stats-flags {
                                type string {
                                  length
                                    "0..101";
                                }
                                description
                                  "Statistical Flags";
                              }
                            }  // list qos-show-ea-pclass-st
                          }  // container skywarp-qos-policy-class
                        }  // container details
                      }  // container bundle-input
    
                      leaf interface-name {
                        type xr:Interface-name;
                        description
                          "Memeber interface";
                      }
                    }  // list member-interface
                  }  // container member-interfaces
    
                  leaf interface-name {
                    type xr:Interface-name;
                    description
                      "Bundle interface name";
                  }
                }  // list bundle-interface
              }  // container bundle-interfaces
    
              container interfaces {
                description
                  "QoS-EA list of interfaces";
                list interface {
                  key "interface-name";
                  description
                    "QoS-EA interface name";
                  container output {
                    description
                      "QoS-EA policy direction egress";
                    container details {
                      description
                        "QoS-EA policy details";
                      container header {
                        description
                          "QoS EA policy header";
                        leaf interface-name {
                          type string {
                            length "0..101";
                          }
                          description
                            "Interface Name";
                        }
    
                        leaf policy-name {
                          type string {
                            length "0..65";
                          }
                          description
                            "Policy name";
                        }
    
                        leaf direction {
                          type string {
                            length "0..11";
                          }
                          description
                            "Direction";
                        }
    
                        leaf classes {
                          type uint16;
                          description
                            "Number of classes";
                        }
                      }  // container header
    
                      container interface-parameters {
                        description
                          "QoS EA Interface Parameters";
                        leaf policy-name {
                          type string {
                            length "0..65";
                          }
                          description
                            "Policy name";
                        }
    
                        leaf hierarchical-depth {
                          type uint8;
                          description
                            "Max Hierarchial Depth";
                        }
    
                        leaf interface-type {
                          type string {
                            length "0..101";
                          }
                          description
                            "Interface Type";
                        }
    
                        leaf interface-rate {
                          type uint32;
                          description
                            "Interface Programmed Rate";
                        }
    
                        leaf port-shaper-rate {
                          type uint32;
                          description
                            "Port Shaper Rate";
                        }
    
                        leaf interface-handle {
                          type xr:Interface-name;
                          description
                            "Interface Handle";
                        }
    
                        leaf under-line-interface-handle {
                          type xr:Interface-name;
                          description
                            "UnderLineInterface Handle";
                        }
    
                        leaf bundle-id {
                          type uint16;
                          description
                            "Bundle Interface ID";
                        }
    
                        leaf uidb-index {
                          type uint16;
                          description
                            "UIDB Index";
                        }
    
                        leaf qos-interface-handle {
                          type uint64;
                          description
                            "QoS Interface handle";
                        }
    
                        leaf port {
                          type uint32;
                          description
                            "Local Port";
                        }
    
                        leaf policy-map-id {
                          type uint16;
                          description
                            "Policy Map ID";
                        }
                      }  // container interface-parameters
    
                      container skywarp-qos-policy-class {
                        description
                          "Skywarp QoS EA policy class details";
                        list qos-show-ea-pclass-st {
                          description
                            "qos show ea pclass st";
                          container config {
                            description
                              "QoS EA Class Configuration";
                            container police {
                              description
                                "QoS EA Policer parameters";
                              container cir {
                                description
                                  "CIR";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container cir
    
                              container cbs {
                                description
                                  "CBS";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container cbs
    
                              leaf color-aware {
                                type boolean;
                                description
                                  "Color Aware";
                              }
    
                              leaf policer-type {
                                type Tb-algorithm;
                                description
                                  "Policer type";
                              }
                            }  // container police
    
                            container shape {
                              description
                                "QoS EA Shaper parameters";
                              container pir {
                                description
                                  "PIR in kbps";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container pir
    
                              container pbs {
                                description
                                  "PBS in bytes";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container pbs
                            }  // container shape
    
                            container wfq {
                              description
                                "QoS EA WFQ parameters";
                              container bandwidth {
                                description
                                  "Bandwidth";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container bandwidth
    
                              container sum-of-bandwidth {
                                description
                                  "Sum of Bandwidth";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container sum-of-bandwidth
    
                              leaf excess-ratio {
                                type uint16;
                                description
                                  "Excess Ratio";
                              }
                            }  // container wfq
    
                            leaf node-config {
                              type string {
                                length "0..101";
                              }
                              description
                                "Node Config";
                            }
                          }  // container config
    
                          container result {
                            description
                              "QoS EA Class Result";
                            container queue {
                              description
                                "QoS EA Queue Result";
                              leaf queue-id {
                                type uint32;
                                description
                                  "Queue ID";
                              }
    
                              leaf commit-tx {
                                type uint32;
                                description
                                  "Commit Tx";
                              }
    
                              leaf excess-tx {
                                type uint32;
                                description
                                  "Excess Tx";
                              }
    
                              leaf drop {
                                type uint32;
                                description
                                  "Drop";
                              }
                            }  // container queue
    
                            container police {
                              description
                                "QoS EA Policer Result";
                              leaf token-bucket-id {
                                type uint32;
                                description
                                  "Token Bucket ID";
                              }
    
                              leaf conform {
                                type uint32;
                                description
                                  "Conform Rate";
                              }
    
                              leaf exceed {
                                type uint32;
                                description
                                  "Exceed Rate";
                              }
    
                              leaf violate {
                                type uint32;
                                description
                                  "Violate Rate";
                              }
                            }  // container police
    
                            leaf stats-id {
                              type uint32;
                              description
                                "Stats ID";
                            }
                          }  // container result
    
                          leaf index {
                            type uint16;
                            description
                              "Class Index";
                          }
    
                          leaf class-level {
                            type uint8;
                            description
                              "Class level";
                          }
    
                          leaf class-name {
                            type string {
                              length "0..65";
                            }
                            description
                              "Class name";
                          }
    
                          leaf policy-name {
                            type string {
                              length "0..65";
                            }
                            description
                              "Policy name";
                          }
    
                          leaf node-flags {
                            type string {
                              length "0..101";
                            }
                            description
                              "Node Flags";
                          }
    
                          leaf stats-flags {
                            type string {
                              length "0..101";
                            }
                            description
                              "Statistical Flags";
                          }
                        }  // list qos-show-ea-pclass-st
                      }  // container skywarp-qos-policy-class
                    }  // container details
                  }  // container output
    
                  container input {
                    description
                      "QoS-EA policy direction ingress";
                    container details {
                      description
                        "QoS-EA policy details";
                      container header {
                        description
                          "QoS EA policy header";
                        leaf interface-name {
                          type string {
                            length "0..101";
                          }
                          description
                            "Interface Name";
                        }
    
                        leaf policy-name {
                          type string {
                            length "0..65";
                          }
                          description
                            "Policy name";
                        }
    
                        leaf direction {
                          type string {
                            length "0..11";
                          }
                          description
                            "Direction";
                        }
    
                        leaf classes {
                          type uint16;
                          description
                            "Number of classes";
                        }
                      }  // container header
    
                      container interface-parameters {
                        description
                          "QoS EA Interface Parameters";
                        leaf policy-name {
                          type string {
                            length "0..65";
                          }
                          description
                            "Policy name";
                        }
    
                        leaf hierarchical-depth {
                          type uint8;
                          description
                            "Max Hierarchial Depth";
                        }
    
                        leaf interface-type {
                          type string {
                            length "0..101";
                          }
                          description
                            "Interface Type";
                        }
    
                        leaf interface-rate {
                          type uint32;
                          description
                            "Interface Programmed Rate";
                        }
    
                        leaf port-shaper-rate {
                          type uint32;
                          description
                            "Port Shaper Rate";
                        }
    
                        leaf interface-handle {
                          type xr:Interface-name;
                          description
                            "Interface Handle";
                        }
    
                        leaf under-line-interface-handle {
                          type xr:Interface-name;
                          description
                            "UnderLineInterface Handle";
                        }
    
                        leaf bundle-id {
                          type uint16;
                          description
                            "Bundle Interface ID";
                        }
    
                        leaf uidb-index {
                          type uint16;
                          description
                            "UIDB Index";
                        }
    
                        leaf qos-interface-handle {
                          type uint64;
                          description
                            "QoS Interface handle";
                        }
    
                        leaf port {
                          type uint32;
                          description
                            "Local Port";
                        }
    
                        leaf policy-map-id {
                          type uint16;
                          description
                            "Policy Map ID";
                        }
                      }  // container interface-parameters
    
                      container skywarp-qos-policy-class {
                        description
                          "Skywarp QoS EA policy class details";
                        list qos-show-ea-pclass-st {
                          description
                            "qos show ea pclass st";
                          container config {
                            description
                              "QoS EA Class Configuration";
                            container police {
                              description
                                "QoS EA Policer parameters";
                              container cir {
                                description
                                  "CIR";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container cir
    
                              container cbs {
                                description
                                  "CBS";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container cbs
    
                              leaf color-aware {
                                type boolean;
                                description
                                  "Color Aware";
                              }
    
                              leaf policer-type {
                                type Tb-algorithm;
                                description
                                  "Policer type";
                              }
                            }  // container police
    
                            container shape {
                              description
                                "QoS EA Shaper parameters";
                              container pir {
                                description
                                  "PIR in kbps";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container pir
    
                              container pbs {
                                description
                                  "PBS in bytes";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container pbs
                            }  // container shape
    
                            container wfq {
                              description
                                "QoS EA WFQ parameters";
                              container bandwidth {
                                description
                                  "Bandwidth";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container bandwidth
    
                              container sum-of-bandwidth {
                                description
                                  "Sum of Bandwidth";
                                leaf value {
                                  type uint32;
                                  description
                                    "Config value";
                                }
    
                                leaf unit {
                                  type Qos-unit;
                                  description
                                    "Config unit";
                                }
                              }  // container sum-of-bandwidth
    
                              leaf excess-ratio {
                                type uint16;
                                description
                                  "Excess Ratio";
                              }
                            }  // container wfq
    
                            leaf node-config {
                              type string {
                                length "0..101";
                              }
                              description
                                "Node Config";
                            }
                          }  // container config
    
                          container result {
                            description
                              "QoS EA Class Result";
                            container queue {
                              description
                                "QoS EA Queue Result";
                              leaf queue-id {
                                type uint32;
                                description
                                  "Queue ID";
                              }
    
                              leaf commit-tx {
                                type uint32;
                                description
                                  "Commit Tx";
                              }
    
                              leaf excess-tx {
                                type uint32;
                                description
                                  "Excess Tx";
                              }
    
                              leaf drop {
                                type uint32;
                                description
                                  "Drop";
                              }
                            }  // container queue
    
                            container police {
                              description
                                "QoS EA Policer Result";
                              leaf token-bucket-id {
                                type uint32;
                                description
                                  "Token Bucket ID";
                              }
    
                              leaf conform {
                                type uint32;
                                description
                                  "Conform Rate";
                              }
    
                              leaf exceed {
                                type uint32;
                                description
                                  "Exceed Rate";
                              }
    
                              leaf violate {
                                type uint32;
                                description
                                  "Violate Rate";
                              }
                            }  // container police
    
                            leaf stats-id {
                              type uint32;
                              description
                                "Stats ID";
                            }
                          }  // container result
    
                          leaf index {
                            type uint16;
                            description
                              "Class Index";
                          }
    
                          leaf class-level {
                            type uint8;
                            description
                              "Class level";
                          }
    
                          leaf class-name {
                            type string {
                              length "0..65";
                            }
                            description
                              "Class name";
                          }
    
                          leaf policy-name {
                            type string {
                              length "0..65";
                            }
                            description
                              "Policy name";
                          }
    
                          leaf node-flags {
                            type string {
                              length "0..101";
                            }
                            description
                              "Node Flags";
                          }
    
                          leaf stats-flags {
                            type string {
                              length "0..101";
                            }
                            description
                              "Statistical Flags";
                          }
                        }  // list qos-show-ea-pclass-st
                      }  // container skywarp-qos-policy-class
                    }  // container details
                  }  // container input
    
                  leaf interface-name {
                    type xr:Interface-name;
                    description
                      "The name of the interface";
                  }
                }  // list interface
              }  // container interfaces
    
              leaf node-name {
                type xr:Node-id;
                description "Node name";
              }
            }  // list node
          }  // container nodes
        }  // container platform-qos-ea
      }  // module Cisco-IOS-XR-skp-qos-oper
    

© 2023 YumaWorks, Inc. All rights reserved.