Update to PLUMgrid plugin configuration

Fix bug #1206308
Add function for security groups
Add function for ovs check
Update plugin class configuration

Change-Id: I603e902f985277a61f162abdfffd6430cc00efaa
This commit is contained in:
Edgar Magana 2013-07-29 16:47:13 -07:00
parent f829e46bd0
commit f34424ea7d

View File

@ -21,7 +21,7 @@ function neutron_plugin_configure_common() {
Q_PLUGIN_CONF_PATH=etc/neutron/plugins/plumgrid Q_PLUGIN_CONF_PATH=etc/neutron/plugins/plumgrid
Q_PLUGIN_CONF_FILENAME=plumgrid.ini Q_PLUGIN_CONF_FILENAME=plumgrid.ini
Q_DB_NAME="plumgrid_neutron" Q_DB_NAME="plumgrid_neutron"
Q_PLUGIN_CLASS="neutron.plugins.plumgrid.plumgrid_nos_plugin.plumgrid_plugin.NeutronPluginPLUMgridV2" Q_PLUGIN_CLASS="neutron.plugins.plumgrid.plumgrid_plugin.plumgrid_plugin.NeutronPluginPLUMgridV2"
PLUMGRID_DIRECTOR_IP=${PLUMGRID_DIRECTOR_IP:-localhost} PLUMGRID_DIRECTOR_IP=${PLUMGRID_DIRECTOR_IP:-localhost}
PLUMGRID_DIRECTOR_PORT=${PLUMGRID_DIRECTOR_PORT:-7766} PLUMGRID_DIRECTOR_PORT=${PLUMGRID_DIRECTOR_PORT:-7766}
} }
@ -35,6 +35,16 @@ function neutron_plugin_configure_debug_command() {
: :
} }
function is_neutron_ovs_base_plugin() {
# False
return 1
}
function has_neutron_plugin_security_group() {
# False
return 1
}
function neutron_plugin_check_adv_test_requirements() { function neutron_plugin_check_adv_test_requirements() {
is_service_enabled q-agt && is_service_enabled q-dhcp && return 0 is_service_enabled q-agt && is_service_enabled q-dhcp && return 0
} }