Bump versions by x.y.(z+1)
[neutron.git] / model / src / main / yang / neutron-extensions.yang
1 /*
2  * Copyright (c) 2016 Intel Corporation.  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-extensions {
10     yang-version 1;
11
12     namespace "urn:opendaylight:neutron-extensions";
13
14     prefix neutron-extensions;
15
16     organization "OpenDaylight Neutron Group";
17
18     contact "Isaku Yamahata <isaku.yamahata@gmail.com>";
19
20     description "This YANG module defines neutron extensions attributes that are used
21         by OpenDaylight Neutron YANG modules.
22         http://developer.openstack.org/api-ref-networking-v2-ext.html#neutron_extensions";
23
24     revision "2016-06-17" {
25         description
26                 "OpenDaylight Boron release";
27     }
28
29     grouping extension-attributes {
30         leaf name {
31             type string;
32             description "The name of the extension";
33         }
34         leaf alias {
35             type string;
36             description "The alias for the extension";
37         }
38     }
39
40     grouping extensions-attributes {
41         container extensions {
42             config false;
43             list extension {
44                 key "alias";
45                 uses extension-attributes;
46             }
47         }
48     }
49 }