Adding Yang Model for Openstack Host Configuration
[neutron.git] / model / src / main / yang / neutron-L3-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-L3-ext {
9
10     yang-version 1;
11
12     namespace "urn:opendaylight:neutron-L3-ext";
13
14     prefix neutron-L3-ext;
15
16     import neutron { prefix "neutron"; }
17     import yang-ext { prefix "ext"; }
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 Openstack Neutron L3 model extensions";
24     revision "2015-07-12" {
25         description
26                 "OpenDaylight Beryllium release";
27     }
28
29     augment "/neutron:neutron/neutron:networks/neutron:network"{
30         description "This module augments the networks container
31                 in the neutron-networks module with router information.";
32         ext:augment-identifier "network-l3-extension";
33         leaf external {
34             description "If true, it indicates that the router is externally accessible.";
35             type boolean;
36             default "false";
37         }
38     }
39 }