netconfcentral logo

openconfig-qos@2016-12-16



  module openconfig-qos {

    yang-version 1;

    namespace
      "http://openconfig.net/yang/qos";

    prefix oc-qos;

    import openconfig-extensions {
      prefix oc-ext;
    }

    include openconfig-qos-interfaces;
    include openconfig-qos-elements;

    organization "OpenConfig working group";

    contact
      "OpenConfig working group
    www.openconfig.net";

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

    revision "2016-12-16" {
      description
        "Fix incorrect interface-ref placement";
      reference
        "0.2.0";

    }

    oc-ext:openconfig-version "0.2.0";

    grouping qos-config {
      description
        "Configuration data for global QoS";
    }  // grouping qos-config

    grouping qos-state {
      description
        "Operational state data for global QoS";
    }  // grouping qos-state

    grouping qos-top {
      description
        "Top-level grouping for QoS model";
      container qos {
        description
          "Top-level container for QoS data";
        container config {
          description
            "Configuration data for global QoS";
          uses qos-config;
        }  // container config

        container state {
          config false;
          description
            "Operational state data for global QoS";
          uses qos-config;

          uses qos-state;
        }  // container state

        uses qos-interfaces-top;

        uses qos-classifier-top;

        uses qos-forwarding-group-top;

        uses qos-queue-top;

        uses qos-scheduler-top;
      }  // container qos
    }  // grouping qos-top

    uses qos-top;
  }  // module openconfig-qos