Skip to content

Commit

Permalink
Use stevedore aliases for interface_driver configuration
Browse files Browse the repository at this point in the history
interface_driver configuration was updated to use stevedore aliases.
This patch is to change devstack scripts to now use the aliases
instead of the previous class imports.

Closes-Bug: #1504536

Change-Id: Ic56bfcc1f9da05a999e6fd328e4dd6617e9470ff
  • Loading branch information
hickeyma committed Nov 2, 2015
1 parent 463a0e6 commit dca49de
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/neutron_plugins/bigswitch_floodlight
Expand Up @@ -58,9 +58,9 @@ function neutron_plugin_configure_service {
function neutron_plugin_setup_interface_driver {
local conf_file=$1
if [ "$BS_FL_VIF_DRIVER" = "ivs" ]; then
iniset $conf_file DEFAULT interface_driver neutron.agent.linux.interface.IVSInterfaceDriver
iniset $conf_file DEFAULT interface_driver ivs
else
iniset $conf_file DEFAULT interface_driver neutron.agent.linux.interface.OVSInterfaceDriver
iniset $conf_file DEFAULT interface_driver openvswitch
fi
}

Expand Down
2 changes: 1 addition & 1 deletion lib/neutron_plugins/brocade
Expand Up @@ -68,7 +68,7 @@ function neutron_plugin_configure_plugin_agent {

function neutron_plugin_setup_interface_driver {
local conf_file=$1
iniset $conf_file DEFAULT interface_driver neutron.agent.linux.interface.BridgeInterfaceDriver
iniset $conf_file DEFAULT interface_driver linuxbridge
}

function has_neutron_plugin_security_group {
Expand Down
2 changes: 1 addition & 1 deletion lib/neutron_plugins/cisco
Expand Up @@ -150,7 +150,7 @@ function neutron_plugin_create_initial_network_profile {

function neutron_plugin_setup_interface_driver {
local conf_file=$1
iniset $conf_file DEFAULT interface_driver neutron.agent.linux.interface.OVSInterfaceDriver
iniset $conf_file DEFAULT interface_driver openvswitch
}

# Restore xtrace
Expand Down
2 changes: 1 addition & 1 deletion lib/neutron_plugins/linuxbridge_agent
Expand Up @@ -85,7 +85,7 @@ function neutron_plugin_configure_plugin_agent {

function neutron_plugin_setup_interface_driver {
local conf_file=$1
iniset $conf_file DEFAULT interface_driver neutron.agent.linux.interface.BridgeInterfaceDriver
iniset $conf_file DEFAULT interface_driver linuxbridge
}

function neutron_plugin_check_adv_test_requirements {
Expand Down
2 changes: 1 addition & 1 deletion lib/neutron_plugins/openvswitch_agent
Expand Up @@ -110,7 +110,7 @@ function neutron_plugin_configure_plugin_agent {

function neutron_plugin_setup_interface_driver {
local conf_file=$1
iniset $conf_file DEFAULT interface_driver neutron.agent.linux.interface.OVSInterfaceDriver
iniset $conf_file DEFAULT interface_driver openvswitch
}

function neutron_plugin_check_adv_test_requirements {
Expand Down

0 comments on commit dca49de

Please sign in to comment.