make neutron.yang consistent
[neutron.git] / model / src / main / yang / neutron-provider-ext.yang
1 /*
2  * Copyright (c) 2015 Brocade Communications Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 module neutron-provider-ext {
9
10     yang-version 1;
11
12     namespace "urn:opendaylight:neutron-provider-ext";
13
14     prefix neutron-provider-ext;
15
16     import neutron { prefix "neutron"; }
17     import neutron-provider { prefix "provider"; }
18     import yang-ext { prefix "ext"; }
19
20     organization "OpenDaylight Neutron Group";
21
22     contact "J. Gregory Hall <ghall@brocade.com>, Kiran Sreenivasa <kkoushik@brocade.com>";
23
24     description "This YANG module defines Openstack Neutron provider extensions model";
25
26     revision "2015-07-12" {
27         description
28                 "OpenDaylight Beryllium release";
29     }
30
31     augment "/neutron:neutron/neutron:networks/neutron:network"{
32         description "This module augments the networks container
33                 in the neutron-networks module with provider information.";
34         ext:augment-identifier "network-provider-extension";
35         list segments {
36             description "List of provider network(s) associated with this network.";
37             key segmentation-index;
38             uses provider:provider-attributes;
39         }
40         uses provider:provider-attributes;
41     }
42 }