Files
nova-powervm/devstack/settings
Eric Fried fe9bec248e Shim compute driver in nova.virt namespace
Recent nova commit 8eb03de1eb83a6cd2d4d41804e1b8253f94e5400 removed the
mechanism by which nova-powervm was loading its ComputeDriver from out
of tree.

With Change-Id: I78c0ca85cb6ee2e370214a89a203f6f099748930 we can now add
to the nova.virt namespace from the nova-powervm package.

This change set restores the ability to load the driver by creating a
thin shim into nova.virt.powervm.driver, passing through all public
symbols from nova_powervm.virt.powervm.driver.

Change-Id: I8ff5154edfcef6fa83686b2ae046512ce7d6d628
Partial-Bug: 1575335
2016-04-28 14:55:52 -05:00

30 lines
1.2 KiB
Plaintext

# Devstack settings
# These defaults can be overridden in the localrc section of the local.conf file
# Add nova-powervm to enabled services
enable_service nova-powervm
# NovaLink install/upgrade settings
INSTALL_NOVALINK=$(trueorfalse False INSTALL_NOVALINK)
INSTALL_PYPOWERVM=$(trueorfalse False INSTALL_PYPOWERVM)
PVM_ADMIN_GROUP=${PVM_ADMIN_GROUP:-pvm_admin}
# Nova settings
PVM_DRIVER=powervm.driver.PowerVMDriver
INSTANCE_NAME_TEMPLATE=${INSTANCE_NAME_TEMPLATE:-"%(display_name).13s-%(uuid).8s-pvm"}
COMPUTE_MONITORS=${COMPUTE_MONITORS:-nova.compute.monitors.all_monitors}
FORCE_CONFIG_DRIVE=${FORCE_CONFIG_DRIVE:-True}
INJECTED_NETWORK_TEMPLATE=${INJECTED_NETWORK_TEMPLATE:-$DEST/nova/nova/virt/interfaces.template}
FLAT_INJECTED=${FLAT_INJECTED:-true}
# This is required to be true to support the PowerVM RMC management network
USE_IPV6=${USE_IPV6:-True}
FIREWALL_DRIVER=${FIREWALL_DRIVER:-"nova.virt.firewall.NoopFirewallDriver"}
# PowerVM settings
# DISK_DRIVER : 'localdisk' (the default) or 'ssp'
DISK_DRIVER=${DISK_DRIVER:-ssp}
# VOL_GRP_NAME only required for localdisk driver
# VOL_GRP_NAME=${VOL_GRP_NAME:-devstackvg}
# CLUSTER_NAME used by SSP driver
# CLUSTER_NAME=${CLUSTER_NAME:-devstack_cluster}