devstack: use neutron_service_plugin_class_add for service plugins

This function is public and works for both lib/neutron as well as
lib/neutron-legacy modes.

Co-Authored-By: YAMAMOTO Takashi <yamamoto@midokura.com>
Change-Id: Ib9da52b32bc9adca337e02383194f3fbd9256e9a
Depends-On: I9068fd608e82e70db8d725f92269a26920efebcb
This commit is contained in:
Ihar Hrachyshka 2017-03-07 21:19:33 +00:00
parent 9b4e22bd64
commit c1acf1cb24
3 changed files with 3 additions and 3 deletions

View File

@ -4,5 +4,5 @@
FLAVORS_PLUGIN=flavors
function configure_flavors {
_neutron_service_plugin_class_add $FLAVORS_PLUGIN
neutron_service_plugin_class_add $FLAVORS_PLUGIN
}

View File

@ -1,5 +1,5 @@
function configure_qos_service_plugin {
_neutron_service_plugin_class_add "qos"
neutron_service_plugin_class_add "qos"
}

View File

@ -1,5 +1,5 @@
function configure_trunk_service_plugin {
_neutron_service_plugin_class_add "trunk"
neutron_service_plugin_class_add "trunk"
}
function configure_trunk_extension {