devstack: use helper to add a service plugin

Devstack will now use the help for adding a service
plugin definition, thus avoiding the definition of
Q_SERVICE_PLUGIN_CLASSES in local.conf.
Change-Id: I3299a5a7f35ea7eff5353cc1028b056da3b0c33f
This commit is contained in:
Thomas Morin
2015年08月31日 14:27:02 +02:00
parent 77172623a2
commit 32ea1be8c9

View File

@@ -12,6 +12,7 @@ elif [[ "1ドル" == "stack" && "2ドル" == "install" ]]; then
mkdir -p $NEUTRON_CONF_DIR/policy.d && cp $NETWORKING_BGPVPN_DIR/etc/neutron/policy.d/bgpvpn.conf $NEUTRON_CONF_DIR/policy.d
mkdir -p $(dirname $NETWORKING_BGPVPN_CONF) && cp $NETWORKING_BGPVPN_DIR/etc/neutron/networking_bgpvpn.conf $NETWORKING_BGPVPN_CONF
elif [[ "1ドル" == "stack" && "2ドル" == "post-config" ]]; then
_neutron_service_plugin_class_add $BGPVPN_PLUGIN_CLASS
if is_service_enabled q-svc; then
bgpvpn-db-manage --config-file $NEUTRON_CONF --config-file /$Q_PLUGIN_CONF_FILE upgrade head
fi

View File

@@ -1,2 +1,4 @@
NETWORKING_BGPVPN_DIR=$DEST/networking-bgpvpn
NETWORKING_BGPVPN_CONF=$NEUTRON_CONF_DIR/networking_bgpvpn.conf
BGPVPN_PLUGIN_CLASS=networking_bgpvpn.neutron.services.plugin.BGPVPNPlugin
Reference in New Issue
openstack/networking-bgpvpn
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.