[email protected] Maven / Gradle / Ivy
/*
* Copyright (c) 2015 Brocade Communications Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
module neutron-provider {
yang-version 1;
namespace "urn:opendaylight:neutron-provider";
prefix neutron-provider;
import neutron-networks { prefix "networks"; }
organization "OpenDaylight Neutron Group";
contact "J. Gregory Hall , Kiran Sreenivasa ";
description "This YANG module defines Openstack Neutron Provider extension attributes";
revision "2015-07-12" {
description
"OpenDaylight Beryllium release";
}
grouping provider-attributes {
leaf physical-network {
type string;
description "The physical network where this network object is implemented.
The Networking API v2.0 does not provide a way to list available
physical networks. For example, the Open vSwitch plug-in configuration
file defines a symbolic name that maps to specific bridges on
each Compute host.";
}
leaf network-type {
type networks:network-type;
description "The type of physical network that maps to this network resource.";
}
leaf segmentation-id {
type string;
description "An isolated segment on the physical network. The network-type
attribute defines the segmentation model. For example, if network-type
is vlan, this ID is a vlan identifier. If network-type is gre,
this ID is a gre key.";
}
leaf segmentation-index {
type uint32;
description "A hidden counter to act as a key, because
segmentation id is not required.";
}
}
}