a8d9a82df1
sometimes, ROUTER_GW_IP or IPV4_ADDRS_SAFE_TO_USE may not defined in localrc, we add a check before executing ip replace command. Change-Id: I48ca40cc2259e21b8a8f0a9fa763746c30f0e8ab
Enabling Trove in DevStack
To enable Trove in DevStack, perform the following steps:
Note: The python-troveclient is automatically installed. If you need to
control how the client gets installed, set the TROVECLIENT_REPO,
TROVECLIENT_DIR and TROVECLIENT_BRANCH environment variables appropriately.
Download DevStack
export DEVSTACK_DIR=~/devstack
git clone https://opendev.org/openstack/devstack.git $DEVSTACK_DIR
Enable the Trove plugin
Enable the plugin by adding the following section to
$DEVSTACK_DIR/local.conf
[[local|localrc]]
enable_plugin trove https://opendev.org/openstack/trove
Optionally, a git refspec (branch or tag or commit) may be provided as follows:
[[local|localrc]]
enable_plugin trove https://opendev.org/openstack/trove <refspec>
Run the DevStack utility
cd $DEVSTACK_DIR
./stack.sh