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 ietf-yang-types { prefix "yang"; }
17 import neutron-attrs { prefix "attrs"; }
19 organization "OpenDaylight Neutron Group";
21 contact "J. Gregory Hall <ghall@brocade.com>, Kiran Sreenivasa <kkoushik@brocade.com>";
23 description "This YANG module defines Openstack Neutron Network model";
25 revision "2015-07-12" {
27 "OpenDaylight Beryllium release";
29 identity network-type-base {
31 "Base Network type for all Network type identifiers.";
34 identity network-type-flat {
35 base network-type-base;
37 "Flat network type identity.";
39 identity network-type-vlan {
40 base network-type-base;
42 "VLAN network type identity.";
44 identity network-type-vxlan {
45 base network-type-base;
47 "VXLAN network type identity.";
49 identity network-type-gre {
50 base network-type-base;
52 "GRE network type identity.";
55 typedef network-type {
57 base network-type-base;
60 "This type is used to refer to a Network Type.";
63 grouping networks-attributes {
67 description "A network is a virtual isolated layer-2 broadcast domain which
68 is typically reserved to the tenant who created it, unless the
69 network has been explicitly configured to be shared. Tenants can
70 create multiple networks, until they reach the thresholds specified
71 by per-tenant Quotas. The network is the principal entity for
72 the Neutron API. Ports and Subnets must always be associated
78 description "The associated subnets.";
85 description "Indicates whether this network or subnet is shared across all
86 tenants. By default, only administrative users can change this
90 uses attrs:base-attributes;
91 uses attrs:admin-attributes;