switch over nova to using $(project_id) in service catalog
This makes one less place we reference tenant_id
Change-Id: I53dfeb4d23a9babf7bb46fd3736b4ac005e45993
diff --git a/lib/nova b/lib/nova
index ab2bef8..1b3d086 100644
--- a/lib/nova
+++ b/lib/nova
@@ -421,17 +421,17 @@
get_or_create_endpoint \
"compute_legacy" \
"$REGION_NAME" \
- "$nova_api_url/v2/\$(tenant_id)s" \
- "$nova_api_url/v2/\$(tenant_id)s" \
- "$nova_api_url/v2/\$(tenant_id)s"
+ "$nova_api_url/v2/\$(project_id)s" \
+ "$nova_api_url/v2/\$(project_id)s" \
+ "$nova_api_url/v2/\$(project_id)s"
get_or_create_service "nova" "compute" "Nova Compute Service"
get_or_create_endpoint \
"compute" \
"$REGION_NAME" \
- "$nova_api_url/v2.1/\$(tenant_id)s" \
- "$nova_api_url/v2.1/\$(tenant_id)s" \
- "$nova_api_url/v2.1/\$(tenant_id)s"
+ "$nova_api_url/v2.1/\$(project_id)s" \
+ "$nova_api_url/v2.1/\$(project_id)s" \
+ "$nova_api_url/v2.1/\$(project_id)s"
fi
if is_service_enabled n-api; then