Fixes dashboard for new nova api changes

* Fixes bug 917457

Change-Id: I55babe184666b9a327086f915a9fa9c79af738ed
This commit is contained in:
Anthony Young 2012-01-17 15:57:04 -08:00
parent 524aa547e7
commit d38f942bc3

View File

@ -1124,8 +1124,8 @@ add_nova_flag "--sql_connection=$BASE_SQL_CONN/nova"
add_nova_flag "--libvirt_type=$LIBVIRT_TYPE" add_nova_flag "--libvirt_type=$LIBVIRT_TYPE"
add_nova_flag "--instance_name_template=${INSTANCE_NAME_PREFIX}%08x" add_nova_flag "--instance_name_template=${INSTANCE_NAME_PREFIX}%08x"
if [[ "$ENABLED_SERVICES" =~ "openstackx" ]]; then if [[ "$ENABLED_SERVICES" =~ "openstackx" ]]; then
add_nova_flag "--osapi_extension=nova.api.openstack.v2.contrib.standard_extensions" add_nova_flag "--osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions"
add_nova_flag "--osapi_extension=extensions.admin.Admin" add_nova_flag "--osapi_compute_extension=extensions.admin.Admin"
fi fi
if [[ "$ENABLED_SERVICES" =~ "n-vnc" ]]; then if [[ "$ENABLED_SERVICES" =~ "n-vnc" ]]; then
VNCPROXY_URL=${VNCPROXY_URL:-"http://$SERVICE_HOST:6080"} VNCPROXY_URL=${VNCPROXY_URL:-"http://$SERVICE_HOST:6080"}