2 * Copyright (c) 2015 Brocade Communications Systems, Inc. and others. All rights reserved.
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
8 module neutron-networks {
12 namespace "urn:opendaylight:neutron-networks";
14 prefix neutron-networks;
16 import neutron-attrs { prefix "attrs"; }
18 organization "OpenDaylight Neutron Group";
20 contact "J. Gregory Hall <ghall@brocade.com>, Kiran Sreenivasa <kkoushik@brocade.com>";
22 description "This YANG module defines Openstack Neutron Network model";
24 revision "2015-07-12" {
26 "OpenDaylight Beryllium release";
28 identity network-type-base {
30 "Base Network type for all Network type identifiers.";
33 identity network-type-flat {
34 base network-type-base;
36 "Flat network type identity.";
38 identity network-type-vlan {
39 base network-type-base;
41 "VLAN network type identity.";
43 identity network-type-vxlan {
44 base network-type-base;
46 "VXLAN network type identity.";
48 identity network-type-gre {
49 base network-type-base;
51 "GRE network type identity.";
54 typedef network-type {
56 base network-type-base;
59 "This type is used to refer to a Network Type.";
62 grouping networks-attributes {
66 description "A network is a virtual isolated layer-2 broadcast domain which
67 is typically reserved to the tenant who created it, unless the
68 network has been explicitly configured to be shared. Tenants can
69 create multiple networks, until they reach the thresholds specified
70 by per-tenant Quotas. The network is the principal entity for
71 the Neutron API. Ports and Subnets must always be associated
79 description "Indicates whether this network or subnet is shared across all
80 tenants. By default, only administrative users can change this
84 leaf vlan-transparent {
87 description "The state of the network, which is VLAN transparent (true) or
88 not VLAN transparent (false)";
91 uses attrs:base-attributes;
92 uses attrs:admin-attributes;