DevStack: Keystone V3 Service/Endpoint Creation

DevStack is moving to Keystone V3 for various KS
related tasks, and the API for several methods is
changing.

Change-Id: I1f49001ac0ca0e0cfa2d4b689d3d3b98661d35de
Depends-On: Ib3a375918a45fd6e37d873a1a5c0c4b26bdbb5d8
This commit is contained in:
Kiall Mac Innes 2015-07-01 11:11:57 +01:00
parent 2ccb4b3c0e
commit 1338a53e35
1 changed files with 2 additions and 3 deletions

View File

@ -214,9 +214,8 @@ function create_designate_accounts {
create_service_user "designate"
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
local designate_service=$(get_or_create_service "designate" \
"dns" "Designate DNS Service")
get_or_create_endpoint $designate_service \
get_or_create_service "designate" "dns" "Designate DNS Service"
get_or_create_endpoint "dns" \
"$REGION_NAME" \
"$DESIGNATE_SERVICE_PROTOCOL://$DESIGNATE_SERVICE_HOST:$DESIGNATE_SERVICE_PORT/" \
"$DESIGNATE_SERVICE_PROTOCOL://$DESIGNATE_SERVICE_HOST:$DESIGNATE_SERVICE_PORT/" \