openconfig-qos-types

openconfig-version: 0.2.1

Description

This module defines types and identities used in OpenConfig models related to quality-of-service (QoS)

Imports

openconfig-extensions

Defined types

queue-behavior

description:
Type definition for different queueing behaviours that are available to a scheduler.

type: enumeration

  • SHAPE
    Packets that exceed the CIR should be queued into a buffer. The depth of the buffer is specified to be max-queue-depth-bytes or max-queue-depth-packets. Packets are subsequently scheduled from this queue to the specified output. Only packets that overflow the buffer have the exceed action applied to them.
  • POLICE
    Packets that exceed the CIR should be immediately treated as exceeding the defined rate of the scheduler and have the exceed action applied to them.

Identities

base: QOS_QUEUE_TYPE

description:
Base identity for supported queue types, primarily defined by their drop behavior / strategy

DROP_TAIL

description:
When the queue is filled to capacity, newly arriving packets are discarded until there is room in the queue to accept new traffic. Packets are not differentiated, i.e., all packets are treated identically.

base identity: QOS_QUEUE_TYPE

RED

description:
Queue management based on Random Early Detection (RED). RED drops packets based on a drop probability that is based on the average queue length, and settings of mininum and maximum queue thresholds. On ECN-capable devices, packets may be marked instead of dropped to signal congestion to the sender.

base identity: QOS_QUEUE_TYPE

WRED

description:
Queue management based on a variant of RED in which the packet drop probability is based on its traffic class.

base identity: QOS_QUEUE_TYPE

base: QOS_SCHEDULER_TYPE

description:
Base identity to describe supported QoS scheduler types.

ONE_RATE_TWO_COLOR

description:
Token bucket scheduler with a single rate (committed information rate) and two colors (conforming and exceeding). The scheduler behavior is governed by two parameters, the CIR which determines the rate of token fill (bps) and the committed burst size (depth of the token bucket in bytes).

base identity: QOS_SCHEDULER_TYPE

TWO_RATE_THREE_COLOR

description:
Token bucket scheduler with two buckets, one filled at the committed information rate (CIR) in bps, and the second filled at the peak information rate (PIR) in bps when the first bucket is full. The first bucket depth is the committed burst size (bytes), and the second is the excess burst size (bytes). Traffic is categorized in three colors as follows: traffic that falls within the the CIR is conforming, traffic that is greater than the CIR but less than the PIR is exceeding, and traffic that is greater than PIR is violating.

base identity: QOS_SCHEDULER_TYPE

Data elements

openconfig-qos

openconfig-version: 0.6.1

Description

This module defines configuration and operational state data related to network quality-of-service.

Imports

openconfig-extensions

Identities

base: SHARED_BUFFER_LIMIT_TYPE

description:
Base identity for supported shared buffer limit types.

STATIC

description:
The maximum buffer space that the queue is allowed to use from the shared buffer is specified as a static-limit which is expressed in bytes.

base identity: SHARED_BUFFER_LIMIT_TYPE

DYNAMIC_BASED_ON_SCALING_FACTOR

description:
The maximum buffer space that the queue is allowed to use from the shared buffer is dynamically determined based on the current usage pattern of the shared buffer and a dynamic-limit which is expressed as a scaling factor on the free space in the shared buffer.

base identity: SHARED_BUFFER_LIMIT_TYPE

Data elements

/
qos

description:
Top-level container for QoS data

nodetype: container (rw)

/qos/
config

description:
Configuration data for global QoS

nodetype: container (rw)

/qos/
state

description:
Operational state data for global QoS

nodetype: container (ro)

/qos/
interfaces

description:
Enclosing container for the list of interface references

nodetype: container (rw)

/qos/interfaces/
interface

description:
List of interfaces referenced by QoS entities.

nodetype: list (rw)

list keys: [interface-id]

/qos/interfaces/interface/
interface-id

description:
Reference to the interface-id list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/interface-id

/qos/interfaces/interface/
config

description:
Configuration data

nodetype: container (rw)

/qos/interfaces/interface/config/
interface-id

description:
Identifier for the interface.

nodetype: leaf (rw)

type: string

/qos/interfaces/interface/
state

description:
Operational state data

nodetype: container (ro)

/qos/interfaces/interface/state/
interface-id

description:
Identifier for the interface.

nodetype: leaf (ro)

type: string

/qos/interfaces/interface/
interface-ref

description:
Reference to an interface or subinterface

nodetype: container (rw)

/qos/interfaces/interface/interface-ref/
config

description:
Configured reference to interface / subinterface

nodetype: container (rw)

/qos/interfaces/interface/interface-ref/config/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/interface/name

/qos/interfaces/interface/interface-ref/config/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/qos/interfaces/interface/interface-ref/
state

description:
Operational state for interface-ref

nodetype: container (ro)

/qos/interfaces/interface/interface-ref/state/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/interface/name

/qos/interfaces/interface/interface-ref/state/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/qos/interfaces/interface/
input

description:
Top-level container for QoS data for the ingress interface

nodetype: container (rw)

/qos/interfaces/interface/input/
config

description:
Configuration data for QoS on ingress interface

nodetype: container (rw)

/qos/interfaces/interface/input/config/
buffer-allocation-profile

description:
The buffer allocation profile that is to be used for the interface. This profile specifies how memory that is available to the interface should be allocated amongst the queues that are instantiated on the interface. This reference specifies the policy that should be used for memory allocated to the input (rx) queueing. This leaf is used in deployment cases where the operator or system requires common allocation profiles covering unicast and multicast packets.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../buffer-allocation-profiles/buffer-allocation-profile/config/name

/qos/interfaces/interface/input/config/
multicast-buffer-allocation-profile

description:
The buffer allocation profile that is to be used for the interface. This profile specifies how memory that is available to the interface should be allocated amongst the queues that are instantiated on the interface. This reference specifies the policy that should be used for memory allocated to the output (tx) queueing. This buffer allocation profile applies to only multicast packets on the interface - if specified, the unicast-buffer-allocation-profile governs the allocation profile used for memory dedicated to unicast. If a system does not support, or an operator does not require separate buffer-allocation-profiles, this is specified by use of the buffer-allocation-profile leaf.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../buffer-allocation-profiles/buffer-allocation-profile/config/name

/qos/interfaces/interface/input/config/
unicast-buffer-allocation-profile

description:
The buffer allocation profile that is to be used for the interface. This profile specifies how memory that is available to the interface should be allocated amongst the queues that are instantiated on the interface. This reference specifies the policy that should be used for memory allocated to the output (tx) queueing. This buffer allocation profile applies to only unicast packets on the interface - if specified, the multicast-buffer-allocation-profile governs the allocation profile used for memory dedicated to multicast. If a system does not support, or an operator does not require separate buffer-allocation-profiles, this is specified by use of the buffer-allocation-profile leaf.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../buffer-allocation-profiles/buffer-allocation-profile/config/name

/qos/interfaces/interface/input/
state

description:
Operational state data for QoS on ingress interface

nodetype: container (ro)

/qos/interfaces/interface/input/state/
buffer-allocation-profile

description:
The buffer allocation profile that is to be used for the interface. This profile specifies how memory that is available to the interface should be allocated amongst the queues that are instantiated on the interface. This reference specifies the policy that should be used for memory allocated to the input (rx) queueing. This leaf is used in deployment cases where the operator or system requires common allocation profiles covering unicast and multicast packets.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../buffer-allocation-profiles/buffer-allocation-profile/config/name

/qos/interfaces/interface/input/state/
multicast-buffer-allocation-profile

description:
The buffer allocation profile that is to be used for the interface. This profile specifies how memory that is available to the interface should be allocated amongst the queues that are instantiated on the interface. This reference specifies the policy that should be used for memory allocated to the output (tx) queueing. This buffer allocation profile applies to only multicast packets on the interface - if specified, the unicast-buffer-allocation-profile governs the allocation profile used for memory dedicated to unicast. If a system does not support, or an operator does not require separate buffer-allocation-profiles, this is specified by use of the buffer-allocation-profile leaf.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../buffer-allocation-profiles/buffer-allocation-profile/config/name

/qos/interfaces/interface/input/state/
unicast-buffer-allocation-profile

description:
The buffer allocation profile that is to be used for the interface. This profile specifies how memory that is available to the interface should be allocated amongst the queues that are instantiated on the interface. This reference specifies the policy that should be used for memory allocated to the output (tx) queueing. This buffer allocation profile applies to only unicast packets on the interface - if specified, the multicast-buffer-allocation-profile governs the allocation profile used for memory dedicated to multicast. If a system does not support, or an operator does not require separate buffer-allocation-profiles, this is specified by use of the buffer-allocation-profile leaf.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../buffer-allocation-profiles/buffer-allocation-profile/config/name

/qos/interfaces/interface/input/
classifiers

description:
Classifiers to be applied to the interface.

nodetype: container (rw)

/qos/interfaces/interface/input/classifiers/
classifier

description:
A list of classifiers that should be applied to the interface

nodetype: list (rw)

list keys: [type]

/qos/interfaces/interface/input/classifiers/classifier/
type

description:
Reference to the classifier name.

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/type

/qos/interfaces/interface/input/classifiers/classifier/
config

description:
Configuration parameters for the list of classifiers.

nodetype: container (rw)

/qos/interfaces/interface/input/classifiers/classifier/config/
name

description:
Reference to the classifier to be applied to ingress traffic on the interface

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../classifiers/classifier/config/name

/qos/interfaces/interface/input/classifiers/classifier/config/
type

description:
Type of packets matched by the classifier.

nodetype: leaf (rw)

type: enumeration

  • IPV4
    Classifier matches IPv4 Unicast packets.
  • IPV6
    Classifier matches IPv6 Unicast packets.
  • MPLS
    Classifier matches MPLS packets.
  • IPV4_MULTICAST
    Classifier matches IPv4 Multicast packets.
  • IPV6_MULTICAST
    Classifier matches IPv6 Multicast packets.

/qos/interfaces/interface/input/classifiers/classifier/
state

description:
Operational state parameters for the list of classifiers.

nodetype: container (ro)

/qos/interfaces/interface/input/classifiers/classifier/state/
name

description:
Reference to the classifier to be applied to ingress traffic on the interface

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../classifiers/classifier/config/name

/qos/interfaces/interface/input/classifiers/classifier/state/
type

description:
Type of packets matched by the classifier.

nodetype: leaf (ro)

type: enumeration

  • IPV4
    Classifier matches IPv4 Unicast packets.
  • IPV6
    Classifier matches IPv6 Unicast packets.
  • MPLS
    Classifier matches MPLS packets.
  • IPV4_MULTICAST
    Classifier matches IPv4 Multicast packets.
  • IPV6_MULTICAST
    Classifier matches IPv6 Multicast packets.

/qos/interfaces/interface/input/classifiers/classifier/
terms

description:
Enclosing container for the list of match terms in the classifier

nodetype: container (rw)

/qos/interfaces/interface/input/classifiers/classifier/terms/
term

description:
List of match terms in the classifier associated with the interface

nodetype: list (ro)

list keys: [id]

/qos/interfaces/interface/input/classifiers/classifier/terms/term/
id

description:
Reference to match term id list key

nodetype: leaf (list key) (ro)

type: leafref

  • path reference: ../state/id

/qos/interfaces/interface/input/classifiers/classifier/terms/term/
state

description:
Operational state data for match terms in the classifier associated with an interface

nodetype: container (ro)

/qos/interfaces/interface/input/classifiers/classifier/terms/term/state/
id

description:
Reference to match terms in the classifier

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id

/qos/interfaces/interface/input/classifiers/classifier/terms/term/state/
matched-packets

description:
Count of the number of packets matching this classifier match term on the interface.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/classifiers/classifier/terms/term/state/
matched-octets

description:
Count of the number of octets (bytes) matching this classifier match term on the interface.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/
queues

description:
Surrounding container for a list of queues that are instantiated on an interface.

nodetype: container (rw)

/qos/interfaces/interface/input/queues/
queue

description:
Top-level container for the queue associated with this interface

nodetype: list (rw)

list keys: [name]

/qos/interfaces/interface/input/queues/queue/
name

description:
Reference to the name of the queue instantiated on the interface.

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/qos/interfaces/interface/input/queues/queue/
config

description:
Configuration data for the queue associated with the interface

nodetype: container (rw)

/qos/interfaces/interface/input/queues/queue/config/
name

description:
Reference to the queue associated with this interface. A queue may be explicitly configured, or implicitly created by the system based on default queues that are instantiated by a hardware component, or are assumed to be default on the system.

nodetype: leaf (rw)

type: string

/qos/interfaces/interface/input/queues/queue/config/
queue-management-profile

description:
The queue management profile that is to be used for the queue on the interface. For example, the system may use a profile which specifies that WRED curves are used for setting an ECN mark in the IP header instead of dropping a packet in order to signal impending congestion and for determining when there is sufficient congestion to tail drop packets. A single profile is available per queue - which applies to all packets that are enqueued to the specified queue, whether they are unicast or multicast.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../queue-management-profiles/queue-management-profile/config/name

/qos/interfaces/interface/input/queues/queue/
state

description:
Operational state data for the queue associated with the interface

nodetype: container (ro)

/qos/interfaces/interface/input/queues/queue/state/
name

description:
Reference to the queue associated with this interface. A queue may be explicitly configured, or implicitly created by the system based on default queues that are instantiated by a hardware component, or are assumed to be default on the system.

nodetype: leaf (ro)

type: string

/qos/interfaces/interface/input/queues/queue/state/
queue-management-profile

description:
The queue management profile that is to be used for the queue on the interface. For example, the system may use a profile which specifies that WRED curves are used for setting an ECN mark in the IP header instead of dropping a packet in order to signal impending congestion and for determining when there is sufficient congestion to tail drop packets. A single profile is available per queue - which applies to all packets that are enqueued to the specified queue, whether they are unicast or multicast.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../queue-management-profiles/queue-management-profile/config/name

/qos/interfaces/interface/input/queues/queue/state/
max-queue-len

description:
Maximum observed queue length

nodetype: leaf (ro)

type: oc-yang:counter64

units: bytes

/qos/interfaces/interface/input/queues/queue/state/
avg-queue-len

description:
Average observed queue length

nodetype: leaf (ro)

type: oc-yang:counter64

units: bytes

/qos/interfaces/interface/input/queues/queue/state/
transmit-pkts

description:
Number of packets transmitted by this queue

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/queues/queue/state/
transmit-octets

description:
Number of octets trasmitted by this queue

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/queues/queue/state/
dropped-pkts

description:
Number of packets dropped by the queue due to overrun

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/queues/queue/state/
dropped-octets

description:
Number of octets dropped by the queue due to overrun

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/
scheduler-policy

description:
Scheduler policy associated with the interface.

nodetype: container (rw)

/qos/interfaces/interface/input/scheduler-policy/
config

description:
Configuration parameters relating to a scheduler policy on an interface.

nodetype: container (rw)

/qos/interfaces/interface/input/scheduler-policy/config/
name

description:
The scheduler policy to be applied to traffic on this interface.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../scheduler-policies/scheduler-policy/config/name

/qos/interfaces/interface/input/scheduler-policy/
state

description:
Operational state parameters relating to a scheduler policy on an interface.

nodetype: container (ro)

/qos/interfaces/interface/input/scheduler-policy/state/
name

description:
The scheduler policy to be applied to traffic on this interface.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../scheduler-policies/scheduler-policy/config/name

/qos/interfaces/interface/input/scheduler-policy/
schedulers

description:
Schedulers within the applied scheduler-policy.

nodetype: container (ro)

/qos/interfaces/interface/input/scheduler-policy/schedulers/
scheduler

description:
List of the schedulers that are part of the scheduler-policy specified.

nodetype: list (ro)

list keys: [sequence]

/qos/interfaces/interface/input/scheduler-policy/schedulers/scheduler/
sequence

description:
Reference to the sequence ID for the scheduler.

nodetype: leaf (list key) (ro)

type: leafref

  • path reference: ../state/sequence

/qos/interfaces/interface/input/scheduler-policy/schedulers/scheduler/
state

description:
Operational state parameters relating to the scheduler policy.

nodetype: container (ro)

/qos/interfaces/interface/input/scheduler-policy/schedulers/scheduler/state/
sequence

description:
Reference to the sequence ID of the scheduler within the current scheduler policy.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../../scheduler-policies/scheduler-policy[name=current()/../../../../config/name]/schedulers/scheduler/config/sequence

/qos/interfaces/interface/input/scheduler-policy/schedulers/scheduler/state/
conforming-pkts

description:
The number of packets that were considered conforming by the scheduler.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/scheduler-policy/schedulers/scheduler/state/
conforming-octets

description:
The number of octets in packets that were considered conforming by the scheduler.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/scheduler-policy/schedulers/scheduler/state/
exceeding-pkts

description:
The number of packets that were considered exceeding by the scheduler.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/scheduler-policy/schedulers/scheduler/state/
exceeding-octets

description:
The number of octets in packets that were considered exceeding by the scheduler.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/scheduler-policy/schedulers/scheduler/state/
violating-pkts

description:
The number of packets that were considered violating by the policer.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/scheduler-policy/schedulers/scheduler/state/
violating-octets

description:
The number of octets in packets that were considered violating by the policer.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/
virtual-output-queues

description:
Surrounding container for the list of egress interfaces for which virtual output queues are instantiated on this interface.

nodetype: container (rw)

/qos/interfaces/interface/input/virtual-output-queues/
voq-interface

description:
List of egress interfaces for which a virtual output queue is instantiated at this interface.

nodetype: list (rw)

list keys: [name]

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/
name

description:
Name used to refer to the egress interface.

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/
config

description:
Configuration parameters relating to the interface for which the VOQs are instantiated.

nodetype: container (rw)

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/config/
name

description:
Name used to refer to the egress interface.

nodetype: leaf (rw)

type: string

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/
state

description:
Operational state parameters relating to the interface for which the VOQs are instantiated.

nodetype: container (ro)

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/state/
name

description:
Name used to refer to the egress interface.

nodetype: leaf (ro)

type: string

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/
queues

description:
Surrounding container for a list of queues that are instantiated on an interface.

nodetype: container (rw)

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/
queue

description:
Top-level container for the queue associated with this interface

nodetype: list (rw)

list keys: [name]

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/
name

description:
Reference to the name of the queue instantiated on the interface.

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/
config

description:
Configuration data for the queue associated with the interface

nodetype: container (rw)

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/config/
name

description:
Reference to the queue associated with this interface. A queue may be explicitly configured, or implicitly created by the system based on default queues that are instantiated by a hardware component, or are assumed to be default on the system.

nodetype: leaf (rw)

type: string

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/
state

description:
Operational state data for the queue associated with the interface

nodetype: container (ro)

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/state/
name

description:
Reference to the queue associated with this interface. A queue may be explicitly configured, or implicitly created by the system based on default queues that are instantiated by a hardware component, or are assumed to be default on the system.

nodetype: leaf (ro)

type: string

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/state/
max-queue-len

description:
Maximum observed queue length

nodetype: leaf (ro)

type: oc-yang:counter64

units: bytes

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/state/
avg-queue-len

description:
Average observed queue length

nodetype: leaf (ro)

type: oc-yang:counter64

units: bytes

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/state/
transmit-pkts

description:
Number of packets transmitted by this queue

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/state/
transmit-octets

description:
Number of octets trasmitted by this queue

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/state/
dropped-pkts

description:
Number of packets dropped by the queue due to overrun

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/state/
dropped-octets

description:
Number of octets dropped by the queue due to overrun

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/
output

description:
Top-level container for QoS data related to the egress interface

nodetype: container (rw)

/qos/interfaces/interface/output/
config

description:
Configuration data for QoS on the egress interface

nodetype: container (rw)

/qos/interfaces/interface/output/config/
buffer-allocation-profile

description:
The buffer allocation profile that is to be used for the interface. This profile specifies how memory that is available to the interface should be allocated amongst the queues that are instantiated on the interface. This reference specifies the policy that should be used for memory allocated to the output (tx) queueing. This leaf is used in deployment cases where the operator or system requires common allocation profiles covering unicast and multicast packets.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../buffer-allocation-profiles/buffer-allocation-profile/config/name

/qos/interfaces/interface/output/config/
multicast-buffer-allocation-profile

description:
The buffer allocation profile that is to be used for the interface. This profile specifies how memory that is available to the interface should be allocated amongst the queues that are instantiated on the interface. This reference specifies the policy that should be used for memory allocated to the output (tx) queueing. This buffer allocation profile applies to only multicast packets on the interface - if specified, the unicast-buffer-allocation-profile governs the allocation profile used for memory dedicated to unicast. If a system does not support, or an operator does not require separate buffer-allocation-profiles, this is specified by use of the buffer-allocation-profile leaf.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../buffer-allocation-profiles/buffer-allocation-profile/config/name

/qos/interfaces/interface/output/config/
unicast-buffer-allocation-profile

description:
The buffer allocation profile that is to be used for the interface. This profile specifies how memory that is available to the interface should be allocated amongst the queues that are instantiated on the interface. This reference specifies the policy that should be used for memory allocated to the output (tx) queueing. This buffer allocation profile applies to only unicast packets on the interface - if specified, the multicast-buffer-allocation-profile governs the allocation profile used for memory dedicated to multicast. If a system does not support, or an operator does not require separate buffer-allocation-profiles, this is specified by use of the buffer-allocation-profile leaf.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../buffer-allocation-profiles/buffer-allocation-profile/config/name

/qos/interfaces/interface/output/
state

description:
Operational state data for QoS on the egress interface

nodetype: container (ro)

/qos/interfaces/interface/output/state/
buffer-allocation-profile

description:
The buffer allocation profile that is to be used for the interface. This profile specifies how memory that is available to the interface should be allocated amongst the queues that are instantiated on the interface. This reference specifies the policy that should be used for memory allocated to the output (tx) queueing. This leaf is used in deployment cases where the operator or system requires common allocation profiles covering unicast and multicast packets.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../buffer-allocation-profiles/buffer-allocation-profile/config/name

/qos/interfaces/interface/output/state/
multicast-buffer-allocation-profile

description:
The buffer allocation profile that is to be used for the interface. This profile specifies how memory that is available to the interface should be allocated amongst the queues that are instantiated on the interface. This reference specifies the policy that should be used for memory allocated to the output (tx) queueing. This buffer allocation profile applies to only multicast packets on the interface - if specified, the unicast-buffer-allocation-profile governs the allocation profile used for memory dedicated to unicast. If a system does not support, or an operator does not require separate buffer-allocation-profiles, this is specified by use of the buffer-allocation-profile leaf.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../buffer-allocation-profiles/buffer-allocation-profile/config/name

/qos/interfaces/interface/output/state/
unicast-buffer-allocation-profile

description:
The buffer allocation profile that is to be used for the interface. This profile specifies how memory that is available to the interface should be allocated amongst the queues that are instantiated on the interface. This reference specifies the policy that should be used for memory allocated to the output (tx) queueing. This buffer allocation profile applies to only unicast packets on the interface - if specified, the multicast-buffer-allocation-profile governs the allocation profile used for memory dedicated to multicast. If a system does not support, or an operator does not require separate buffer-allocation-profiles, this is specified by use of the buffer-allocation-profile leaf.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../buffer-allocation-profiles/buffer-allocation-profile/config/name

/qos/interfaces/interface/output/
interface-ref

description:
Reference to an interface or subinterface

nodetype: container (rw)

/qos/interfaces/interface/output/interface-ref/
config

description:
Configured reference to interface / subinterface

nodetype: container (rw)

/qos/interfaces/interface/output/interface-ref/config/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/interface/name

/qos/interfaces/interface/output/interface-ref/config/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/qos/interfaces/interface/output/interface-ref/
state

description:
Operational state for interface-ref

nodetype: container (ro)

/qos/interfaces/interface/output/interface-ref/state/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/interface/name

/qos/interfaces/interface/output/interface-ref/state/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/qos/interfaces/interface/output/
classifiers

description:
Classifiers to be applied to the interface.

nodetype: container (rw)

/qos/interfaces/interface/output/classifiers/
classifier

description:
A list of classifiers that should be applied to the interface

nodetype: list (rw)

list keys: [type]

/qos/interfaces/interface/output/classifiers/classifier/
type

description:
Reference to the classifier name.

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/type

/qos/interfaces/interface/output/classifiers/classifier/
config

description:
Configuration parameters for the list of classifiers.

nodetype: container (rw)

/qos/interfaces/interface/output/classifiers/classifier/config/
name

description:
Reference to the classifier to be applied to ingress traffic on the interface

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../classifiers/classifier/config/name

/qos/interfaces/interface/output/classifiers/classifier/config/
type

description:
Type of packets matched by the classifier.

nodetype: leaf (rw)

type: enumeration

  • IPV4
    Classifier matches IPv4 Unicast packets.
  • IPV6
    Classifier matches IPv6 Unicast packets.
  • MPLS
    Classifier matches MPLS packets.
  • IPV4_MULTICAST
    Classifier matches IPv4 Multicast packets.
  • IPV6_MULTICAST
    Classifier matches IPv6 Multicast packets.

/qos/interfaces/interface/output/classifiers/classifier/
state

description:
Operational state parameters for the list of classifiers.

nodetype: container (ro)

/qos/interfaces/interface/output/classifiers/classifier/state/
name

description:
Reference to the classifier to be applied to ingress traffic on the interface

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../classifiers/classifier/config/name

/qos/interfaces/interface/output/classifiers/classifier/state/
type

description:
Type of packets matched by the classifier.

nodetype: leaf (ro)

type: enumeration

  • IPV4
    Classifier matches IPv4 Unicast packets.
  • IPV6
    Classifier matches IPv6 Unicast packets.
  • MPLS
    Classifier matches MPLS packets.
  • IPV4_MULTICAST
    Classifier matches IPv4 Multicast packets.
  • IPV6_MULTICAST
    Classifier matches IPv6 Multicast packets.

/qos/interfaces/interface/output/classifiers/classifier/
terms

description:
Enclosing container for the list of match terms in the classifier

nodetype: container (rw)

/qos/interfaces/interface/output/classifiers/classifier/terms/
term

description:
List of match terms in the classifier associated with the interface

nodetype: list (ro)

list keys: [id]

/qos/interfaces/interface/output/classifiers/classifier/terms/term/
id

description:
Reference to match term id list key

nodetype: leaf (list key) (ro)

type: leafref

  • path reference: ../state/id

/qos/interfaces/interface/output/classifiers/classifier/terms/term/
state

description:
Operational state data for match terms in the classifier associated with an interface

nodetype: container (ro)

/qos/interfaces/interface/output/classifiers/classifier/terms/term/state/
id

description:
Reference to match terms in the classifier

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id

/qos/interfaces/interface/output/classifiers/classifier/terms/term/state/
matched-packets

description:
Count of the number of packets matching this classifier match term on the interface.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/output/classifiers/classifier/terms/term/state/
matched-octets

description:
Count of the number of octets (bytes) matching this classifier match term on the interface.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/output/
queues

description:
Surrounding container for a list of queues that are instantiated on an interface.

nodetype: container (rw)

/qos/interfaces/interface/output/queues/
queue

description:
Top-level container for the queue associated with this interface

nodetype: list (rw)

list keys: [name]

/qos/interfaces/interface/output/queues/queue/
name

description:
Reference to the name of the queue instantiated on the interface.

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/qos/interfaces/interface/output/queues/queue/
config

description:
Configuration data for the queue associated with the interface

nodetype: container (rw)

/qos/interfaces/interface/output/queues/queue/config/
name

description:
Reference to the queue associated with this interface. A queue may be explicitly configured, or implicitly created by the system based on default queues that are instantiated by a hardware component, or are assumed to be default on the system.

nodetype: leaf (rw)

type: string

/qos/interfaces/interface/output/queues/queue/config/
queue-management-profile

description:
The queue management profile that is to be used for the queue on the interface. For example, the system may use a profile which specifies that WRED curves are used for setting an ECN mark in the IP header instead of dropping a packet in order to signal impending congestion and for determining when there is sufficient congestion to tail drop packets. A single profile is available per queue - which applies to all packets that are enqueued to the specified queue, whether they are unicast or multicast.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../queue-management-profiles/queue-management-profile/config/name

/qos/interfaces/interface/output/queues/queue/
state

description:
Operational state data for the queue associated with the interface

nodetype: container (ro)

/qos/interfaces/interface/output/queues/queue/state/
name

description:
Reference to the queue associated with this interface. A queue may be explicitly configured, or implicitly created by the system based on default queues that are instantiated by a hardware component, or are assumed to be default on the system.

nodetype: leaf (ro)

type: string

/qos/interfaces/interface/output/queues/queue/state/
queue-management-profile

description:
The queue management profile that is to be used for the queue on the interface. For example, the system may use a profile which specifies that WRED curves are used for setting an ECN mark in the IP header instead of dropping a packet in order to signal impending congestion and for determining when there is sufficient congestion to tail drop packets. A single profile is available per queue - which applies to all packets that are enqueued to the specified queue, whether they are unicast or multicast.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../queue-management-profiles/queue-management-profile/config/name

/qos/interfaces/interface/output/queues/queue/state/
max-queue-len

description:
Maximum observed queue length

nodetype: leaf (ro)

type: oc-yang:counter64

units: bytes

/qos/interfaces/interface/output/queues/queue/state/
avg-queue-len

description:
Average observed queue length

nodetype: leaf (ro)

type: oc-yang:counter64

units: bytes

/qos/interfaces/interface/output/queues/queue/state/
transmit-pkts

description:
Number of packets transmitted by this queue

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/output/queues/queue/state/
transmit-octets

description:
Number of octets trasmitted by this queue

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/output/queues/queue/state/
dropped-pkts

description:
Number of packets dropped by the queue due to overrun

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/output/queues/queue/state/
dropped-octets

description:
Number of octets dropped by the queue due to overrun

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/output/
scheduler-policy

description:
Scheduler policy associated with the interface.

nodetype: container (rw)

/qos/interfaces/interface/output/scheduler-policy/
config

description:
Configuration parameters relating to a scheduler policy on an interface.

nodetype: container (rw)

/qos/interfaces/interface/output/scheduler-policy/config/
name

description:
The scheduler policy to be applied to traffic on this interface.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../scheduler-policies/scheduler-policy/config/name

/qos/interfaces/interface/output/scheduler-policy/
state

description:
Operational state parameters relating to a scheduler policy on an interface.

nodetype: container (ro)

/qos/interfaces/interface/output/scheduler-policy/state/
name

description:
The scheduler policy to be applied to traffic on this interface.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../scheduler-policies/scheduler-policy/config/name

/qos/interfaces/interface/output/scheduler-policy/
schedulers

description:
Schedulers within the applied scheduler-policy.

nodetype: container (ro)

/qos/interfaces/interface/output/scheduler-policy/schedulers/
scheduler

description:
List of the schedulers that are part of the scheduler-policy specified.

nodetype: list (ro)

list keys: [sequence]

/qos/interfaces/interface/output/scheduler-policy/schedulers/scheduler/
sequence

description:
Reference to the sequence ID for the scheduler.

nodetype: leaf (list key) (ro)

type: leafref

  • path reference: ../state/sequence

/qos/interfaces/interface/output/scheduler-policy/schedulers/scheduler/
state

description:
Operational state parameters relating to the scheduler policy.

nodetype: container (ro)

/qos/interfaces/interface/output/scheduler-policy/schedulers/scheduler/state/
sequence

description:
Reference to the sequence ID of the scheduler within the current scheduler policy.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../../scheduler-policies/scheduler-policy[name=current()/../../../../config/name]/schedulers/scheduler/config/sequence

/qos/interfaces/interface/output/scheduler-policy/schedulers/scheduler/state/
conforming-pkts

description:
The number of packets that were considered conforming by the scheduler.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/output/scheduler-policy/schedulers/scheduler/state/
conforming-octets

description:
The number of octets in packets that were considered conforming by the scheduler.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/output/scheduler-policy/schedulers/scheduler/state/
exceeding-pkts

description:
The number of packets that were considered exceeding by the scheduler.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/output/scheduler-policy/schedulers/scheduler/state/
exceeding-octets

description:
The number of octets in packets that were considered exceeding by the scheduler.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/output/scheduler-policy/schedulers/scheduler/state/
violating-pkts

description:
The number of packets that were considered violating by the policer.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/interfaces/interface/output/scheduler-policy/schedulers/scheduler/state/
violating-octets

description:
The number of octets in packets that were considered violating by the policer.

nodetype: leaf (ro)

type: oc-yang:counter64

/qos/
classifiers

description:
Enclosing container for QoS classifiers

nodetype: container (rw)

/qos/classifiers/
classifier

description:
List of classifier elements

nodetype: list (rw)

list keys: [name]

/qos/classifiers/classifier/
name

description:
Reference to list key name

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/qos/classifiers/classifier/
config

description:
Configuration data for classifers

nodetype: container (rw)

/qos/classifiers/classifier/config/
name

description:
User-assigned name of the classifier

nodetype: leaf (rw)

type: string

/qos/classifiers/classifier/config/
type

description:
Type of classifier.

nodetype: leaf (rw)

type: enumeration

  • IPV4
    Classifier matches and operates on packets with IPv4 headers.
  • IPV6
    Classifier matches and operates on packets with IPv6 headers.
  • MPLS
    Classifier matches and operates on packets with MPLS headers.
  • ETHERNET
    Classifier matches and operates on fields within the L2 ETHERNET headers.

/qos/classifiers/classifier/
state

description:
Operational state data for classifiers

nodetype: container (ro)

/qos/classifiers/classifier/state/
name

description:
User-assigned name of the classifier

nodetype: leaf (ro)

type: string

/qos/classifiers/classifier/state/
type

description:
Type of classifier.

nodetype: leaf (ro)

type: enumeration

  • IPV4
    Classifier matches and operates on packets with IPv4 headers.
  • IPV6
    Classifier matches and operates on packets with IPv6 headers.
  • MPLS
    Classifier matches and operates on packets with MPLS headers.
  • ETHERNET
    Classifier matches and operates on fields within the L2 ETHERNET headers.

/qos/classifiers/classifier/
terms

description:
Enclosing container for ths list of terms

nodetype: container (rw)

/qos/classifiers/classifier/terms/
term

description:
List of match terms used in the classifier

nodetype: list (rw)

list keys: [id]

/qos/classifiers/classifier/terms/term/
id

description:
Reference to id list key.

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/id

/qos/classifiers/classifier/terms/term/
config

description:
Configuration data for list of match criteria in a QoS classifier

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/config/
id

description:
Identifier for the match term

nodetype: leaf (rw)

type: string

/qos/classifiers/classifier/terms/term/
state

description:
Operational state data for list of match criteria in a QoS classifier

nodetype: container (ro)

/qos/classifiers/classifier/terms/term/state/
id

description:
Identifier for the match term

nodetype: leaf (ro)

type: string

/qos/classifiers/classifier/terms/term/
conditions

description:
Conditions for the classifier term. Packets must match all of the criteria specified within the match condition to be considered matching the term.

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/conditions/
l2

description:
Ethernet header fields

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/conditions/l2/
config

description:
Configuration data

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/conditions/l2/config/
source-mac

description:
Source IEEE 802 MAC address.

nodetype: leaf (rw)

type: oc-yang:mac-address

/qos/classifiers/classifier/terms/term/conditions/l2/config/
source-mac-mask

description:
Source IEEE 802 MAC address mask.

nodetype: leaf (rw)

type: oc-yang:mac-address

/qos/classifiers/classifier/terms/term/conditions/l2/config/
destination-mac

description:
Destination IEEE 802 MAC address.

nodetype: leaf (rw)

type: oc-yang:mac-address

/qos/classifiers/classifier/terms/term/conditions/l2/config/
destination-mac-mask

description:
Destination IEEE 802 MAC address mask.

nodetype: leaf (rw)

type: oc-yang:mac-address

/qos/classifiers/classifier/terms/term/conditions/l2/config/
ethertype

description:
Ethertype field to match in Ethernet packets

nodetype: leaf (rw)

type: oc-pkt-match-types:ethertype-type

/qos/classifiers/classifier/terms/term/conditions/l2/
state

description:
State Information.

nodetype: container (ro)

/qos/classifiers/classifier/terms/term/conditions/l2/state/
source-mac

description:
Source IEEE 802 MAC address.

nodetype: leaf (ro)

type: oc-yang:mac-address

/qos/classifiers/classifier/terms/term/conditions/l2/state/
source-mac-mask

description:
Source IEEE 802 MAC address mask.

nodetype: leaf (ro)

type: oc-yang:mac-address

/qos/classifiers/classifier/terms/term/conditions/l2/state/
destination-mac

description:
Destination IEEE 802 MAC address.

nodetype: leaf (ro)

type: oc-yang:mac-address

/qos/classifiers/classifier/terms/term/conditions/l2/state/
destination-mac-mask

description:
Destination IEEE 802 MAC address mask.

nodetype: leaf (ro)

type: oc-yang:mac-address

/qos/classifiers/classifier/terms/term/conditions/l2/state/
ethertype

description:
Ethertype field to match in Ethernet packets

nodetype: leaf (ro)

type: oc-pkt-match-types:ethertype-type

/qos/classifiers/classifier/terms/term/conditions/
ipv4

description:
Top level container for IPv4 match field data

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/conditions/ipv4/
config

description:
Configuration data for IPv4 match fields

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/conditions/ipv4/config/
source-address

description:
Source IPv4 address prefix.

nodetype: leaf (rw)

type: oc-inet:ipv4-prefix

/qos/classifiers/classifier/terms/term/conditions/ipv4/config/
source-address-prefix-set

description:
Reference to a IPv4 address prefix Set to match the source address

nodetype: leaf (rw)

type: leafref

  • path reference: /defined-sets/ipv4-prefix-sets/ipv4-prefix-set/name

/qos/classifiers/classifier/terms/term/conditions/ipv4/config/
destination-address

description:
Destination IPv4 address prefix.

nodetype: leaf (rw)

type: oc-inet:ipv4-prefix

/qos/classifiers/classifier/terms/term/conditions/ipv4/config/
destination-address-prefix-set

description:
Reference to a IPv4 address prefix set to match the destination address

nodetype: leaf (rw)

type: leafref

  • path reference: /defined-sets/ipv4-prefix-sets/ipv4-prefix-set/name

/qos/classifiers/classifier/terms/term/conditions/ipv4/config/
dscp

description:
Value of diffserv codepoint.

nodetype: leaf (rw)

type: oc-inet:dscp

/qos/classifiers/classifier/terms/term/conditions/ipv4/config/
dscp-set

description:
A list of DSCP values to be matched for incoming packets. AN OR match should be performed, such that a packet must match one of the values defined in this list. If the field is left empty then any DSCP value matches unless the 'dscp' leaf is specified. It is not valid to specify both 'dscp' and 'dscp-set together.'

nodetype: leaf-list (rw)

type: oc-inet:dscp

/qos/classifiers/classifier/terms/term/conditions/ipv4/config/
protocol

description:
The protocol carried in the IP packet, expressed either as its IP protocol number, or by a defined identity.

nodetype: leaf (rw)

type: oc-pkt-match-types:ip-protocol-type

/qos/classifiers/classifier/terms/term/conditions/ipv4/config/
hop-limit

description:
The IP packet's hop limit -- known as TTL (in hops) in IPv4 packets, and hop limit in IPv6

nodetype: leaf (rw)

type: uint8

  • range: 0..255

/qos/classifiers/classifier/terms/term/conditions/ipv4/
state

description:
State information for IPv4 match fields

nodetype: container (ro)

/qos/classifiers/classifier/terms/term/conditions/ipv4/state/
source-address

description:
Source IPv4 address prefix.

nodetype: leaf (ro)

type: oc-inet:ipv4-prefix

/qos/classifiers/classifier/terms/term/conditions/ipv4/state/
source-address-prefix-set

description:
Reference to a IPv4 address prefix Set to match the source address

nodetype: leaf (ro)

type: leafref

  • path reference: /defined-sets/ipv4-prefix-sets/ipv4-prefix-set/name

/qos/classifiers/classifier/terms/term/conditions/ipv4/state/
destination-address

description:
Destination IPv4 address prefix.

nodetype: leaf (ro)

type: oc-inet:ipv4-prefix

/qos/classifiers/classifier/terms/term/conditions/ipv4/state/
destination-address-prefix-set

description:
Reference to a IPv4 address prefix set to match the destination address

nodetype: leaf (ro)

type: leafref

  • path reference: /defined-sets/ipv4-prefix-sets/ipv4-prefix-set/name

/qos/classifiers/classifier/terms/term/conditions/ipv4/state/
dscp

description:
Value of diffserv codepoint.

nodetype: leaf (ro)

type: oc-inet:dscp

/qos/classifiers/classifier/terms/term/conditions/ipv4/state/
dscp-set

description:
A list of DSCP values to be matched for incoming packets. AN OR match should be performed, such that a packet must match one of the values defined in this list. If the field is left empty then any DSCP value matches unless the 'dscp' leaf is specified. It is not valid to specify both 'dscp' and 'dscp-set together.'

nodetype: leaf-list (ro)

type: oc-inet:dscp

/qos/classifiers/classifier/terms/term/conditions/ipv4/state/
protocol

description:
The protocol carried in the IP packet, expressed either as its IP protocol number, or by a defined identity.

nodetype: leaf (ro)

type: oc-pkt-match-types:ip-protocol-type

/qos/classifiers/classifier/terms/term/conditions/ipv4/state/
hop-limit

description:
The IP packet's hop limit -- known as TTL (in hops) in IPv4 packets, and hop limit in IPv6

nodetype: leaf (ro)

type: uint8

  • range: 0..255

/qos/classifiers/classifier/terms/term/conditions/
ipv6

description:
Top-level container for IPv6 match field data

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/conditions/ipv6/
config

description:
Configuration data for IPv6 match fields

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/conditions/ipv6/config/
source-address

description:
Source IPv6 address prefix.

nodetype: leaf (rw)

type: oc-inet:ipv6-prefix

/qos/classifiers/classifier/terms/term/conditions/ipv6/config/
source-address-prefix-set

description:
Reference to a IPv6 address prefix set to match the source address

nodetype: leaf (rw)

type: leafref

  • path reference: /defined-sets/ipv6-prefix-sets/ipv6-prefix-set/name

/qos/classifiers/classifier/terms/term/conditions/ipv6/config/
source-flow-label

description:
Source IPv6 Flow label.

nodetype: leaf (rw)

type: oc-inet:ipv6-flow-label

/qos/classifiers/classifier/terms/term/conditions/ipv6/config/
destination-address

description:
Destination IPv6 address prefix.

nodetype: leaf (rw)

type: oc-inet:ipv6-prefix

/qos/classifiers/classifier/terms/term/conditions/ipv6/config/
destination-address-prefix-set

description:
Reference to a IPv6 address prefix set to match the destination address

nodetype: leaf (rw)

type: leafref

  • path reference: /defined-sets/ipv6-prefix-sets/ipv6-prefix-set/name

/qos/classifiers/classifier/terms/term/conditions/ipv6/config/
destination-flow-label

description:
Destination IPv6 Flow label.

nodetype: leaf (rw)

type: oc-inet:ipv6-flow-label

/qos/classifiers/classifier/terms/term/conditions/ipv6/config/
dscp

description:
Value of diffserv codepoint.

nodetype: leaf (rw)

type: oc-inet:dscp

/qos/classifiers/classifier/terms/term/conditions/ipv6/config/
dscp-set

description:
A list of DSCP values to be matched for incoming packets. AN OR match should be performed, such that a packet must match one of the values defined in this list. If the field is left empty then any DSCP value matches unless the 'dscp' leaf is specified. It is not valid to specify both 'dscp' and 'dscp-set together.'

nodetype: leaf-list (rw)

type: oc-inet:dscp

/qos/classifiers/classifier/terms/term/conditions/ipv6/config/
protocol

description:
The protocol carried in the IP packet, expressed either as its IP protocol number, or by a defined identity.

nodetype: leaf (rw)

type: oc-pkt-match-types:ip-protocol-type

/qos/classifiers/classifier/terms/term/conditions/ipv6/config/
hop-limit

description:
The IP packet's hop limit -- known as TTL (in hops) in IPv4 packets, and hop limit in IPv6

nodetype: leaf (rw)

type: uint8

  • range: 0..255

/qos/classifiers/classifier/terms/term/conditions/ipv6/
state

description:
Operational state data for IPv6 match fields

nodetype: container (ro)

/qos/classifiers/classifier/terms/term/conditions/ipv6/state/
source-address

description:
Source IPv6 address prefix.

nodetype: leaf (ro)

type: oc-inet:ipv6-prefix

/qos/classifiers/classifier/terms/term/conditions/ipv6/state/
source-address-prefix-set

description:
Reference to a IPv6 address prefix set to match the source address

nodetype: leaf (ro)

type: leafref

  • path reference: /defined-sets/ipv6-prefix-sets/ipv6-prefix-set/name

/qos/classifiers/classifier/terms/term/conditions/ipv6/state/
source-flow-label

description:
Source IPv6 Flow label.

nodetype: leaf (ro)

type: oc-inet:ipv6-flow-label

/qos/classifiers/classifier/terms/term/conditions/ipv6/state/
destination-address

description:
Destination IPv6 address prefix.

nodetype: leaf (ro)

type: oc-inet:ipv6-prefix

/qos/classifiers/classifier/terms/term/conditions/ipv6/state/
destination-address-prefix-set

description:
Reference to a IPv6 address prefix set to match the destination address

nodetype: leaf (ro)

type: leafref

  • path reference: /defined-sets/ipv6-prefix-sets/ipv6-prefix-set/name

/qos/classifiers/classifier/terms/term/conditions/ipv6/state/
destination-flow-label

description:
Destination IPv6 Flow label.

nodetype: leaf (ro)

type: oc-inet:ipv6-flow-label

/qos/classifiers/classifier/terms/term/conditions/ipv6/state/
dscp

description:
Value of diffserv codepoint.

nodetype: leaf (ro)

type: oc-inet:dscp

/qos/classifiers/classifier/terms/term/conditions/ipv6/state/
dscp-set

description:
A list of DSCP values to be matched for incoming packets. AN OR match should be performed, such that a packet must match one of the values defined in this list. If the field is left empty then any DSCP value matches unless the 'dscp' leaf is specified. It is not valid to specify both 'dscp' and 'dscp-set together.'

nodetype: leaf-list (ro)

type: oc-inet:dscp

/qos/classifiers/classifier/terms/term/conditions/ipv6/state/
protocol

description:
The protocol carried in the IP packet, expressed either as its IP protocol number, or by a defined identity.

nodetype: leaf (ro)

type: oc-pkt-match-types:ip-protocol-type

/qos/classifiers/classifier/terms/term/conditions/ipv6/state/
hop-limit

description:
The IP packet's hop limit -- known as TTL (in hops) in IPv4 packets, and hop limit in IPv6

nodetype: leaf (ro)

type: uint8

  • range: 0..255

/qos/classifiers/classifier/terms/term/conditions/
transport

description:
Transport fields container

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/conditions/transport/
config

description:
Configuration data

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/conditions/transport/config/
source-port

description:
Source port or range

nodetype: leaf (rw)

type: oc-pkt-match-types:port-num-range

/qos/classifiers/classifier/terms/term/conditions/transport/config/
source-port-set

description:
Reference to a port set to match the source port

nodetype: leaf (rw)

type: leafref

  • path reference: /defined-sets/port-sets/port-set/name

/qos/classifiers/classifier/terms/term/conditions/transport/config/
destination-port

description:
Destination port or range

nodetype: leaf (rw)

type: oc-pkt-match-types:port-num-range

/qos/classifiers/classifier/terms/term/conditions/transport/config/
destination-port-set

description:
Reference to a port set to match the destination port

nodetype: leaf (rw)

type: leafref

  • path reference: /defined-sets/port-sets/port-set/name

/qos/classifiers/classifier/terms/term/conditions/transport/config/
tcp-flags

description:
List of TCP flags to match

nodetype: leaf-list (rw)

type: identityref

  • base: oc-pkt-match-types:TCP_FLAGS

/qos/classifiers/classifier/terms/term/conditions/transport/
state

description:
State data

nodetype: container (ro)

/qos/classifiers/classifier/terms/term/conditions/transport/state/
source-port

description:
Source port or range

nodetype: leaf (ro)

type: oc-pkt-match-types:port-num-range

/qos/classifiers/classifier/terms/term/conditions/transport/state/
source-port-set

description:
Reference to a port set to match the source port

nodetype: leaf (ro)

type: leafref

  • path reference: /defined-sets/port-sets/port-set/name

/qos/classifiers/classifier/terms/term/conditions/transport/state/
destination-port

description:
Destination port or range

nodetype: leaf (ro)

type: oc-pkt-match-types:port-num-range

/qos/classifiers/classifier/terms/term/conditions/transport/state/
destination-port-set

description:
Reference to a port set to match the destination port

nodetype: leaf (ro)

type: leafref

  • path reference: /defined-sets/port-sets/port-set/name

/qos/classifiers/classifier/terms/term/conditions/transport/state/
tcp-flags

description:
List of TCP flags to match

nodetype: leaf-list (ro)

type: identityref

  • base: oc-pkt-match-types:TCP_FLAGS

/qos/classifiers/classifier/terms/term/conditions/
mpls

description:
MPLS header fields

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/conditions/mpls/
config

description:
Configuration parameters relating to fields within the MPLS header.

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/conditions/mpls/config/
traffic-class

description:
The value of the MPLS traffic class (TC) bits, formerly known as the EXP bits.

nodetype: leaf (rw)

type: oc-mpls:mpls-tc

/qos/classifiers/classifier/terms/term/conditions/mpls/config/
start-label-value

description:
Match MPLS label value on the MPLS header. The usage of this field indicated the upper range value in the top of the stack. The range that is used is inclusive. The match that is done for a particular received pkt_label is: start-label-value <= pkt_label <= end-label-value. The 20-bit label value in an MPLS label stack as specified in RFC 3032. This label value does not include the encodings of Traffic Class and TTL.

nodetype: leaf (rw)

type: oc-mpls:mpls-label

/qos/classifiers/classifier/terms/term/conditions/mpls/config/
end-label-value

description:
Match MPLS label value on the MPLS header. The usage of this field indicated the upper range value in the top of the stack. The range that is used is inclusive. The match that is done for a particular received pkt_label is: start-label-value <= pkt_label <= end-label-value. The 20-bit label value in an MPLS label stack as specified in RFC 3032. This label value does not include the encodings of Traffic Class and TTL.

nodetype: leaf (rw)

type: oc-mpls:mpls-label

/qos/classifiers/classifier/terms/term/conditions/mpls/config/
ttl-value

description:
Time-to-live MPLS packet value match.

nodetype: leaf (rw)

type: uint8

/qos/classifiers/classifier/terms/term/conditions/mpls/
state

description:
Operational state parameters relating to fields within the MPLS header

nodetype: container (ro)

/qos/classifiers/classifier/terms/term/conditions/mpls/state/
traffic-class

description:
The value of the MPLS traffic class (TC) bits, formerly known as the EXP bits.

nodetype: leaf (ro)

type: oc-mpls:mpls-tc

/qos/classifiers/classifier/terms/term/conditions/mpls/state/
start-label-value

description:
Match MPLS label value on the MPLS header. The usage of this field indicated the upper range value in the top of the stack. The range that is used is inclusive. The match that is done for a particular received pkt_label is: start-label-value <= pkt_label <= end-label-value. The 20-bit label value in an MPLS label stack as specified in RFC 3032. This label value does not include the encodings of Traffic Class and TTL.

nodetype: leaf (ro)

type: oc-mpls:mpls-label

/qos/classifiers/classifier/terms/term/conditions/mpls/state/
end-label-value

description:
Match MPLS label value on the MPLS header. The usage of this field indicated the upper range value in the top of the stack. The range that is used is inclusive. The match that is done for a particular received pkt_label is: start-label-value <= pkt_label <= end-label-value. The 20-bit label value in an MPLS label stack as specified in RFC 3032. This label value does not include the encodings of Traffic Class and TTL.

nodetype: leaf (ro)

type: oc-mpls:mpls-label

/qos/classifiers/classifier/terms/term/conditions/mpls/state/
ttl-value

description:
Time-to-live MPLS packet value match.

nodetype: leaf (ro)

type: uint8

/qos/classifiers/classifier/terms/term/
actions

description:
Actions to be applied for packets matching the specified classification rules.

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/actions/
config

description:
Actions to be applied to packets that match the classifier term.

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/actions/config/
target-group

description:
References the forwarding group or class to which the matched packets should be assigned

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../forwarding-groups/forwarding-group/config/name

/qos/classifiers/classifier/terms/term/actions/
state

description:
Operational state parameters associated with classifier term actions

nodetype: container (ro)

/qos/classifiers/classifier/terms/term/actions/state/
target-group

description:
References the forwarding group or class to which the matched packets should be assigned

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../forwarding-groups/forwarding-group/config/name

/qos/classifiers/classifier/terms/term/actions/
remark

description:
Remark actions to be associated with packets that match the classifier term. Where a packet matches these criteria, the specified rewrite actions should be performed.

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/actions/remark/
config

description:
Configuration parameters relating to remarking packets.

nodetype: container (rw)

/qos/classifiers/classifier/terms/term/actions/remark/config/
set-dscp

description:
Sets the 6-bit DSCP (differentiated services code point) value in the IP packet header.

nodetype: leaf (rw)

type: uint8

/qos/classifiers/classifier/terms/term/actions/remark/config/
set-dot1p

description:
Sets the 3-bit class-of-service value in the Ethernet packet header for 802.1Q VLAN-tagged packets, also known as PCP (priority code point).

nodetype: leaf (rw)

type: uint8

/qos/classifiers/classifier/terms/term/actions/remark/config/
set-mpls-tc

description:
Sets the 3-bit traffic class value (also referred to as EXP or CoS) in MPLS packets.

nodetype: leaf (rw)

type: uint8

/qos/classifiers/classifier/terms/term/actions/remark/
state

description:
Operational state parameters relating to remarking packets.

nodetype: container (ro)

/qos/classifiers/classifier/terms/term/actions/remark/state/
set-dscp

description:
Sets the 6-bit DSCP (differentiated services code point) value in the IP packet header.

nodetype: leaf (ro)

type: uint8

/qos/classifiers/classifier/terms/term/actions/remark/state/
set-dot1p

description:
Sets the 3-bit class-of-service value in the Ethernet packet header for 802.1Q VLAN-tagged packets, also known as PCP (priority code point).

nodetype: leaf (ro)

type: uint8

/qos/classifiers/classifier/terms/term/actions/remark/state/
set-mpls-tc

description:
Sets the 3-bit traffic class value (also referred to as EXP or CoS) in MPLS packets.

nodetype: leaf (ro)

type: uint8

/qos/
forwarding-groups

description:
Enclosing container for list of forwarding groups

nodetype: container (rw)

/qos/forwarding-groups/
forwarding-group

description:
List of forwarding groups. Forwarding groups are logical groups of traffic that will receive common forwarding treatment.

nodetype: list (rw)

list keys: [name]

/qos/forwarding-groups/forwarding-group/
name

description:
Reference to name list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/qos/forwarding-groups/forwarding-group/
config

description:
Configuration data for forwarding groups

nodetype: container (rw)

/qos/forwarding-groups/forwarding-group/config/
name

description:
Name of the forwarding group

nodetype: leaf (rw)

type: string

/qos/forwarding-groups/forwarding-group/config/
fabric-priority

description:
Set the priority for the forwarding group for local transmission through the device, e.g., across a switching fabric. Higher priorities are considered to be better, such that traffic with fabric priority 128 is considered to be higher priority than that with fabric priority 0.

nodetype: leaf (rw)

type: uint8

/qos/forwarding-groups/forwarding-group/config/
output-queue

description:
Output queue for packets in this forwarding group. This leaf applies to both multicast and unicast packets. Where a user or system requires separate queueing for multicast and unicast the unicast-output-queue and multicast-output-queue leaves should be specified.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../queues/queue/config/name

/qos/forwarding-groups/forwarding-group/config/
unicast-output-queue

description:
Output queue for unicast packets within this forwarding group. Where an operator or system does not require separate queueing for multicast and unicast this leaf is not specified.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../queues/queue/config/name

/qos/forwarding-groups/forwarding-group/config/
multicast-output-queue

description:
Output queue for multicast packets within this forwarding group. Where an operator or system does not require separate queueing for multicast and unicast this leaf is not specified.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../queues/queue/config/name

/qos/forwarding-groups/forwarding-group/
state

description:
Operational state data for forwarding groups

nodetype: container (ro)

/qos/forwarding-groups/forwarding-group/state/
name

description:
Name of the forwarding group

nodetype: leaf (ro)

type: string

/qos/forwarding-groups/forwarding-group/state/
fabric-priority

description:
Set the priority for the forwarding group for local transmission through the device, e.g., across a switching fabric. Higher priorities are considered to be better, such that traffic with fabric priority 128 is considered to be higher priority than that with fabric priority 0.

nodetype: leaf (ro)

type: uint8

/qos/forwarding-groups/forwarding-group/state/
output-queue

description:
Output queue for packets in this forwarding group. This leaf applies to both multicast and unicast packets. Where a user or system requires separate queueing for multicast and unicast the unicast-output-queue and multicast-output-queue leaves should be specified.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../queues/queue/config/name

/qos/forwarding-groups/forwarding-group/state/
unicast-output-queue

description:
Output queue for unicast packets within this forwarding group. Where an operator or system does not require separate queueing for multicast and unicast this leaf is not specified.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../queues/queue/config/name

/qos/forwarding-groups/forwarding-group/state/
multicast-output-queue

description:
Output queue for multicast packets within this forwarding group. Where an operator or system does not require separate queueing for multicast and unicast this leaf is not specified.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../queues/queue/config/name

/qos/
queues

description:
Enclosing container for the list of queues

nodetype: container (rw)

/qos/queues/
queue

description:
List of defined queues

nodetype: list (rw)

list keys: [name]

/qos/queues/queue/
name

description:
Reference to the queue name list key.

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/qos/queues/queue/
config

description:
Configuration data for queues

nodetype: container (rw)

/qos/queues/queue/config/
name

description:
User-defined name of the queue

nodetype: leaf (rw)

type: string

/qos/queues/queue/
state

description:
Operational state data for queues

nodetype: container (ro)

/qos/queues/queue/state/
name

description:
User-defined name of the queue

nodetype: leaf (ro)

type: string

/qos/
scheduler-policies

description:
Enclosing container for the list of configured scheduler policies.

nodetype: container (rw)

/qos/scheduler-policies/
scheduler-policy

description:
List of scheduler policies. A scheduler policy is a set of schedulers that are to be applied together. Each scheduler within a scheduler policy takes an input, and outputs it according to a scheduling discipline that is specified within it. The schedulers consume resources according to the specification that is provided - which may be absolute resource limits, or relative.

nodetype: list (rw)

list keys: [name]

/qos/scheduler-policies/scheduler-policy/
name

description:
Reference to the name of the scheduler policy

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/qos/scheduler-policies/scheduler-policy/
config

description:
Configuration parameters relating to a scheduler policy.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/config/
name

description:
Name for the scheduler policy.

nodetype: leaf (rw)

type: string

/qos/scheduler-policies/scheduler-policy/
state

description:
Operational state parameters relating to a scheduler policy.

nodetype: container (ro)

/qos/scheduler-policies/scheduler-policy/state/
name

description:
Name for the scheduler policy.

nodetype: leaf (ro)

type: string

/qos/scheduler-policies/scheduler-policy/
schedulers

description:
Schedulers within the scheduler policy.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/
scheduler

description:
List of defined QoS traffic schedulers.

nodetype: list (rw)

list keys: [sequence]

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/
sequence

description:
Reference to the list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/sequence

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/
config

description:
Configuration data for QoS schedulers

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/config/
sequence

description:
Sequence number for the scheduler within the scheduler policy. Schedulers are processed from lowest sequence to highest.

nodetype: leaf (rw)

type: uint32

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/config/
type

description:
Sets the type of scheduler, i.e. the scheduling algorithm used to serve inputs.

nodetype: leaf (rw)

type: identityref

  • base: oc-qos-types:QOS_SCHEDULER_TYPE

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/config/
priority

description:
Priority of the scheduler within the scheduler policy.

nodetype: leaf (rw)

type: enumeration

  • STRICT
    This scheduler term is considered as a strict priority term - such that packets that arrive in the queue are immediately serviced.

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/
state

description:
Operational state data for QoS schedulers

nodetype: container (ro)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/state/
sequence

description:
Sequence number for the scheduler within the scheduler policy. Schedulers are processed from lowest sequence to highest.

nodetype: leaf (ro)

type: uint32

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/state/
type

description:
Sets the type of scheduler, i.e. the scheduling algorithm used to serve inputs.

nodetype: leaf (ro)

type: identityref

  • base: oc-qos-types:QOS_SCHEDULER_TYPE

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/state/
priority

description:
Priority of the scheduler within the scheduler policy.

nodetype: leaf (ro)

type: enumeration

  • STRICT
    This scheduler term is considered as a strict priority term - such that packets that arrive in the queue are immediately serviced.

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/
inputs

description:
Enclosing container

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/inputs/
input

description:
List of input sources for the scheduler.

nodetype: list (rw)

list keys: [id]

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/inputs/input/
id

description:
Reference to list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/id

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/inputs/input/
config

description:
Configuration data for scheduler input sources

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/inputs/input/config/
id

description:
User-defined identifier for the scheduler input

nodetype: leaf (rw)

type: string

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/inputs/input/config/
input-type

description:
Describes the type of input source for the scheduler

nodetype: leaf (rw)

type: enumeration

  • QUEUE
    Input is a defined queue.
  • IN_PROFILE
    Input is in-profile traffic from a parent scheduler/ shaper
  • OUT_PROFILE
    Input is out-of-profile traffic from a parent scheduler/shaper

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/inputs/input/config/
queue

description:
Reference to a queue that is an input source for the scheduler

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../../queues/queue/name

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/inputs/input/config/
weight

description:
For priority schedulers, this indicates the priority of the corresponding input. Higher values indicate higher priority. For weighted round-robin schedulers, this leaf indicates the weight of the corresponding input.

nodetype: leaf (rw)

type: uint64

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/inputs/input/
state

description:
Operational state data for scheduler input sources

nodetype: container (ro)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/inputs/input/state/
id

description:
User-defined identifier for the scheduler input

nodetype: leaf (ro)

type: string

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/inputs/input/state/
input-type

description:
Describes the type of input source for the scheduler

nodetype: leaf (ro)

type: enumeration

  • QUEUE
    Input is a defined queue.
  • IN_PROFILE
    Input is in-profile traffic from a parent scheduler/ shaper
  • OUT_PROFILE
    Input is out-of-profile traffic from a parent scheduler/shaper

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/inputs/input/state/
queue

description:
Reference to a queue that is an input source for the scheduler

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../../queues/queue/name

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/inputs/input/state/
weight

description:
For priority schedulers, this indicates the priority of the corresponding input. Higher values indicate higher priority. For weighted round-robin schedulers, this leaf indicates the weight of the corresponding input.

nodetype: leaf (ro)

type: uint64

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/
output

description:
Top-level container for scheduler output data

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/output/
config

description:
Configuration data for scheduler output

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/output/config/
output-type

description:
Describes the type of output sink for the scheduler.

nodetype: leaf (rw)

type: enumeration

  • SCHEDULER
    Scheduler output is a child scheduler, e.g. to implement hierarchical schedulers.
  • FWD_GROUP
    Scheduler output is a forwarding group, e.g., when performing ingress scheduling before packets traverse a fabric to be processed by an egress forwarding complex.
  • INTERFACE
    Scheduler output is an interface for forwarding.

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/output/config/
child-scheduler

description:
When the scheduler output type is a child scheduler, this leaf provides a reference to the downstream scheduler.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../scheduler-policies/scheduler-policy/config/name

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/output/config/
output-fwd-group

description:
When the scheduler output type is a forwarding group, this leaf provides a reference to the forwarding group.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../forwarding-groups/forwarding-group/config/name

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/output/
state

description:
Operational state data for scheduler output

nodetype: container (ro)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/output/state/
output-type

description:
Describes the type of output sink for the scheduler.

nodetype: leaf (ro)

type: enumeration

  • SCHEDULER
    Scheduler output is a child scheduler, e.g. to implement hierarchical schedulers.
  • FWD_GROUP
    Scheduler output is a forwarding group, e.g., when performing ingress scheduling before packets traverse a fabric to be processed by an egress forwarding complex.
  • INTERFACE
    Scheduler output is an interface for forwarding.

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/output/state/
child-scheduler

description:
When the scheduler output type is a child scheduler, this leaf provides a reference to the downstream scheduler.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../scheduler-policies/scheduler-policy/config/name

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/output/state/
output-fwd-group

description:
When the scheduler output type is a forwarding group, this leaf provides a reference to the forwarding group.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../forwarding-groups/forwarding-group/config/name

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/
one-rate-two-color

description:
Top-level container for data related to a 1 rate, 2 color shaper.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/
config

description:
Configuration data for 1 rate, 2 color shapers

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/config/
cir

description:
Committed information rate for the single-rate token bucket scheduler. This value represents the rate at which tokens are added to the bucket.

nodetype: leaf (rw)

type: uint64

units: bps

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/config/
cir-pct

description:
Committed information rate for the single-rate token bucket scheduler. This value represents the rate at which tokens are added to the bucket. It is expressed as a percentage of the total bandwidth allocated to the context in which the scheduler is referenced.

nodetype: leaf (rw)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/config/
cir-pct-remaining

description:
Committed information rate for the single-rate token bucket scheduler. This value represents the rate at which tokens are added to the bucket. It is expressed as a percentage of the unallocated bandwidth available in the context in which the scheduled is referenced.

nodetype: leaf (rw)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/config/
bc

description:
Committed burst size for the single-rate token bucket scheduler. This value represents the depth of the token bucket.

nodetype: leaf (rw)

type: uint32

units: bytes

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/config/
queuing-behavior

description:
The type of scheduler that is being configured.

nodetype: leaf (rw)

type: oc-qos-types:queue-behavior

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/config/
max-queue-depth-bytes

description:
When the scheduler is specified to be a shaper - the maximum depth of the queue in bytes is the value specified by this leaf.

nodetype: leaf (rw)

type: uint32

units: bytes

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/config/
max-queue-depth-packets

description:
When the scheduler is specified to be a shaper - the maximum depth of the queue in packets is the value specified by this leaf.

nodetype: leaf (rw)

type: uint32

units: packets

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/config/
max-queue-depth-percent

description:
The queue depth specified as a percentage of the total available buffer that is avaialble.

nodetype: leaf (rw)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/
state

description:
Operational state data for 1 rate, 2 color shapers

nodetype: container (ro)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/state/
cir

description:
Committed information rate for the single-rate token bucket scheduler. This value represents the rate at which tokens are added to the bucket.

nodetype: leaf (ro)

type: uint64

units: bps

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/state/
cir-pct

description:
Committed information rate for the single-rate token bucket scheduler. This value represents the rate at which tokens are added to the bucket. It is expressed as a percentage of the total bandwidth allocated to the context in which the scheduler is referenced.

nodetype: leaf (ro)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/state/
cir-pct-remaining

description:
Committed information rate for the single-rate token bucket scheduler. This value represents the rate at which tokens are added to the bucket. It is expressed as a percentage of the unallocated bandwidth available in the context in which the scheduled is referenced.

nodetype: leaf (ro)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/state/
bc

description:
Committed burst size for the single-rate token bucket scheduler. This value represents the depth of the token bucket.

nodetype: leaf (ro)

type: uint32

units: bytes

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/state/
queuing-behavior

description:
The type of scheduler that is being configured.

nodetype: leaf (ro)

type: oc-qos-types:queue-behavior

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/state/
max-queue-depth-bytes

description:
When the scheduler is specified to be a shaper - the maximum depth of the queue in bytes is the value specified by this leaf.

nodetype: leaf (ro)

type: uint32

units: bytes

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/state/
max-queue-depth-packets

description:
When the scheduler is specified to be a shaper - the maximum depth of the queue in packets is the value specified by this leaf.

nodetype: leaf (ro)

type: uint32

units: packets

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/state/
max-queue-depth-percent

description:
The queue depth specified as a percentage of the total available buffer that is avaialble.

nodetype: leaf (ro)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/
conform-action

description:
Action to be applied to packets that are scheduled within the CIR of the one-rate, two-colour scheduler. Packets that receive a token from the in-CIR bucket are said to be conforming and have all of the specified actions applied.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/conform-action/
config

description:
Configuration parameters relating to conforming packets for the 1r2c scheduler.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/conform-action/config/
set-dscp

description:
Sets the 6-bit DSCP (differentiated services code point) value in the IP packet header.

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/conform-action/config/
set-dot1p

description:
Sets the 3-bit class-of-service value in the Ethernet packet header for 802.1Q VLAN-tagged packets, also known as PCP (priority code point).

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/conform-action/config/
set-mpls-tc

description:
Sets the 3-bit traffic class value (also referred to as EXP or CoS) in MPLS packets.

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/conform-action/
state

description:
Operational state parameters relating to conforming packets for the 1r2c scheduler.

nodetype: container (ro)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/conform-action/state/
set-dscp

description:
Sets the 6-bit DSCP (differentiated services code point) value in the IP packet header.

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/conform-action/state/
set-dot1p

description:
Sets the 3-bit class-of-service value in the Ethernet packet header for 802.1Q VLAN-tagged packets, also known as PCP (priority code point).

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/conform-action/state/
set-mpls-tc

description:
Sets the 3-bit traffic class value (also referred to as EXP or CoS) in MPLS packets.

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/
exceed-action

description:
Action to be applied to packets that are scheduled above the CIR of the one-rate, two-colour shaper. Packets that do not receive a token from the in-CIR bucket are said to be exceeding, and have all of the specified actions applied.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/exceed-action/
config

description:
Configuration parameters relating to exceeding packets for the 1r2c scheduler.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/exceed-action/config/
set-dscp

description:
Sets the 6-bit DSCP (differentiated services code point) value in the IP packet header.

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/exceed-action/config/
set-dot1p

description:
Sets the 3-bit class-of-service value in the Ethernet packet header for 802.1Q VLAN-tagged packets, also known as PCP (priority code point).

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/exceed-action/config/
set-mpls-tc

description:
Sets the 3-bit traffic class value (also referred to as EXP or CoS) in MPLS packets.

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/exceed-action/config/
drop

description:
If set to true, packets within this context are dropped.

nodetype: leaf (rw)

type: boolean

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/exceed-action/
state

description:
Operational state parameters relating to exceeding packets for the 1r2c scheduler.

nodetype: container (ro)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/exceed-action/state/
set-dscp

description:
Sets the 6-bit DSCP (differentiated services code point) value in the IP packet header.

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/exceed-action/state/
set-dot1p

description:
Sets the 3-bit class-of-service value in the Ethernet packet header for 802.1Q VLAN-tagged packets, also known as PCP (priority code point).

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/exceed-action/state/
set-mpls-tc

description:
Sets the 3-bit traffic class value (also referred to as EXP or CoS) in MPLS packets.

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/one-rate-two-color/exceed-action/state/
drop

description:
If set to true, packets within this context are dropped.

nodetype: leaf (ro)

type: boolean

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/
two-rate-three-color

description:
Top-level container for data for a 2 rate, 3 color policer.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/
config

description:
Configuration data for 2 rate, 3 color policers.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/config/
cir

description:
Committed information rate for the dual-rate token bucket policer. This value represents the rate at which tokens are added to the primary bucket.

nodetype: leaf (rw)

type: uint64

units: bps

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/config/
cir-pct

description:
Committed information rate for the dual-rate token bucket policer. This value represents the rate at which tokens are added to the primary bucket. It is expressed as a percentage of the total bandwidth available within the context the scheduler is instantiated.

nodetype: leaf (rw)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/config/
cir-pct-remaining

description:
Committed information rate for the dual-rate token bucket policer. This value represents the rate at which tokens are added to the primary bucket. It is expressed as a percentage of the remaining bandwidth within the context the scheduler is instantiated.

nodetype: leaf (rw)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/config/
pir

description:
Peak information rate for the dual-rate token bucket policer. This value represents the rate at which tokens are added to the secondary bucket.

nodetype: leaf (rw)

type: uint64

units: bps

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/config/
pir-pct

description:
Peak information rate for the dual-rate token bucket policer. This value represents the rate at which tokens are added to the secondary bucket. The value is expressed as a percentage of the total bandwidth available in the context in which the scheduler is instantiated.

nodetype: leaf (rw)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/config/
pir-pct-remaining

description:
Peak information rate for the dual-rate token bucket policer. This value represents the rate at which tokens are added to the secondary bucket. It is expressed as a percentage of the remaining bandwidth within the context the scheduler is instantiated.

nodetype: leaf (rw)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/config/
bc

description:
Committed burst size for the dual-rate token bucket policer. This value represents the depth of the token bucket.

nodetype: leaf (rw)

type: uint32

units: bytes

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/config/
be

description:
Excess burst size for the dual-rate token bucket policer. This value represents the depth of the secondary bucket.

nodetype: leaf (rw)

type: uint32

units: bytes

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/
state

description:
Operational state data for 2 rate, 3 color policers.

nodetype: container (ro)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/state/
cir

description:
Committed information rate for the dual-rate token bucket policer. This value represents the rate at which tokens are added to the primary bucket.

nodetype: leaf (ro)

type: uint64

units: bps

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/state/
cir-pct

description:
Committed information rate for the dual-rate token bucket policer. This value represents the rate at which tokens are added to the primary bucket. It is expressed as a percentage of the total bandwidth available within the context the scheduler is instantiated.

nodetype: leaf (ro)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/state/
cir-pct-remaining

description:
Committed information rate for the dual-rate token bucket policer. This value represents the rate at which tokens are added to the primary bucket. It is expressed as a percentage of the remaining bandwidth within the context the scheduler is instantiated.

nodetype: leaf (ro)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/state/
pir

description:
Peak information rate for the dual-rate token bucket policer. This value represents the rate at which tokens are added to the secondary bucket.

nodetype: leaf (ro)

type: uint64

units: bps

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/state/
pir-pct

description:
Peak information rate for the dual-rate token bucket policer. This value represents the rate at which tokens are added to the secondary bucket. The value is expressed as a percentage of the total bandwidth available in the context in which the scheduler is instantiated.

nodetype: leaf (ro)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/state/
pir-pct-remaining

description:
Peak information rate for the dual-rate token bucket policer. This value represents the rate at which tokens are added to the secondary bucket. It is expressed as a percentage of the remaining bandwidth within the context the scheduler is instantiated.

nodetype: leaf (ro)

type: oc-types:percentage

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/state/
bc

description:
Committed burst size for the dual-rate token bucket policer. This value represents the depth of the token bucket.

nodetype: leaf (ro)

type: uint32

units: bytes

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/state/
be

description:
Excess burst size for the dual-rate token bucket policer. This value represents the depth of the secondary bucket.

nodetype: leaf (ro)

type: uint32

units: bytes

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/
conform-action

description:
Action to be applied to the packets that are scheduled within the CIR of the policer. All packets that receive a token from this bucket have all actions specified applied to them

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/conform-action/
config

description:
Configuration parameters for the conform action of a 2r3c policer.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/conform-action/config/
set-dscp

description:
Sets the 6-bit DSCP (differentiated services code point) value in the IP packet header.

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/conform-action/config/
set-dot1p

description:
Sets the 3-bit class-of-service value in the Ethernet packet header for 802.1Q VLAN-tagged packets, also known as PCP (priority code point).

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/conform-action/config/
set-mpls-tc

description:
Sets the 3-bit traffic class value (also referred to as EXP or CoS) in MPLS packets.

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/conform-action/
state

description:
Operational state parameters relating to the conform action of a 2r3c policer.

nodetype: container (ro)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/conform-action/state/
set-dscp

description:
Sets the 6-bit DSCP (differentiated services code point) value in the IP packet header.

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/conform-action/state/
set-dot1p

description:
Sets the 3-bit class-of-service value in the Ethernet packet header for 802.1Q VLAN-tagged packets, also known as PCP (priority code point).

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/conform-action/state/
set-mpls-tc

description:
Sets the 3-bit traffic class value (also referred to as EXP or CoS) in MPLS packets.

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/
exceed-action

description:
Action to be applied to the packets that are scheduled within the PIR of the policer. Packets that receive a token from within the PIR allocation have all the specified actions applied to them

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/exceed-action/
config

description:
Configuration parameters relating to the action applied to exceeding packets.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/exceed-action/config/
set-dscp

description:
Sets the 6-bit DSCP (differentiated services code point) value in the IP packet header.

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/exceed-action/config/
set-dot1p

description:
Sets the 3-bit class-of-service value in the Ethernet packet header for 802.1Q VLAN-tagged packets, also known as PCP (priority code point).

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/exceed-action/config/
set-mpls-tc

description:
Sets the 3-bit traffic class value (also referred to as EXP or CoS) in MPLS packets.

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/exceed-action/config/
drop

description:
If set to true, packets within this context are dropped.

nodetype: leaf (rw)

type: boolean

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/exceed-action/
state

description:
Operational state parameters relating to the action applied to exceeding packets.

nodetype: container (ro)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/exceed-action/state/
set-dscp

description:
Sets the 6-bit DSCP (differentiated services code point) value in the IP packet header.

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/exceed-action/state/
set-dot1p

description:
Sets the 3-bit class-of-service value in the Ethernet packet header for 802.1Q VLAN-tagged packets, also known as PCP (priority code point).

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/exceed-action/state/
set-mpls-tc

description:
Sets the 3-bit traffic class value (also referred to as EXP or CoS) in MPLS packets.

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/exceed-action/state/
drop

description:
If set to true, packets within this context are dropped.

nodetype: leaf (ro)

type: boolean

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/
violate-action

description:
Action to be applied to the packets that are scheduled above the PIR of the policer. Packets that do not receive a token from either bucket have all specified actions applied to them.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/violate-action/
config

description:
Configuration parameters relating to the action applied to violating packets.

nodetype: container (rw)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/violate-action/config/
set-dscp

description:
Sets the 6-bit DSCP (differentiated services code point) value in the IP packet header.

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/violate-action/config/
set-dot1p

description:
Sets the 3-bit class-of-service value in the Ethernet packet header for 802.1Q VLAN-tagged packets, also known as PCP (priority code point).

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/violate-action/config/
set-mpls-tc

description:
Sets the 3-bit traffic class value (also referred to as EXP or CoS) in MPLS packets.

nodetype: leaf (rw)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/violate-action/config/
drop

description:
If set to true, packets within this context are dropped.

nodetype: leaf (rw)

type: boolean

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/violate-action/
state

description:
Operational state parameters relating to the action applied to violating packets.

nodetype: container (ro)

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/violate-action/state/
set-dscp

description:
Sets the 6-bit DSCP (differentiated services code point) value in the IP packet header.

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/violate-action/state/
set-dot1p

description:
Sets the 3-bit class-of-service value in the Ethernet packet header for 802.1Q VLAN-tagged packets, also known as PCP (priority code point).

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/violate-action/state/
set-mpls-tc

description:
Sets the 3-bit traffic class value (also referred to as EXP or CoS) in MPLS packets.

nodetype: leaf (ro)

type: uint8

/qos/scheduler-policies/scheduler-policy/schedulers/scheduler/two-rate-three-color/violate-action/state/
drop

description:
If set to true, packets within this context are dropped.

nodetype: leaf (ro)

type: boolean

/qos/
buffer-allocation-profiles

description:
Surrounding container for buffer allocation profiles.

nodetype: container (rw)

/qos/buffer-allocation-profiles/
buffer-allocation-profile

description:
A buffer allocation profile describes a mapping between the queues that are instantiated on an interface and the memory that is allocated to them on the forwarding complex that they are instantiated. Profiles (like queues) are defined in the abstract and instantiated by being configured on a particular interface. Separate allocation profiles may be used for ingress and egress traffic, with the profile being specified within the /qos/interfaces/interface list.

nodetype: list (rw)

list keys: [name]

/qos/buffer-allocation-profiles/buffer-allocation-profile/
name

description:
Reference to the unique name used as a key for each buffer profile.

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/qos/buffer-allocation-profiles/buffer-allocation-profile/
config

description:
Configuration parameters for a buffer-allocation-profile.

nodetype: container (rw)

/qos/buffer-allocation-profiles/buffer-allocation-profile/config/
name

description:
Unique string identifying the buffer allocation profile, used to reference to the profile on interfaces.

nodetype: leaf (rw)

type: string

/qos/buffer-allocation-profiles/buffer-allocation-profile/
state

description:
Operational state parameters relating to a buffer-allocation-profile.

nodetype: container (ro)

/qos/buffer-allocation-profiles/buffer-allocation-profile/state/
name

description:
Unique string identifying the buffer allocation profile, used to reference to the profile on interfaces.

nodetype: leaf (ro)

type: string

/qos/buffer-allocation-profiles/buffer-allocation-profile/
queues

description:
Surrounding container for the queues that are referenced under a buffer-allocation-policy.

nodetype: container (rw)

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/
queue

description:
Buffer allocation profile for a specific queue on the interface.

nodetype: list (rw)

list keys: [name]

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/
name

description:
Reference to the name of the queue being referenced under the buffer allocation profile.

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/
config

description:
Configuration parameters relating to a queue within a buffer allocation profile.

nodetype: container (rw)

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/config/
name

description:
Reference to the queue being referenced within the buffer allocation profile.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../queues/queue/config/name

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/config/
dedicated-buffer

description:
This is the dedicated buffer that is carved for the queue, this is the minimum number of bytes reserved for this queue.

nodetype: leaf (rw)

type: uint64

units: bytes

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/config/
use-shared-buffer

description:
If the flag is true, then the queue is allowed to use buffers from shared pool in additional to the dedicated buffers assigned for this queue.

nodetype: leaf (rw)

type: boolean

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/config/
shared-buffer-limit-type

description:
The type of limit used to specify the amount of buffer space that the queue is allowed to use from the shared pool.

nodetype: leaf (rw)

type: identityref

  • base: SHARED_BUFFER_LIMIT_TYPE

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/config/
static-shared-buffer-limit

description:
If the shared-buffer-limit-type is STATIC, then static-shared-buffer-limit is the maximum number of bytes that the queue is allowed to use from the shared pool.

nodetype: leaf (rw)

type: uint32

units: bytes

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/config/
dynamic-limit-scaling-factor

description:
If shared-buffer-limit-type is DYNAMIC_BASED_ON_SCALING_FACTOR, the scaling factor and the current free space in the shared pool is used to determine the maximum buffer sapce from the shared pool that the queue is allowed to use. Example: If a queue is using 79MB and the other queues are using 11MB, the free buffer is 10MB. If the configured scaling factor is 3 for the queue, the maximum buffer space from the shared pool that the queue is allowed to use is calculated as (free buffer * 2^scaling factor) ie. 10MB*2^3 = 80MB. Since the current usage is 79MB which is < 80MB, the packet is queued.

nodetype: leaf (rw)

type: int32

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/
state

description:
Operational state parameters relating to a queue wtihin a buffer allocation profile.

nodetype: container (ro)

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/state/
name

description:
Reference to the queue being referenced within the buffer allocation profile.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../queues/queue/config/name

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/state/
dedicated-buffer

description:
This is the dedicated buffer that is carved for the queue, this is the minimum number of bytes reserved for this queue.

nodetype: leaf (ro)

type: uint64

units: bytes

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/state/
use-shared-buffer

description:
If the flag is true, then the queue is allowed to use buffers from shared pool in additional to the dedicated buffers assigned for this queue.

nodetype: leaf (ro)

type: boolean

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/state/
shared-buffer-limit-type

description:
The type of limit used to specify the amount of buffer space that the queue is allowed to use from the shared pool.

nodetype: leaf (ro)

type: identityref

  • base: SHARED_BUFFER_LIMIT_TYPE

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/state/
static-shared-buffer-limit

description:
If the shared-buffer-limit-type is STATIC, then static-shared-buffer-limit is the maximum number of bytes that the queue is allowed to use from the shared pool.

nodetype: leaf (ro)

type: uint32

units: bytes

/qos/buffer-allocation-profiles/buffer-allocation-profile/queues/queue/state/
dynamic-limit-scaling-factor

description:
If shared-buffer-limit-type is DYNAMIC_BASED_ON_SCALING_FACTOR, the scaling factor and the current free space in the shared pool is used to determine the maximum buffer sapce from the shared pool that the queue is allowed to use. Example: If a queue is using 79MB and the other queues are using 11MB, the free buffer is 10MB. If the configured scaling factor is 3 for the queue, the maximum buffer space from the shared pool that the queue is allowed to use is calculated as (free buffer * 2^scaling factor) ie. 10MB*2^3 = 80MB. Since the current usage is 79MB which is < 80MB, the packet is queued.

nodetype: leaf (ro)

type: int32

/qos/
queue-management-profiles

description:
Surrounding container for the list of configured queue management profiles.

nodetype: container (rw)

/qos/queue-management-profiles/
queue-management-profile

description:
A queue management profile within the OpenConfig QoS model specifies how packets are ECN marked/dropped for a particular instance of a queue on a particular interface. for example, whether RED, or WRED is applied to manage the queue's occupancy.

nodetype: list (rw)

list keys: [name]

/qos/queue-management-profiles/queue-management-profile/
name

description:
Reference to the unique name used to reference the queue management profile

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/qos/queue-management-profiles/queue-management-profile/
config

description:
Configuration parameters relating to the queue management profile.

nodetype: container (rw)

/qos/queue-management-profiles/queue-management-profile/config/
name

description:
Unique string name used for the queue management profile.

nodetype: leaf (rw)

type: string

/qos/queue-management-profiles/queue-management-profile/
state

description:
Operational state parameters relating to the queue management profile.

nodetype: container (ro)

/qos/queue-management-profiles/queue-management-profile/state/
name

description:
Unique string name used for the queue management profile.

nodetype: leaf (ro)

type: string

/qos/queue-management-profiles/queue-management-profile/
wred

description:
Configuration and operational state parameters relating to Weighted Random Early Detection (WRED).

nodetype: container (rw)

/qos/queue-management-profiles/queue-management-profile/wred/
uniform

description:
Uniform WRED parameters. These parameters are applied to all the traffic coming into system.

nodetype: container (rw)

/qos/queue-management-profiles/queue-management-profile/wred/uniform/
config

description:
Configuration parameters relating to the WRED.

nodetype: container (rw)

/qos/queue-management-profiles/queue-management-profile/wred/uniform/config/
min-threshold

description:
The mininum threshold parameter for a RED-managed queue. When the average queue length is less than minth, all packets are admitted to the queue.

nodetype: leaf (rw)

type: uint64

units: bytes

/qos/queue-management-profiles/queue-management-profile/wred/uniform/config/
max-threshold

description:
The maximum threshold parameter for a RED-managed queue. When the average queue length exceeds the maxth value, all packets are dropped (or marked if ECN is enabled).

nodetype: leaf (rw)

type: uint64

units: bytes

/qos/queue-management-profiles/queue-management-profile/wred/uniform/config/
enable-ecn

description:
When this leaf is true and the number of packets in the queue is between the minimum threshold and the maximum threshold, if the ECN field on the packet indicates that the endpoints are ECN capable (that is, the ECT bit is set to 1 and the CE bit is set to 0, or the ECT bit is set to 0 and the CE bit is set to 1) and the WRED algorithm determines that the packet should have been dropped based on the drop probability, the ECT and CE bits for the packet are changed to 1, and the packet is transmitted.

nodetype: leaf (rw)

type: boolean

default: false

/qos/queue-management-profiles/queue-management-profile/wred/uniform/config/
drop

description:
When this leaf is true and the packet and if the ECN field in the packet indicates that the endpoints are not ECN capable and the and the WRED algorithm determines that the packet should have been dropped based on the drop probability, the packet is dropped.

nodetype: leaf (rw)

type: boolean

default: false

/qos/queue-management-profiles/queue-management-profile/wred/uniform/config/
weight

description:
The average queue size depends on the previous average as well as the current size of the queue. average queue size = (previous average queue size)*(1-2^{-n})+ (current queue size)*(2^{-n}) where n is the user-configurable exponential weight factor. The previous average is more important for high values of n. Peaks and lows in queue size are smoothed by a high value. For low values of n, the average queue size is close to the current queue size.

nodetype: leaf (rw)

type: uint32

/qos/queue-management-profiles/queue-management-profile/wred/uniform/config/
max-drop-probability-percent

description:
If the queue depth is between min and max threshold then this the probability with which packets are dropped or marked.

nodetype: leaf (rw)

type: oc-types:percentage

/qos/queue-management-profiles/queue-management-profile/wred/uniform/
state

description:
Operational state parameters relating to the WRED.

nodetype: container (ro)

/qos/queue-management-profiles/queue-management-profile/wred/uniform/state/
min-threshold

description:
The mininum threshold parameter for a RED-managed queue. When the average queue length is less than minth, all packets are admitted to the queue.

nodetype: leaf (ro)

type: uint64

units: bytes

/qos/queue-management-profiles/queue-management-profile/wred/uniform/state/
max-threshold

description:
The maximum threshold parameter for a RED-managed queue. When the average queue length exceeds the maxth value, all packets are dropped (or marked if ECN is enabled).

nodetype: leaf (ro)

type: uint64

units: bytes

/qos/queue-management-profiles/queue-management-profile/wred/uniform/state/
enable-ecn

description:
When this leaf is true and the number of packets in the queue is between the minimum threshold and the maximum threshold, if the ECN field on the packet indicates that the endpoints are ECN capable (that is, the ECT bit is set to 1 and the CE bit is set to 0, or the ECT bit is set to 0 and the CE bit is set to 1) and the WRED algorithm determines that the packet should have been dropped based on the drop probability, the ECT and CE bits for the packet are changed to 1, and the packet is transmitted.

nodetype: leaf (ro)

type: boolean

default: false

/qos/queue-management-profiles/queue-management-profile/wred/uniform/state/
drop

description:
When this leaf is true and the packet and if the ECN field in the packet indicates that the endpoints are not ECN capable and the and the WRED algorithm determines that the packet should have been dropped based on the drop probability, the packet is dropped.

nodetype: leaf (ro)

type: boolean

default: false

/qos/queue-management-profiles/queue-management-profile/wred/uniform/state/
weight

description:
The average queue size depends on the previous average as well as the current size of the queue. average queue size = (previous average queue size)*(1-2^{-n})+ (current queue size)*(2^{-n}) where n is the user-configurable exponential weight factor. The previous average is more important for high values of n. Peaks and lows in queue size are smoothed by a high value. For low values of n, the average queue size is close to the current queue size.

nodetype: leaf (ro)

type: uint32

/qos/queue-management-profiles/queue-management-profile/wred/uniform/state/
max-drop-probability-percent

description:
If the queue depth is between min and max threshold then this the probability with which packets are dropped or marked.

nodetype: leaf (ro)

type: oc-types:percentage

/qos/queue-management-profiles/queue-management-profile/
red

description:
Configuration and operational state parameters relating to Random Early Detection (RED).

nodetype: container (rw)

/qos/queue-management-profiles/queue-management-profile/red/
uniform

description:
Uniform RED parameters. These parameters are applied to all the traffic coming into system.

nodetype: container (rw)

/qos/queue-management-profiles/queue-management-profile/red/uniform/
config

description:
Configuration parameters relating to the RED.

nodetype: container (rw)

/qos/queue-management-profiles/queue-management-profile/red/uniform/config/
min-threshold

description:
The mininum threshold parameter for a RED-managed queue. When the average queue length is less than minth, all packets are admitted to the queue.

nodetype: leaf (rw)

type: uint64

units: bytes

/qos/queue-management-profiles/queue-management-profile/red/uniform/config/
max-threshold

description:
The maximum threshold parameter for a RED-managed queue. When the average queue length exceeds the maxth value, all packets are dropped (or marked if ECN is enabled).

nodetype: leaf (rw)

type: uint64

units: bytes

/qos/queue-management-profiles/queue-management-profile/red/uniform/config/
enable-ecn

description:
When this leaf is true and the number of packets in the queue is between the minimum threshold and the maximum threshold, if the ECN field on the packet indicates that the endpoints are ECN capable (that is, the ECT bit is set to 1 and the CE bit is set to 0, or the ECT bit is set to 0 and the CE bit is set to 1) and the WRED algorithm determines that the packet should have been dropped based on the drop probability, the ECT and CE bits for the packet are changed to 1, and the packet is transmitted.

nodetype: leaf (rw)

type: boolean

default: false

/qos/queue-management-profiles/queue-management-profile/red/uniform/config/
drop

description:
When this leaf is true and the packet and if the ECN field in the packet indicates that the endpoints are not ECN capable and the and the WRED algorithm determines that the packet should have been dropped based on the drop probability, the packet is dropped.

nodetype: leaf (rw)

type: boolean

default: false

/qos/queue-management-profiles/queue-management-profile/red/uniform/
state

description:
Operational state parameters relating to the RED.

nodetype: container (ro)

/qos/queue-management-profiles/queue-management-profile/red/uniform/state/
min-threshold

description:
The mininum threshold parameter for a RED-managed queue. When the average queue length is less than minth, all packets are admitted to the queue.

nodetype: leaf (ro)

type: uint64

units: bytes

/qos/queue-management-profiles/queue-management-profile/red/uniform/state/
max-threshold

description:
The maximum threshold parameter for a RED-managed queue. When the average queue length exceeds the maxth value, all packets are dropped (or marked if ECN is enabled).

nodetype: leaf (ro)

type: uint64

units: bytes

/qos/queue-management-profiles/queue-management-profile/red/uniform/state/
enable-ecn

description:
When this leaf is true and the number of packets in the queue is between the minimum threshold and the maximum threshold, if the ECN field on the packet indicates that the endpoints are ECN capable (that is, the ECT bit is set to 1 and the CE bit is set to 0, or the ECT bit is set to 0 and the CE bit is set to 1) and the WRED algorithm determines that the packet should have been dropped based on the drop probability, the ECT and CE bits for the packet are changed to 1, and the packet is transmitted.

nodetype: leaf (ro)

type: boolean

default: false

/qos/queue-management-profiles/queue-management-profile/red/uniform/state/
drop

description:
When this leaf is true and the packet and if the ECN field in the packet indicates that the endpoints are not ECN capable and the and the WRED algorithm determines that the packet should have been dropped based on the drop probability, the packet is dropped.

nodetype: leaf (ro)

type: boolean

default: false