Merge "Add ceilometer-api to service catalog"
This commit is contained in:
commit
c6b9fcaed1
@ -262,6 +262,21 @@ if [[ "$ENABLED_SERVICES" =~ "q-svc" ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "$ENABLED_SERVICES" =~ "ceilometer-api" ]]; then
|
||||
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
|
||||
CEILOMETER_SERVICE=$(get_id keystone service-create \
|
||||
--name=ceilometer \
|
||||
--type=metering \
|
||||
--description="Ceilometer Service")
|
||||
keystone endpoint-create \
|
||||
--region RegionOne \
|
||||
--service_id $CEILOMETER_SERVICE \
|
||||
--publicurl "http://$SERVICE_HOST:8777/" \
|
||||
--adminurl "http://$SERVICE_HOST:8777/" \
|
||||
--internalurl "http://$SERVICE_HOST:8777/"
|
||||
fi
|
||||
fi
|
||||
|
||||
# EC2
|
||||
if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then
|
||||
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user