Merge "Add VPNaaS YANG model"
[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     import neutron-lbaasv2 { prefix "lbaasv2"; }
28
29     organization "OpenDaylight Neutron Group";
30
31     contact "Ed Warnicke <eaw@cisco.com>";
32
33     description "This YANG module defines a top level for the neutron models in opendaylight.";
34
35     revision "2015-03-25" {
36         description
37                 "Initial version of top level neutron model";
38     }
39
40     container neutron {
41         uses networks:networks-attributes;
42         uses l3:routers-attributes;
43         uses l3:floatingips-attributes;
44         uses metering:metering-labels-attributes;
45         uses metering:metering-rules-attributes;
46         uses ports:ports-attributes;
47         uses secgroups:security-groups-attributes;
48         uses secgroups:security-rules-attributes;
49         uses subnets:subnets-attributes;
50         uses lbaasv2:lbaas-attributes;
51     }
52 }