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-provider {
12 namespace "urn:opendaylight:neutron-provider";
14 prefix neutron-provider;
16 import neutron-networks { prefix "networks"; }
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 Provider extension attributes";
24 revision "2015-07-12" {
26 "OpenDaylight Beryllium release";
29 grouping provider-attributes {
30 leaf physical-network {
32 description "The physical network where this network object is implemented.
33 The Networking API v2.0 does not provide a way to list available
34 physical networks. For example, the Open vSwitch plug-in configuration
35 file defines a symbolic name that maps to specific bridges on
40 type networks:network-type;
41 description "The type of physical network that maps to this network resource.";
43 leaf segmentation-id {
45 description "An isolated segment on the physical network. The network-type
46 attribute defines the segmentation model. For example, if network-type
47 is vlan, this ID is a vlan identifier. If network-type is gre,
48 this ID is a gre key.";
50 leaf segmentation-index {
52 description "A hidden counter to act as a key, because
53 segmentation id is not required.";