This module contains a collection of YANG definitions for Cisco IOS-XR ncs5500-qos package operational data. This module contai...
Version: 2019-08-24
module Cisco-IOS-XR-ncs5500-qos-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5500-qos-oper"; prefix ncs5500-qos-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-ncs5500-qos-oper-sub2 { revision-date "2019-08-24"; } include Cisco-IOS-XR-ncs5500-qos-oper-sub1 { revision-date "2019-08-24"; } 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 ncs5500-qos package operational data. This module contains definitions for the following management objects: platform-qos: DPA QoS EA operational data Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-08-24" { description "Fixing pyang compilation error."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "2.0.0"; semver:module-version "1.1.0"; container platform-qos { config false; description "DPA QoS EA operational data"; container nodes { description "List of nodes with platform specific QoS configuration"; list node { key "node-name"; description "Node with platform specific QoS configuration"; container bundle-interfaces { description "QoS list of bundle interfaces"; list bundle-interface { description "QoS interface names"; leaf interface-name { type xr:Interface-name; description "Bundle interface name"; } leaf npu-id { type uint32; description "NPU ID"; } leaf qos-direction { type string; description "The interface direction on which QoS is applied to."; } container policy-details { description "Policy Details"; leaf npu-id { type uint32; description "NPU ID"; } leaf interface-handle { type uint32; description "InterfaceHandle"; } leaf interface-bandwidth-kbps { type uint32; units "kbit/s"; description "Interface Bandwidth (in kbps)"; } leaf interface-bandwidthkbps { type uint64; units "kbit/s"; description "Interface Bandwidth (in kbps)"; } leaf policy-name { type string { length "0..64"; } description "Policy name"; } leaf spi-id { type uint64; description "SPI Id"; } leaf total-number-of-classes { type uint16; description "Number of Classes"; } leaf voq-base-address { type uint32; description "VOQ base address"; } leaf voq-stats-handle { type uint64; description "VOQ stats handle"; } leaf stats-accounting-type { type Qos-policy-account-enum; description "QoS Statistics Accounting Type"; } leaf policy-status { type Dpa-qosea-show-policy-status; description "Policy Status"; } leaf interface-status { type Dpa-qosea-show-intf-status; description "Interface Status"; } leaf pfc { type uint8; description "Flag to indicate if PFC is enabled on the interface"; } } // container policy-details container member-interfaces { description "QoS list of member interfaces"; list member-interface { key "interface-name"; description "QoS interface names"; leaf interface-name { type xr:Interface-name; description "Member interface"; } container policy-details { description "Policy Details"; leaf npu-id { type uint32; description "NPU ID"; } leaf interface-handle { type uint32; description "InterfaceHandle"; } leaf interface-bandwidth-kbps { type uint32; units "kbit/s"; description "Interface Bandwidth (in kbps)"; } leaf interface-bandwidthkbps { type uint64; units "kbit/s"; description "Interface Bandwidth (in kbps)"; } leaf policy-name { type string { length "0..64"; } description "Policy name"; } leaf spi-id { type uint64; description "SPI Id"; } leaf total-number-of-classes { type uint16; description "Number of Classes"; } leaf voq-base-address { type uint32; description "VOQ base address"; } leaf voq-stats-handle { type uint64; description "VOQ stats handle"; } leaf stats-accounting-type { type Qos-policy-account-enum; description "QoS Statistics Accounting Type"; } leaf policy-status { type Dpa-qosea-show-policy-status; description "Policy Status"; } leaf interface-status { type Dpa-qosea-show-intf-status; description "Interface Status"; } leaf pfc { type uint8; description "Flag to indicate if PFC is enabled on the interface"; } } // container policy-details container class-table { description "QoS list of class names"; list class { key "level-one-class-name"; description "QoS policy class"; leaf level-one-class-name { type string; description "QoS policy class name at level 1"; } leaf level-two-class-name { type string; description "QoS policy child class name at level 2"; } container config-max-rate { description "Configured maximum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-rate container config-min-rate { description "Configured minimum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-rate container config-queue-limit { description "Configured queue limit"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-queue-limit container config-d-queue-limit { description "Configured Dual queue limit"; leaf class0-policy-value { type uint32; description "Discard Class0 Policy value"; } leaf class1-policy-value { type uint32; description "Discard Class1 Policy value"; } leaf dql-policy-unit { type Policy-param-unit; description "DQL Policy unit"; } } // container config-d-queue-limit container config-policer-average-rate { description "Configured policer average rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-average-rate container config-policer-peak-rate { description "Config policer peak rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-peak-rate container config-policer-conform-burst { description "Configured policer conform burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-conform-burst container config-policer-excess-burst { description "Configured policer excess burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-excess-burst container conform-action { description "Conform action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container conform-action container exceed-action { description "Exceed action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container exceed-action container violate-action { description "Violate action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container violate-action container config-shaper-peak-burst { description "Configured shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-shaper-peak-burst container resolved-shaper-peak-burst { description "Resolved shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container resolved-shaper-peak-burst leaf class-level { type Dpa-qosea-show-level; description "Class level"; } leaf egress-queue-id { type int32; description "Egress Queue ID"; } leaf queue-type { type Dpa-qosea-show-queue; description "Queue type"; } leaf priority-level { type Dpa-qosea-show-hp-level; description "Priority level"; } leaf hardware-max-rate-kbps { type uint32; units "kbit/s"; description "Hardware maximum rate in kbps"; } leaf hardware-min-rate-kbps { type uint32; units "kbit/s"; description "Hardware minimum rate in kbps"; } leaf config-excess-bandwidth-percent { type uint32; units "percentage"; description "Configured excess bandwidth percentage"; } leaf config-excess-bandwidth-unit { type uint32; description "Configured excess bandwidth unit"; } leaf hardware-excess-bandwidth-weight { type uint32; description "Hardware excess bandwidth weight"; } leaf network-min-bandwidth-kbps { type uint32; description "Network minimum Bandwith"; } leaf hardware-queue-limit-bytes { type uint64; units "byte"; description "Hardware queue limit in bytes"; } leaf hardware-queue-limit-microseconds { type uint64; units "microsecond"; description "Hardware queue limit in microseconds"; } leaf policer-bucket-id { type uint32; description "PolicerBucketID"; } leaf policer-stats-handle { type uint64; description "PolicerStatsHandle"; } leaf hardware-policer-average-rate-kbps { type uint32; units "kbit/s"; description "Hardware policer average in kbps"; } leaf hardware-policer-peak-rate-kbps { type uint32; description "Hardware policer peak rate"; } leaf hardware-policer-conform-burst-bytes { type uint32; description "Hardware policer conform burst"; } leaf hardware-policer-excess-burst-bytes { type uint32; description "Hardware policer excess burst"; } leaf is-referred { type boolean; description "Is shared policer referred class"; } leaf ecn-enabled { type boolean; description "ECN Enabled"; } leaf hardware-shaper-peak-burst-bytes { type uint32; description "Hardware shaper peak burst"; } leaf low-shaper-enabled { type boolean; description "Low Shaper Enabled"; } list ip-mark { description "IP mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list ip-mark list common-mark { description "Common mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list common-mark list mpls-mark { description "MPLS mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mpls-mark list wred { description "WRED parameters"; container wred-match-value { description "WRED match values"; list dpa-qosea-show-red-match-value { description "dpa qosea show red match value"; leaf range-start { type uint8; description "Start value of a range"; } leaf range-end { type uint8; description "End value of a range"; } } // list dpa-qosea-show-red-match-value } // container wred-match-value container config-min-threshold { description "Configured minimum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-threshold container config-max-threshold { description "Configured maximum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-threshold container config-drop-probability { description "Configured drop/mark probability"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-drop-probability leaf wred-match-type { type Dpa-qosea-show-wred; description "WREDMatchType"; } leaf hardware-min-threshold-bytes { type uint32; description "Hardware minimum threshold"; } leaf hardware-max-threshold-bytes { type uint32; description "Hardware maximum threshold"; } leaf hardware-drop-probability { type uint32; description "Hardware drop/mark probability"; } leaf first-segment { type uint16; description "First segment"; } leaf segment-size { type uint32; description "Segment size"; } } // list wred } // list class } // container class-table } // list member-interface } // container member-interfaces container class-table { description "QoS list of class names"; list class { key "level-one-class-name"; description "QoS policy class"; leaf level-one-class-name { type string; description "QoS policy class name at level 1"; } leaf level-two-class-name { type string; description "QoS policy child class name at level 2"; } container config-max-rate { description "Configured maximum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-rate container config-min-rate { description "Configured minimum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-rate container config-queue-limit { description "Configured queue limit"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-queue-limit container config-d-queue-limit { description "Configured Dual queue limit"; leaf class0-policy-value { type uint32; description "Discard Class0 Policy value"; } leaf class1-policy-value { type uint32; description "Discard Class1 Policy value"; } leaf dql-policy-unit { type Policy-param-unit; description "DQL Policy unit"; } } // container config-d-queue-limit container config-policer-average-rate { description "Configured policer average rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-average-rate container config-policer-peak-rate { description "Config policer peak rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-peak-rate container config-policer-conform-burst { description "Configured policer conform burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-conform-burst container config-policer-excess-burst { description "Configured policer excess burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-excess-burst container conform-action { description "Conform action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container conform-action container exceed-action { description "Exceed action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container exceed-action container violate-action { description "Violate action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container violate-action container config-shaper-peak-burst { description "Configured shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-shaper-peak-burst container resolved-shaper-peak-burst { description "Resolved shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container resolved-shaper-peak-burst leaf class-level { type Dpa-qosea-show-level; description "Class level"; } leaf egress-queue-id { type int32; description "Egress Queue ID"; } leaf queue-type { type Dpa-qosea-show-queue; description "Queue type"; } leaf priority-level { type Dpa-qosea-show-hp-level; description "Priority level"; } leaf hardware-max-rate-kbps { type uint32; units "kbit/s"; description "Hardware maximum rate in kbps"; } leaf hardware-min-rate-kbps { type uint32; units "kbit/s"; description "Hardware minimum rate in kbps"; } leaf config-excess-bandwidth-percent { type uint32; units "percentage"; description "Configured excess bandwidth percentage"; } leaf config-excess-bandwidth-unit { type uint32; description "Configured excess bandwidth unit"; } leaf hardware-excess-bandwidth-weight { type uint32; description "Hardware excess bandwidth weight"; } leaf network-min-bandwidth-kbps { type uint32; description "Network minimum Bandwith"; } leaf hardware-queue-limit-bytes { type uint64; units "byte"; description "Hardware queue limit in bytes"; } leaf hardware-queue-limit-microseconds { type uint64; units "microsecond"; description "Hardware queue limit in microseconds"; } leaf policer-bucket-id { type uint32; description "PolicerBucketID"; } leaf policer-stats-handle { type uint64; description "PolicerStatsHandle"; } leaf hardware-policer-average-rate-kbps { type uint32; units "kbit/s"; description "Hardware policer average in kbps"; } leaf hardware-policer-peak-rate-kbps { type uint32; description "Hardware policer peak rate"; } leaf hardware-policer-conform-burst-bytes { type uint32; description "Hardware policer conform burst"; } leaf hardware-policer-excess-burst-bytes { type uint32; description "Hardware policer excess burst"; } leaf is-referred { type boolean; description "Is shared policer referred class"; } leaf ecn-enabled { type boolean; description "ECN Enabled"; } leaf hardware-shaper-peak-burst-bytes { type uint32; description "Hardware shaper peak burst"; } leaf low-shaper-enabled { type boolean; description "Low Shaper Enabled"; } list ip-mark { description "IP mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list ip-mark list common-mark { description "Common mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list common-mark list mpls-mark { description "MPLS mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mpls-mark list wred { description "WRED parameters"; container wred-match-value { description "WRED match values"; list dpa-qosea-show-red-match-value { description "dpa qosea show red match value"; leaf range-start { type uint8; description "Start value of a range"; } leaf range-end { type uint8; description "End value of a range"; } } // list dpa-qosea-show-red-match-value } // container wred-match-value container config-min-threshold { description "Configured minimum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-threshold container config-max-threshold { description "Configured maximum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-threshold container config-drop-probability { description "Configured drop/mark probability"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-drop-probability leaf wred-match-type { type Dpa-qosea-show-wred; description "WREDMatchType"; } leaf hardware-min-threshold-bytes { type uint32; description "Hardware minimum threshold"; } leaf hardware-max-threshold-bytes { type uint32; description "Hardware maximum threshold"; } leaf hardware-drop-probability { type uint32; description "Hardware drop/mark probability"; } leaf first-segment { type uint16; description "First segment"; } leaf segment-size { type uint32; description "Segment size"; } } // list wred } // list class } // container class-table } // list bundle-interface } // container bundle-interfaces container qos-inconsistancy-brief { description "Inconsistancy Brief"; leaf-list summary { type uint16; description "Number of warnings of each type"; } } // container qos-inconsistancy-brief container interfaces { description "QoS list of interfaces"; list interface { description "QoS interface names"; leaf interface-name { type xr:Interface-name; description "The name of the interface"; } leaf qos-direction { type string; description "The interface direction on which QoS is applied to."; } container policy-details { description "Policy Details"; leaf npu-id { type uint32; description "NPU ID"; } leaf interface-handle { type uint32; description "InterfaceHandle"; } leaf interface-bandwidth-kbps { type uint32; units "kbit/s"; description "Interface Bandwidth (in kbps)"; } leaf interface-bandwidthkbps { type uint64; units "kbit/s"; description "Interface Bandwidth (in kbps)"; } leaf policy-name { type string { length "0..64"; } description "Policy name"; } leaf spi-id { type uint64; description "SPI Id"; } leaf total-number-of-classes { type uint16; description "Number of Classes"; } leaf voq-base-address { type uint32; description "VOQ base address"; } leaf voq-stats-handle { type uint64; description "VOQ stats handle"; } leaf stats-accounting-type { type Qos-policy-account-enum; description "QoS Statistics Accounting Type"; } leaf policy-status { type Dpa-qosea-show-policy-status; description "Policy Status"; } leaf interface-status { type Dpa-qosea-show-intf-status; description "Interface Status"; } leaf pfc { type uint8; description "Flag to indicate if PFC is enabled on the interface"; } } // container policy-details container output { description "QoS policy direction egress"; container qos-class-table { description "QoS list of class names"; list class { key "level-one-class-name"; description "QoS policy class"; leaf level-one-class-name { type string; description "QoS policy class name at level 1"; } leaf level-two-class-name { type string; description "QoS policy child class name at level 2"; } container config-max-rate { description "Configured maximum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-rate container config-min-rate { description "Configured minimum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-rate container config-queue-limit { description "Configured queue limit"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-queue-limit container config-d-queue-limit { description "Configured Dual queue limit"; leaf class0-policy-value { type uint32; description "Discard Class0 Policy value"; } leaf class1-policy-value { type uint32; description "Discard Class1 Policy value"; } leaf dql-policy-unit { type Policy-param-unit; description "DQL Policy unit"; } } // container config-d-queue-limit container config-policer-average-rate { description "Configured policer average rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-average-rate container config-policer-peak-rate { description "Config policer peak rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-peak-rate container config-policer-conform-burst { description "Configured policer conform burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-conform-burst container config-policer-excess-burst { description "Configured policer excess burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-excess-burst container conform-action { description "Conform action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container conform-action container exceed-action { description "Exceed action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container exceed-action container violate-action { description "Violate action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container violate-action container config-shaper-peak-burst { description "Configured shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-shaper-peak-burst container resolved-shaper-peak-burst { description "Resolved shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container resolved-shaper-peak-burst leaf class-level { type Dpa-qosea-show-level; description "Class level"; } leaf egress-queue-id { type int32; description "Egress Queue ID"; } leaf queue-type { type Dpa-qosea-show-queue; description "Queue type"; } leaf priority-level { type Dpa-qosea-show-hp-level; description "Priority level"; } leaf hardware-max-rate-kbps { type uint32; units "kbit/s"; description "Hardware maximum rate in kbps"; } leaf hardware-min-rate-kbps { type uint32; units "kbit/s"; description "Hardware minimum rate in kbps"; } leaf config-excess-bandwidth-percent { type uint32; units "percentage"; description "Configured excess bandwidth percentage"; } leaf config-excess-bandwidth-unit { type uint32; description "Configured excess bandwidth unit"; } leaf hardware-excess-bandwidth-weight { type uint32; description "Hardware excess bandwidth weight"; } leaf network-min-bandwidth-kbps { type uint32; description "Network minimum Bandwith"; } leaf hardware-queue-limit-bytes { type uint64; units "byte"; description "Hardware queue limit in bytes"; } leaf hardware-queue-limit-microseconds { type uint64; units "microsecond"; description "Hardware queue limit in microseconds"; } leaf policer-bucket-id { type uint32; description "PolicerBucketID"; } leaf policer-stats-handle { type uint64; description "PolicerStatsHandle"; } leaf hardware-policer-average-rate-kbps { type uint32; units "kbit/s"; description "Hardware policer average in kbps"; } leaf hardware-policer-peak-rate-kbps { type uint32; description "Hardware policer peak rate"; } leaf hardware-policer-conform-burst-bytes { type uint32; description "Hardware policer conform burst"; } leaf hardware-policer-excess-burst-bytes { type uint32; description "Hardware policer excess burst"; } leaf is-referred { type boolean; description "Is shared policer referred class"; } leaf ecn-enabled { type boolean; description "ECN Enabled"; } leaf hardware-shaper-peak-burst-bytes { type uint32; description "Hardware shaper peak burst"; } leaf low-shaper-enabled { type boolean; description "Low Shaper Enabled"; } list ip-mark { description "IP mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list ip-mark list common-mark { description "Common mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list common-mark list mpls-mark { description "MPLS mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mpls-mark list wred { description "WRED parameters"; container wred-match-value { description "WRED match values"; list dpa-qosea-show-red-match-value { description "dpa qosea show red match value"; leaf range-start { type uint8; description "Start value of a range"; } leaf range-end { type uint8; description "End value of a range"; } } // list dpa-qosea-show-red-match-value } // container wred-match-value container config-min-threshold { description "Configured minimum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-threshold container config-max-threshold { description "Configured maximum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-threshold container config-drop-probability { description "Configured drop/mark probability"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-drop-probability leaf wred-match-type { type Dpa-qosea-show-wred; description "WREDMatchType"; } leaf hardware-min-threshold-bytes { type uint32; description "Hardware minimum threshold"; } leaf hardware-max-threshold-bytes { type uint32; description "Hardware maximum threshold"; } leaf hardware-drop-probability { type uint32; description "Hardware drop/mark probability"; } leaf first-segment { type uint16; description "First segment"; } leaf segment-size { type uint32; description "Segment size"; } } // list wred } // list class } // container qos-class-table } // container output container class-table { description "QoS list of class names"; list class { key "level-one-class-name"; description "QoS policy class"; leaf level-one-class-name { type string; description "QoS policy class name at level 1"; } leaf level-two-class-name { type string; description "QoS policy child class name at level 2"; } container config-max-rate { description "Configured maximum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-rate container config-min-rate { description "Configured minimum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-rate container config-queue-limit { description "Configured queue limit"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-queue-limit container config-d-queue-limit { description "Configured Dual queue limit"; leaf class0-policy-value { type uint32; description "Discard Class0 Policy value"; } leaf class1-policy-value { type uint32; description "Discard Class1 Policy value"; } leaf dql-policy-unit { type Policy-param-unit; description "DQL Policy unit"; } } // container config-d-queue-limit container config-policer-average-rate { description "Configured policer average rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-average-rate container config-policer-peak-rate { description "Config policer peak rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-peak-rate container config-policer-conform-burst { description "Configured policer conform burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-conform-burst container config-policer-excess-burst { description "Configured policer excess burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-excess-burst container conform-action { description "Conform action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container conform-action container exceed-action { description "Exceed action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container exceed-action container violate-action { description "Violate action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container violate-action container config-shaper-peak-burst { description "Configured shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-shaper-peak-burst container resolved-shaper-peak-burst { description "Resolved shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container resolved-shaper-peak-burst leaf class-level { type Dpa-qosea-show-level; description "Class level"; } leaf egress-queue-id { type int32; description "Egress Queue ID"; } leaf queue-type { type Dpa-qosea-show-queue; description "Queue type"; } leaf priority-level { type Dpa-qosea-show-hp-level; description "Priority level"; } leaf hardware-max-rate-kbps { type uint32; units "kbit/s"; description "Hardware maximum rate in kbps"; } leaf hardware-min-rate-kbps { type uint32; units "kbit/s"; description "Hardware minimum rate in kbps"; } leaf config-excess-bandwidth-percent { type uint32; units "percentage"; description "Configured excess bandwidth percentage"; } leaf config-excess-bandwidth-unit { type uint32; description "Configured excess bandwidth unit"; } leaf hardware-excess-bandwidth-weight { type uint32; description "Hardware excess bandwidth weight"; } leaf network-min-bandwidth-kbps { type uint32; description "Network minimum Bandwith"; } leaf hardware-queue-limit-bytes { type uint64; units "byte"; description "Hardware queue limit in bytes"; } leaf hardware-queue-limit-microseconds { type uint64; units "microsecond"; description "Hardware queue limit in microseconds"; } leaf policer-bucket-id { type uint32; description "PolicerBucketID"; } leaf policer-stats-handle { type uint64; description "PolicerStatsHandle"; } leaf hardware-policer-average-rate-kbps { type uint32; units "kbit/s"; description "Hardware policer average in kbps"; } leaf hardware-policer-peak-rate-kbps { type uint32; description "Hardware policer peak rate"; } leaf hardware-policer-conform-burst-bytes { type uint32; description "Hardware policer conform burst"; } leaf hardware-policer-excess-burst-bytes { type uint32; description "Hardware policer excess burst"; } leaf is-referred { type boolean; description "Is shared policer referred class"; } leaf ecn-enabled { type boolean; description "ECN Enabled"; } leaf hardware-shaper-peak-burst-bytes { type uint32; description "Hardware shaper peak burst"; } leaf low-shaper-enabled { type boolean; description "Low Shaper Enabled"; } list ip-mark { description "IP mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list ip-mark list common-mark { description "Common mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list common-mark list mpls-mark { description "MPLS mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mpls-mark list wred { description "WRED parameters"; container wred-match-value { description "WRED match values"; list dpa-qosea-show-red-match-value { description "dpa qosea show red match value"; leaf range-start { type uint8; description "Start value of a range"; } leaf range-end { type uint8; description "End value of a range"; } } // list dpa-qosea-show-red-match-value } // container wred-match-value container config-min-threshold { description "Configured minimum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-threshold container config-max-threshold { description "Configured maximum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-threshold container config-drop-probability { description "Configured drop/mark probability"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-drop-probability leaf wred-match-type { type Dpa-qosea-show-wred; description "WREDMatchType"; } leaf hardware-min-threshold-bytes { type uint32; description "Hardware minimum threshold"; } leaf hardware-max-threshold-bytes { type uint32; description "Hardware maximum threshold"; } leaf hardware-drop-probability { type uint32; description "Hardware drop/mark probability"; } leaf first-segment { type uint16; description "First segment"; } leaf segment-size { type uint32; description "Segment size"; } } // list wred } // list class } // container class-table } // list interface } // container interfaces container qos-interfaces { description "QoS list of interfaces"; list qos-interface { description "QoS interface names"; container input { description "QoS policy direction ingress"; container qos-class-table { description "QoS list of class names"; list class { key "level-one-class-name"; description "QoS policy class"; leaf level-one-class-name { type string; description "QoS policy class name at level 1"; } leaf level-two-class-name { type string; description "QoS policy child class name at level 2"; } container config-max-rate { description "Configured maximum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-rate container config-min-rate { description "Configured minimum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-rate container config-queue-limit { description "Configured queue limit"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-queue-limit container config-d-queue-limit { description "Configured Dual queue limit"; leaf class0-policy-value { type uint32; description "Discard Class0 Policy value"; } leaf class1-policy-value { type uint32; description "Discard Class1 Policy value"; } leaf dql-policy-unit { type Policy-param-unit; description "DQL Policy unit"; } } // container config-d-queue-limit container config-policer-average-rate { description "Configured policer average rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-average-rate container config-policer-peak-rate { description "Config policer peak rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-peak-rate container config-policer-conform-burst { description "Configured policer conform burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-conform-burst container config-policer-excess-burst { description "Configured policer excess burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-excess-burst container conform-action { description "Conform action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container conform-action container exceed-action { description "Exceed action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container exceed-action container violate-action { description "Violate action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container violate-action container config-shaper-peak-burst { description "Configured shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-shaper-peak-burst container resolved-shaper-peak-burst { description "Resolved shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container resolved-shaper-peak-burst leaf class-level { type Dpa-qosea-show-level; description "Class level"; } leaf egress-queue-id { type int32; description "Egress Queue ID"; } leaf queue-type { type Dpa-qosea-show-queue; description "Queue type"; } leaf priority-level { type Dpa-qosea-show-hp-level; description "Priority level"; } leaf hardware-max-rate-kbps { type uint32; units "kbit/s"; description "Hardware maximum rate in kbps"; } leaf hardware-min-rate-kbps { type uint32; units "kbit/s"; description "Hardware minimum rate in kbps"; } leaf config-excess-bandwidth-percent { type uint32; units "percentage"; description "Configured excess bandwidth percentage"; } leaf config-excess-bandwidth-unit { type uint32; description "Configured excess bandwidth unit"; } leaf hardware-excess-bandwidth-weight { type uint32; description "Hardware excess bandwidth weight"; } leaf network-min-bandwidth-kbps { type uint32; description "Network minimum Bandwith"; } leaf hardware-queue-limit-bytes { type uint64; units "byte"; description "Hardware queue limit in bytes"; } leaf hardware-queue-limit-microseconds { type uint64; units "microsecond"; description "Hardware queue limit in microseconds"; } leaf policer-bucket-id { type uint32; description "PolicerBucketID"; } leaf policer-stats-handle { type uint64; description "PolicerStatsHandle"; } leaf hardware-policer-average-rate-kbps { type uint32; units "kbit/s"; description "Hardware policer average in kbps"; } leaf hardware-policer-peak-rate-kbps { type uint32; description "Hardware policer peak rate"; } leaf hardware-policer-conform-burst-bytes { type uint32; description "Hardware policer conform burst"; } leaf hardware-policer-excess-burst-bytes { type uint32; description "Hardware policer excess burst"; } leaf is-referred { type boolean; description "Is shared policer referred class"; } leaf ecn-enabled { type boolean; description "ECN Enabled"; } leaf hardware-shaper-peak-burst-bytes { type uint32; description "Hardware shaper peak burst"; } leaf low-shaper-enabled { type boolean; description "Low Shaper Enabled"; } list ip-mark { description "IP mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list ip-mark list common-mark { description "Common mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list common-mark list mpls-mark { description "MPLS mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mpls-mark list wred { description "WRED parameters"; container wred-match-value { description "WRED match values"; list dpa-qosea-show-red-match-value { description "dpa qosea show red match value"; leaf range-start { type uint8; description "Start value of a range"; } leaf range-end { type uint8; description "End value of a range"; } } // list dpa-qosea-show-red-match-value } // container wred-match-value container config-min-threshold { description "Configured minimum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-threshold container config-max-threshold { description "Configured maximum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-threshold container config-drop-probability { description "Configured drop/mark probability"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-drop-probability leaf wred-match-type { type Dpa-qosea-show-wred; description "WREDMatchType"; } leaf hardware-min-threshold-bytes { type uint32; description "Hardware minimum threshold"; } leaf hardware-max-threshold-bytes { type uint32; description "Hardware maximum threshold"; } leaf hardware-drop-probability { type uint32; description "Hardware drop/mark probability"; } leaf first-segment { type uint16; description "First segment"; } leaf segment-size { type uint32; description "Segment size"; } } // list wred } // list class } // container qos-class-table } // container input leaf interface-name { type xr:Interface-name; description "The name of the interface"; } leaf qos-direction { type string; description "The interface direction on which QoS is applied to."; } container output { description "QoS policy direction egress"; container qos-class-table { description "QoS list of class names"; list class { key "level-one-class-name"; description "QoS policy class"; leaf level-one-class-name { type string; description "QoS policy class name at level 1"; } leaf level-two-class-name { type string; description "QoS policy child class name at level 2"; } container config-max-rate { description "Configured maximum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-rate container config-min-rate { description "Configured minimum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-rate container config-queue-limit { description "Configured queue limit"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-queue-limit container config-d-queue-limit { description "Configured Dual queue limit"; leaf class0-policy-value { type uint32; description "Discard Class0 Policy value"; } leaf class1-policy-value { type uint32; description "Discard Class1 Policy value"; } leaf dql-policy-unit { type Policy-param-unit; description "DQL Policy unit"; } } // container config-d-queue-limit container config-policer-average-rate { description "Configured policer average rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-average-rate container config-policer-peak-rate { description "Config policer peak rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-peak-rate container config-policer-conform-burst { description "Configured policer conform burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-conform-burst container config-policer-excess-burst { description "Configured policer excess burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-excess-burst container conform-action { description "Conform action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container conform-action container exceed-action { description "Exceed action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container exceed-action container violate-action { description "Violate action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container violate-action container config-shaper-peak-burst { description "Configured shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-shaper-peak-burst container resolved-shaper-peak-burst { description "Resolved shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container resolved-shaper-peak-burst leaf class-level { type Dpa-qosea-show-level; description "Class level"; } leaf egress-queue-id { type int32; description "Egress Queue ID"; } leaf queue-type { type Dpa-qosea-show-queue; description "Queue type"; } leaf priority-level { type Dpa-qosea-show-hp-level; description "Priority level"; } leaf hardware-max-rate-kbps { type uint32; units "kbit/s"; description "Hardware maximum rate in kbps"; } leaf hardware-min-rate-kbps { type uint32; units "kbit/s"; description "Hardware minimum rate in kbps"; } leaf config-excess-bandwidth-percent { type uint32; units "percentage"; description "Configured excess bandwidth percentage"; } leaf config-excess-bandwidth-unit { type uint32; description "Configured excess bandwidth unit"; } leaf hardware-excess-bandwidth-weight { type uint32; description "Hardware excess bandwidth weight"; } leaf network-min-bandwidth-kbps { type uint32; description "Network minimum Bandwith"; } leaf hardware-queue-limit-bytes { type uint64; units "byte"; description "Hardware queue limit in bytes"; } leaf hardware-queue-limit-microseconds { type uint64; units "microsecond"; description "Hardware queue limit in microseconds"; } leaf policer-bucket-id { type uint32; description "PolicerBucketID"; } leaf policer-stats-handle { type uint64; description "PolicerStatsHandle"; } leaf hardware-policer-average-rate-kbps { type uint32; units "kbit/s"; description "Hardware policer average in kbps"; } leaf hardware-policer-peak-rate-kbps { type uint32; description "Hardware policer peak rate"; } leaf hardware-policer-conform-burst-bytes { type uint32; description "Hardware policer conform burst"; } leaf hardware-policer-excess-burst-bytes { type uint32; description "Hardware policer excess burst"; } leaf is-referred { type boolean; description "Is shared policer referred class"; } leaf ecn-enabled { type boolean; description "ECN Enabled"; } leaf hardware-shaper-peak-burst-bytes { type uint32; description "Hardware shaper peak burst"; } leaf low-shaper-enabled { type boolean; description "Low Shaper Enabled"; } list ip-mark { description "IP mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list ip-mark list common-mark { description "Common mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list common-mark list mpls-mark { description "MPLS mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mpls-mark list wred { description "WRED parameters"; container wred-match-value { description "WRED match values"; list dpa-qosea-show-red-match-value { description "dpa qosea show red match value"; leaf range-start { type uint8; description "Start value of a range"; } leaf range-end { type uint8; description "End value of a range"; } } // list dpa-qosea-show-red-match-value } // container wred-match-value container config-min-threshold { description "Configured minimum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-threshold container config-max-threshold { description "Configured maximum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-threshold container config-drop-probability { description "Configured drop/mark probability"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-drop-probability leaf wred-match-type { type Dpa-qosea-show-wred; description "WREDMatchType"; } leaf hardware-min-threshold-bytes { type uint32; description "Hardware minimum threshold"; } leaf hardware-max-threshold-bytes { type uint32; description "Hardware maximum threshold"; } leaf hardware-drop-probability { type uint32; description "Hardware drop/mark probability"; } leaf first-segment { type uint16; description "First segment"; } leaf segment-size { type uint32; description "Segment size"; } } // list wred } // list class } // container qos-class-table } // container output } // list qos-interface } // container qos-interfaces container bundle-interface-singles { description "QoS list of bundle interfaces"; list bundle-interface-single { key "interface-name"; description "QoS interface names"; leaf interface-name { type xr:Interface-name; description "Bundle interface name"; } container policy-details { description "Policy Details"; leaf npu-id { type uint32; description "NPU ID"; } leaf interface-handle { type uint32; description "InterfaceHandle"; } leaf interface-bandwidth-kbps { type uint32; units "kbit/s"; description "Interface Bandwidth (in kbps)"; } leaf interface-bandwidthkbps { type uint64; units "kbit/s"; description "Interface Bandwidth (in kbps)"; } leaf policy-name { type string { length "0..64"; } description "Policy name"; } leaf spi-id { type uint64; description "SPI Id"; } leaf total-number-of-classes { type uint16; description "Number of Classes"; } leaf voq-base-address { type uint32; description "VOQ base address"; } leaf voq-stats-handle { type uint64; description "VOQ stats handle"; } leaf stats-accounting-type { type Qos-policy-account-enum; description "QoS Statistics Accounting Type"; } leaf policy-status { type Dpa-qosea-show-policy-status; description "Policy Status"; } leaf interface-status { type Dpa-qosea-show-intf-status; description "Interface Status"; } leaf pfc { type uint8; description "Flag to indicate if PFC is enabled on the interface"; } } // container policy-details container member-interfaces { description "QoS list of member interfaces"; list member-interface { key "interface-name"; description "QoS interface names"; leaf interface-name { type xr:Interface-name; description "Member interface"; } container policy-details { description "Policy Details"; leaf npu-id { type uint32; description "NPU ID"; } leaf interface-handle { type uint32; description "InterfaceHandle"; } leaf interface-bandwidth-kbps { type uint32; units "kbit/s"; description "Interface Bandwidth (in kbps)"; } leaf interface-bandwidthkbps { type uint64; units "kbit/s"; description "Interface Bandwidth (in kbps)"; } leaf policy-name { type string { length "0..64"; } description "Policy name"; } leaf spi-id { type uint64; description "SPI Id"; } leaf total-number-of-classes { type uint16; description "Number of Classes"; } leaf voq-base-address { type uint32; description "VOQ base address"; } leaf voq-stats-handle { type uint64; description "VOQ stats handle"; } leaf stats-accounting-type { type Qos-policy-account-enum; description "QoS Statistics Accounting Type"; } leaf policy-status { type Dpa-qosea-show-policy-status; description "Policy Status"; } leaf interface-status { type Dpa-qosea-show-intf-status; description "Interface Status"; } leaf pfc { type uint8; description "Flag to indicate if PFC is enabled on the interface"; } } // container policy-details container class-table { description "QoS list of class names"; list class { key "level-one-class-name"; description "QoS policy class"; leaf level-one-class-name { type string; description "QoS policy class name at level 1"; } leaf level-two-class-name { type string; description "QoS policy child class name at level 2"; } container config-max-rate { description "Configured maximum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-rate container config-min-rate { description "Configured minimum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-rate container config-queue-limit { description "Configured queue limit"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-queue-limit container config-d-queue-limit { description "Configured Dual queue limit"; leaf class0-policy-value { type uint32; description "Discard Class0 Policy value"; } leaf class1-policy-value { type uint32; description "Discard Class1 Policy value"; } leaf dql-policy-unit { type Policy-param-unit; description "DQL Policy unit"; } } // container config-d-queue-limit container config-policer-average-rate { description "Configured policer average rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-average-rate container config-policer-peak-rate { description "Config policer peak rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-peak-rate container config-policer-conform-burst { description "Configured policer conform burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-conform-burst container config-policer-excess-burst { description "Configured policer excess burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-excess-burst container conform-action { description "Conform action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container conform-action container exceed-action { description "Exceed action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container exceed-action container violate-action { description "Violate action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container violate-action container config-shaper-peak-burst { description "Configured shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-shaper-peak-burst container resolved-shaper-peak-burst { description "Resolved shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container resolved-shaper-peak-burst leaf class-level { type Dpa-qosea-show-level; description "Class level"; } leaf egress-queue-id { type int32; description "Egress Queue ID"; } leaf queue-type { type Dpa-qosea-show-queue; description "Queue type"; } leaf priority-level { type Dpa-qosea-show-hp-level; description "Priority level"; } leaf hardware-max-rate-kbps { type uint32; units "kbit/s"; description "Hardware maximum rate in kbps"; } leaf hardware-min-rate-kbps { type uint32; units "kbit/s"; description "Hardware minimum rate in kbps"; } leaf config-excess-bandwidth-percent { type uint32; units "percentage"; description "Configured excess bandwidth percentage"; } leaf config-excess-bandwidth-unit { type uint32; description "Configured excess bandwidth unit"; } leaf hardware-excess-bandwidth-weight { type uint32; description "Hardware excess bandwidth weight"; } leaf network-min-bandwidth-kbps { type uint32; description "Network minimum Bandwith"; } leaf hardware-queue-limit-bytes { type uint64; units "byte"; description "Hardware queue limit in bytes"; } leaf hardware-queue-limit-microseconds { type uint64; units "microsecond"; description "Hardware queue limit in microseconds"; } leaf policer-bucket-id { type uint32; description "PolicerBucketID"; } leaf policer-stats-handle { type uint64; description "PolicerStatsHandle"; } leaf hardware-policer-average-rate-kbps { type uint32; units "kbit/s"; description "Hardware policer average in kbps"; } leaf hardware-policer-peak-rate-kbps { type uint32; description "Hardware policer peak rate"; } leaf hardware-policer-conform-burst-bytes { type uint32; description "Hardware policer conform burst"; } leaf hardware-policer-excess-burst-bytes { type uint32; description "Hardware policer excess burst"; } leaf is-referred { type boolean; description "Is shared policer referred class"; } leaf ecn-enabled { type boolean; description "ECN Enabled"; } leaf hardware-shaper-peak-burst-bytes { type uint32; description "Hardware shaper peak burst"; } leaf low-shaper-enabled { type boolean; description "Low Shaper Enabled"; } list ip-mark { description "IP mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list ip-mark list common-mark { description "Common mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list common-mark list mpls-mark { description "MPLS mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mpls-mark list wred { description "WRED parameters"; container wred-match-value { description "WRED match values"; list dpa-qosea-show-red-match-value { description "dpa qosea show red match value"; leaf range-start { type uint8; description "Start value of a range"; } leaf range-end { type uint8; description "End value of a range"; } } // list dpa-qosea-show-red-match-value } // container wred-match-value container config-min-threshold { description "Configured minimum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-threshold container config-max-threshold { description "Configured maximum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-threshold container config-drop-probability { description "Configured drop/mark probability"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-drop-probability leaf wred-match-type { type Dpa-qosea-show-wred; description "WREDMatchType"; } leaf hardware-min-threshold-bytes { type uint32; description "Hardware minimum threshold"; } leaf hardware-max-threshold-bytes { type uint32; description "Hardware maximum threshold"; } leaf hardware-drop-probability { type uint32; description "Hardware drop/mark probability"; } leaf first-segment { type uint16; description "First segment"; } leaf segment-size { type uint32; description "Segment size"; } } // list wred } // list class } // container class-table } // list member-interface } // container member-interfaces container class-table { description "QoS list of class names"; list class { key "level-one-class-name"; description "QoS policy class"; leaf level-one-class-name { type string; description "QoS policy class name at level 1"; } leaf level-two-class-name { type string; description "QoS policy child class name at level 2"; } container config-max-rate { description "Configured maximum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-rate container config-min-rate { description "Configured minimum rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-rate container config-queue-limit { description "Configured queue limit"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-queue-limit container config-d-queue-limit { description "Configured Dual queue limit"; leaf class0-policy-value { type uint32; description "Discard Class0 Policy value"; } leaf class1-policy-value { type uint32; description "Discard Class1 Policy value"; } leaf dql-policy-unit { type Policy-param-unit; description "DQL Policy unit"; } } // container config-d-queue-limit container config-policer-average-rate { description "Configured policer average rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-average-rate container config-policer-peak-rate { description "Config policer peak rate"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-peak-rate container config-policer-conform-burst { description "Configured policer conform burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-conform-burst container config-policer-excess-burst { description "Configured policer excess burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-policer-excess-burst container conform-action { description "Conform action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container conform-action container exceed-action { description "Exceed action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container exceed-action container violate-action { description "Violate action"; leaf action-type { type Dpa-qosea-show-action; description "Policer action type"; } list mark { description "Action mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mark } // container violate-action container config-shaper-peak-burst { description "Configured shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-shaper-peak-burst container resolved-shaper-peak-burst { description "Resolved shaper peak burst"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container resolved-shaper-peak-burst leaf class-level { type Dpa-qosea-show-level; description "Class level"; } leaf egress-queue-id { type int32; description "Egress Queue ID"; } leaf queue-type { type Dpa-qosea-show-queue; description "Queue type"; } leaf priority-level { type Dpa-qosea-show-hp-level; description "Priority level"; } leaf hardware-max-rate-kbps { type uint32; units "kbit/s"; description "Hardware maximum rate in kbps"; } leaf hardware-min-rate-kbps { type uint32; units "kbit/s"; description "Hardware minimum rate in kbps"; } leaf config-excess-bandwidth-percent { type uint32; units "percentage"; description "Configured excess bandwidth percentage"; } leaf config-excess-bandwidth-unit { type uint32; description "Configured excess bandwidth unit"; } leaf hardware-excess-bandwidth-weight { type uint32; description "Hardware excess bandwidth weight"; } leaf network-min-bandwidth-kbps { type uint32; description "Network minimum Bandwith"; } leaf hardware-queue-limit-bytes { type uint64; units "byte"; description "Hardware queue limit in bytes"; } leaf hardware-queue-limit-microseconds { type uint64; units "microsecond"; description "Hardware queue limit in microseconds"; } leaf policer-bucket-id { type uint32; description "PolicerBucketID"; } leaf policer-stats-handle { type uint64; description "PolicerStatsHandle"; } leaf hardware-policer-average-rate-kbps { type uint32; units "kbit/s"; description "Hardware policer average in kbps"; } leaf hardware-policer-peak-rate-kbps { type uint32; description "Hardware policer peak rate"; } leaf hardware-policer-conform-burst-bytes { type uint32; description "Hardware policer conform burst"; } leaf hardware-policer-excess-burst-bytes { type uint32; description "Hardware policer excess burst"; } leaf is-referred { type boolean; description "Is shared policer referred class"; } leaf ecn-enabled { type boolean; description "ECN Enabled"; } leaf hardware-shaper-peak-burst-bytes { type uint32; description "Hardware shaper peak burst"; } leaf low-shaper-enabled { type boolean; description "Low Shaper Enabled"; } list ip-mark { description "IP mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list ip-mark list common-mark { description "Common mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list common-mark list mpls-mark { description "MPLS mark"; leaf mark-type { type Dpa-qosea-show-mark; description "Mark type"; } leaf mark-value { type uint16; description "Mark value"; } } // list mpls-mark list wred { description "WRED parameters"; container wred-match-value { description "WRED match values"; list dpa-qosea-show-red-match-value { description "dpa qosea show red match value"; leaf range-start { type uint8; description "Start value of a range"; } leaf range-end { type uint8; description "End value of a range"; } } // list dpa-qosea-show-red-match-value } // container wred-match-value container config-min-threshold { description "Configured minimum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-min-threshold container config-max-threshold { description "Configured maximum threshold"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-max-threshold container config-drop-probability { description "Configured drop/mark probability"; leaf policy-value { type uint32; description "Policy value"; } leaf policy-unit { type Policy-param-unit; description "Policy unit"; } } // container config-drop-probability leaf wred-match-type { type Dpa-qosea-show-wred; description "WREDMatchType"; } leaf hardware-min-threshold-bytes { type uint32; description "Hardware minimum threshold"; } leaf hardware-max-threshold-bytes { type uint32; description "Hardware maximum threshold"; } leaf hardware-drop-probability { type uint32; description "Hardware drop/mark probability"; } leaf first-segment { type uint16; description "First segment"; } leaf segment-size { type uint32; description "Segment size"; } } // list wred } // list class } // container class-table } // list bundle-interface-single } // container bundle-interface-singles container remote-interfaces { description "QoS list of remote interfaces"; list remote-interface { key "interface-name"; description "QoS remote interface names"; leaf interface-name { type xr:Interface-name; description "The name of the remote interface"; } leaf policy-name { type string { length "0..64"; } description "Policy Name"; } leaf virtual-output-queue-statistics-handle { type uint64; description "Virtual output queue statistics handle"; } leaf interface-handle { type uint32; description "Interface Handle"; } leaf number-of-virtual-output-queues { type uint32; description "Number of Virtual Output Queues"; } leaf number-of-classes { type uint32; description "Number of Classes"; } leaf pfc { type uint8; description "Flag to indicate if PFC is enabled on the interface"; } list remote-class { description "Remote Class array"; leaf class-name { type string { length "0..64"; } description "Class Name"; } leaf class-id { type uint32; description "Class ID"; } leaf cos-q { type uint32; description "Class of Service Queue"; } leaf queue-limit { type uint32; units "byte"; description "Default/Configured queue limit in bytes"; } leaf hardware-queue-limit { type uint32; units "byte"; description "Hardware queue limit in bytes"; } list wred { max-elements 4; description "Default/Configured WRED profiles"; leaf min-threshold { type uint32; description "Minimum Threshold"; } leaf max-threshold { type uint32; description "Maximum Threshold"; } leaf drop-probability { type uint32; description "Drop Probability"; } } // list wred list hw-wred { max-elements 4; description "Hardware WRED profiles"; leaf min-threshold { type uint32; description "Minimum Threshold"; } leaf max-threshold { type uint32; description "Maximum Threshold"; } leaf drop-probability { type uint32; description "Drop Probability"; } } // list hw-wred } // list remote-class } // list remote-interface } // container remote-interfaces container qos-inconsistancy-details { description "Inconsistancy Details"; list detail { description "Details of warnings of each interface"; leaf interface-handle { type uint32; description "Interface Handle"; } leaf underlying-interface-handle { type uint32; description "Underlying Interface Handle"; } leaf npu-id { type uint8; description "NPU Id"; } leaf policy-name { type string { length "0..64"; } description "Policy name"; } leaf direction { type Dnx-qosea-show-inc-dir; description "Direction"; } leaf inc-bitmap { type uint32; description "Inconsistency Type Bitmap"; } } // list detail } // container qos-inconsistancy-details leaf node-name { type xr:Node-id; description "Node name"; } } // list node } // container nodes } // container platform-qos } // module Cisco-IOS-XR-ncs5500-qos-oper
© 2023 YumaWorks, Inc. All rights reserved.