Move all neutron YANG models under "neutron" top-level
[neutron.git] / model / src / main / yang / neutron.yang
1 /*
2  * Copyright (c) 2014 Cisco 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
9 module neutron {
10
11     yang-version 1;
12
13     namespace "urn:opendaylight:neutron-L3";
14
15     prefix neutron-L3;
16
17     import ietf-yang-types { prefix "yang";}
18     // It requires rfc6991 (revision 2013-07-15), but odl don't have it, so this patch verify build will fail.
19     import ietf-inet-types { prefix "inet"; revision-date 2010-09-24; }
20     import neutron-attrs { prefix "attrs"; }
21     import neutron-networks { prefix "networks"; }
22     import neutron-ports { prefix "ports"; }
23     import neutron-subnets { prefix "subnets"; }
24     import neutron-secgroups { prefix "secgroups"; }
25     import neutron-L3 { prefix "l3"; }
26     import neutron-metering { prefix "metering"; }
27
28     organization "OpenDaylight Neutron Group";
29
30     contact "Ed Warnicke <eaw@cisco.com>";
31
32     description "This YANG module defines a top level for the neutron models in opendaylight.";
33
34     revision "2015-03-25" {
35         description
36                 "Initial version of top level neutron model";
37     }
38
39     container neutron {
40         uses networks:networks-attributes;
41         uses l3:routers-attributes;
42         uses l3:floatingips-attributes;
43         uses metering:metering-labels-attributes;
44         uses metering:metering-rules-attributes;
45         uses ports:ports-attributes;
46         uses secgroups:security-groups-attributes;
47         uses secgroups:security-rules-attributes;
48         uses subnets:subnets-attributes;
49     }
50 }