1f0c90f3a8
This patch updates the imported code to reflect octavia-dashboard. More work is required to make this work with the Octavia v2 API. This will be done in followup patches. Change-Id: I7363105a53642d0003036cada21c5b0cc25efc1a
26 lines
902 B
Bash
Executable File
26 lines
902 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script will be executed inside pre_test_hook function in devstack gate
|
|
|
|
set -ex
|
|
|
|
DIR=${BASH_SOURCE%/*}
|
|
source $DIR/commons $@
|
|
|
|
# Enable default recommended implementation for Octavia
|
|
ENABLED_SERVICES+=",octavia,o-cw,o-hk,o-hm,o-api"
|
|
DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin octavia https://git.openstack.org/openstack/octavia"
|
|
DEVSTACK_LOCAL_CONFIG+=$'\n'"[[post-config|/etc/octavia/octavia.conf]]"
|
|
DEVSTACK_LOCAL_CONFIG+=$'\n'"[controller_worker]"
|
|
DEVSTACK_LOCAL_CONFIG+=$'\n'"amphora_driver = amphora_noop_driver"
|
|
DEVSTACK_LOCAL_CONFIG+=$'\n'"compute_driver = compute_noop_driver"
|
|
DEVSTACK_LOCAL_CONFIG+=$'\n'"network_driver = network_noop_driver"
|
|
|
|
# Enable LBaaS v2 Horizon plugin
|
|
DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin octavia-dashboard https://git.openstack.org/openstack/octavia-dashboard"
|
|
|
|
export DEVSTACK_LOCAL_CONFIG
|
|
export ENABLED_SERVICES
|
|
export DISABLED_SERVICES
|
|
|