public icon indicating copy to clipboard operation
public copied to clipboard

Question/clarifcation about qos-interface-classifier-top grouping

Open singularsyntax opened this issue 3 years ago • 0 comments

The qos-interface-classifier-top grouping in openconfig-qos-interfaces defines a key on the type leaf for its classifier list. The config grouping for list elements, qos-interface-classifiers-config, furthermore has a name leafref which references a member in the top-level qos/classifiers config.

Some observations:

  1. The type key in qos-interface-classifier-top is an enumeration which does not allow for ETHERNET as a value, whereas the the type value for top-level classifiers defined in openconfig-qos-elements does.
  2. All other sub-groupings in qos-interface-input-top (e.g. qos-interface-queue-root-top, qos-interface-scheduler-top) are named references to top-level qos sub-container members, which is inconsistent with qos-interface-classifier-top.

Is this behavior intended? Should qos-interface-classifier-top classifier list members perhaps be multi-keyed on type and name? Is ETHERNET excluded as a valid type value here deliberately?

singularsyntax avatar Sep 30 '22 23:09 singularsyntax