From dca49de22f57f3b2f502380b2cbfedb0dcdba209 Mon Sep 17 00:00:00 2001 From: Martin Hickey Date: Tue, 20 Oct 2015 12:13:19 +0100 Subject: [PATCH] Use stevedore aliases for interface_driver configuration 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 --- lib/neutron_plugins/bigswitch_floodlight | 4 ++-- lib/neutron_plugins/brocade | 2 +- lib/neutron_plugins/cisco | 2 +- lib/neutron_plugins/linuxbridge_agent | 2 +- lib/neutron_plugins/openvswitch_agent | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/neutron_plugins/bigswitch_floodlight b/lib/neutron_plugins/bigswitch_floodlight index 4166131534..f52105e658 100644 --- a/lib/neutron_plugins/bigswitch_floodlight +++ b/lib/neutron_plugins/bigswitch_floodlight @@ -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 } diff --git a/lib/neutron_plugins/brocade b/lib/neutron_plugins/brocade index 557b94dec0..953360e070 100644 --- a/lib/neutron_plugins/brocade +++ b/lib/neutron_plugins/brocade @@ -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 { diff --git a/lib/neutron_plugins/cisco b/lib/neutron_plugins/cisco index 90dcd574c0..7d0cf1af39 100644 --- a/lib/neutron_plugins/cisco +++ b/lib/neutron_plugins/cisco @@ -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 diff --git a/lib/neutron_plugins/linuxbridge_agent b/lib/neutron_plugins/linuxbridge_agent index bd4438db04..f28bcfeadd 100644 --- a/lib/neutron_plugins/linuxbridge_agent +++ b/lib/neutron_plugins/linuxbridge_agent @@ -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 { diff --git a/lib/neutron_plugins/openvswitch_agent b/lib/neutron_plugins/openvswitch_agent index 48e47b3dab..5a843ffba7 100644 --- a/lib/neutron_plugins/openvswitch_agent +++ b/lib/neutron_plugins/openvswitch_agent @@ -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 {