anvil/conf/templates/keystone/init_what.yaml
Anastasia Karpinska b0b143b412 Nova and quantum configurations fixed. L3 and DHCP agents were added.
Change-Id: I0c46d19cacac234564a72b6d12ff99db8fff5b59
2013-06-30 12:53:58 -07:00

118 lines
3.1 KiB
YAML

##
## This is a yaml template (with cheetah template
## strings that will be filled in)...
##
---
endpoints:
- service: ec2
admin_url: "$nova.endpoints.ec2_admin.uri"
internal_url: "$nova.endpoints.ec2_cloud.uri"
public_url: "$nova.endpoints.ec2_cloud.uri"
region: RegionOne
- service: quantum
admin_url: "$quantum.endpoints.admin.uri"
internal_url: "$quantum.endpoints.internal.uri"
public_url: "$quantum.endpoints.public.uri"
region: RegionOne
- service: glance
admin_url: "$glance.endpoints.admin.uri"
internal_url: "$glance.endpoints.internal.uri"
public_url: "$glance.endpoints.public.uri"
region: RegionOne
- service: volume
admin_url: "${cinder.endpoints.admin.uri}/%(tenant_id)s"
internal_url: "${cinder.endpoints.internal.uri}/%(tenant_id)s"
public_url: "${cinder.endpoints.public.uri}/%(tenant_id)s"
region: RegionOne
- service: keystone
admin_url: "$keystone.endpoints.admin_templated.uri"
internal_url: "$keystone.endpoints.internal_templated.uri"
public_url: "$keystone.endpoints.public_templated.uri"
region: RegionOne
- service: nova
admin_url: "${nova.endpoints.api.uri}/%(tenant_id)s"
internal_url: "${nova.endpoints.api.uri}/%(tenant_id)s"
public_url: "${nova.endpoints.api.uri}/%(tenant_id)s"
region: RegionOne
roles:
- admin
- KeystoneAdmin
- KeystoneServiceAdmin
# The Member role is used by Horizon and Swift so we need to keep it.
- Member
services:
- description: EC2 Compatibility Layer
name: ec2
type: ec2
- description: Glance Image Service
name: glance
type: image
- description: Keystone Identity Service
name: keystone
type: identity
- description: Nova Compute Service
name: nova
type: compute
- description: Object Storage Service
name: swift
type: object-store
- description: Cinder Service
name: volume
type: volume
- description: Quantum Service
name: network
type: network
tenants:
- description: Admin tenant
name: '$keystone.admin_tenant'
- description: Service tenant
name: '$keystone.service_tenant'
users:
- email: admin@example.com
name: '$keystone.admin_user'
password: '$keystone.admin_password'
roles:
- "${keystone.admin_user}:admin"
- "KeystoneAdmin:admin"
- "KeystoneServiceAdmin:admin"
tenants:
- "${keystone.admin_tenant}"
- service
- email: ec2@example.com
name: ec2
password: '$keystone.service_password'
roles:
- admin:service
tenants:
- service
- email: glance@example.com
name: glance
password: '$keystone.service_password'
roles:
- admin:service
tenants:
- service
- email: nova@example.com
name: nova
password: '$keystone.service_password'
roles:
- admin:service
tenants:
- service
- email: cinder@example.com
name: cinder
password: '$keystone.service_password'
roles:
- admin:service
tenants:
- service
- email: quantum@example.com
name: quantum
password: '$keystone.service_password'
roles:
- admin:service
tenants:
- service
...