2 * Copyright (c) 2016 Intel Corporation, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 module neutron-qos-ext {
9 // This model augments the network and port yang model for Qos.
10 // In order to do that it is required to import neutron.yang.
11 // Neutron model can't be imported in neutron-qos.yang as neutron-qos.yang
12 // itself is imported in neutron.yang. Due to do this reason a seperate file is
13 // created for augmentation.
17 namespace "urn:opendaylight:neutron-qos-ext";
19 prefix neutron-qos-ext;
21 import neutron { prefix "neutron"; }
22 import yang-ext { prefix "ext"; }
23 import ietf-yang-types { prefix "yang"; revision-date "2013-07-15"; }
25 organization "OpenDaylight Neutron Group";
27 contact "Pramod Raghavendra Jayathirth <pramod.rj07@gmail.com>";
29 description "This YANG module defines Openstack Neutron Qos provider extensions model";
31 revision "2016-06-13" {
33 "OpenDaylight Boron release";
36 augment "/neutron:neutron/neutron:networks/neutron:network" {
37 description "This module augments the networks container
38 in the neutron-networks module with qos information";
39 // ext:augment-identifier value needs to unique as name of the generated classes
40 // is derived from this string
41 ext:augment-identifier "qos-network-extension";
43 description "The Networks to which the Qos Policies can be applied";
48 augment "/neutron:neutron/neutron:ports/neutron:port" {
49 description "This module augments the ports container
50 in the neutron-ports module with qos information";
51 // ext:augment-identifier value needs to unique as name of the generated classes
52 // is derived from this string
53 ext:augment-identifier "qos-port-extension";
55 description "The ports to which the Qos Policies can be applied";