Merge "pyang: eliminate warning by pyang validation"
[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
19     organization "OpenDaylight Neutron Group";
20
21     contact "J. Gregory Hall <ghall@brocade.com>, Kiran Sreenivasa <kkoushik@brocade.com>";
22
23     description "This YANG module defines provider model extensions that are used by Openstack
24         Ice House Neutron YANG modules.";
25
26     revision "2014-10-02" {
27         description
28                 "Initial version of provider model extensions used by OpenStack Ice House Neutron
29                 models";
30     }
31
32     augment "/neutron:neutron/neutron:networks/neutron:network"{
33         description "
34           This module augments the networks container in the neutron-networks
35           module with provider information.
36           ";
37         list providers {
38             description "List of provider network(s) associated with this network.";
39             key segmentation-id;
40             uses provider:provider-attrs;
41         }
42         uses provider:provider-attrs;
43     }
44 }