Common configuration parameters were moved to general.yaml

Change-Id: I7e2c7d70c5c2958c15a3e1d3ae4ece26dc68fe8a
This commit is contained in:
Anastasia Karpinska 2013-05-27 08:18:15 +04:00 committed by Joshua Harlow
parent 37898290d7
commit 96e7671db4
8 changed files with 31 additions and 121 deletions

View File

@ -9,33 +9,5 @@ api_host: "$(auto:ip)"
api_port: 8776 api_port: 8776
protocol: http protocol: http
# Needed for setting up your database
db:
type: "$(db:type)"
user: "$(db:user)"
host: "$(db:host)"
port: "$(db:port)"
# Interactions with keystone are via the following settings
keystone:
auth_host: "$(keystone:auth_host)"
auth_port: "$(keystone:auth_port)"
auth_proto: "$(keystone:auth_proto)"
service_host: "$(keystone:service_host)"
service_port: "$(keystone:service_port)"
service_proto: "$(keystone:service_proto)"
# Rabbit mq hookins
rabbit:
user_id: "$(rabbit-mq:user_id)"
host: "$(rabbit-mq:host)"
# This is needed to allow installs based on personas
wanted_passwords:
rabbit: 'rabbit user'
service_token: 'service admin token'
admin_password: 'keystone admin user'
service_password: 'service authentication password'
sql: "database user"
... ...

View File

@ -6,6 +6,4 @@ port: 3306
type: mysql type: mysql
user: root user: root
wanted_passwords:
sql: "database user"
... ...

View File

@ -9,4 +9,35 @@ ip: "$(auto:ip)"
# For example, before uploading to glance we need keystone and glance to be online. # For example, before uploading to glance we need keystone and glance to be online.
# Sometimes this takes 5 to 10 seconds to start these up.... # Sometimes this takes 5 to 10 seconds to start these up....
service_wait_seconds: 5 service_wait_seconds: 5
# Needed for setting up your database
db:
type: "$(db:type)"
user: "$(db:user)"
host: "$(db:host)"
port: "$(db:port)"
# Interactions with keystone are via the following settings
keystone:
auth_host: "$(keystone:auth_host)"
auth_port: "$(keystone:auth_port)"
auth_proto: "$(keystone:auth_proto)"
service_host: "$(keystone:service_host)"
service_port: "$(keystone:service_port)"
service_proto: "$(keystone:service_proto)"
# Rabbit mq hookins
rabbit:
user_id: "$(rabbit-mq:user_id)"
host: "$(rabbit-mq:host)"
# This is needed to allow installs based on personas
wanted_passwords:
rabbit: 'rabbit user'
service_token: 'service admin token'
admin_password: 'keystone admin user'
service_password: 'service authentication password'
sql: "database user"
... ...

View File

@ -13,13 +13,6 @@ verbose: True
image_urls: image_urls:
- "http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img" - "http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img"
# Needed for setting up your database
db:
type: "$(db:type)"
user: "$(db:user)"
host: "$(db:host)"
port: "$(db:port)"
patches: patches:
# After check-out/download time patches # After check-out/download time patches
download: [] download: []
@ -36,13 +29,6 @@ exclude_tests:
# Interactions with keystone are via the following settings # Interactions with keystone are via the following settings
paste_flavor: 'keystone' paste_flavor: 'keystone'
keystone:
auth_host: "$(keystone:auth_host)"
auth_port: "$(keystone:auth_port)"
auth_proto: "$(keystone:auth_proto)"
service_host: "$(keystone:service_host)"
service_port: "$(keystone:service_port)"
service_proto: "$(keystone:service_proto)"
# Images that are downloaded are stored here with # Images that are downloaded are stored here with
# metadata about them, so that re-examination before # metadata about them, so that re-examination before

View File

@ -17,10 +17,4 @@ apache_user: "$(auto:user)"
# Port horizon should run on # Port horizon should run on
port: 80 port: 80
# Needed for setting up your database
db:
type: "$(db:type)"
user: "$(db:user)"
host: "$(db:host)"
port: "$(db:port)"
... ...

View File

@ -13,13 +13,6 @@ service_host: "$(auto:ip)"
service_port: 5000 service_port: 5000
service_proto: http service_proto: http
# Needed for setting up your database
db:
type: "$(db:type)"
user: "$(db:user)"
host: "$(db:host)"
port: "$(db:port)"
# Package time patches # Package time patches
patches: patches:
package: package:
@ -63,11 +56,4 @@ cinder:
api_host: "$(cinder:api_host)" api_host: "$(cinder:api_host)"
api_port: "$(cinder:api_port)" api_port: "$(cinder:api_port)"
# This is needed to allow installs based on personas
wanted_passwords:
rabbit: 'rabbit user'
service_token: 'service admin token'
admin_password: 'keystone admin user'
service_password: 'service authentication password'
sql: "database user"
... ...

View File

@ -143,33 +143,4 @@ exclude_tests:
exclude_tests_dir: exclude_tests_dir:
- smoketests - smoketests
# Needed for setting up your database
db:
type: "$(db:type)"
user: "$(db:user)"
host: "$(db:host)"
port: "$(db:port)"
# Interactions with keystone are via the following settings
keystone:
auth_host: "$(keystone:auth_host)"
auth_port: "$(keystone:auth_port)"
auth_proto: "$(keystone:auth_proto)"
service_host: "$(keystone:service_host)"
service_port: "$(keystone:service_port)"
service_proto: "$(keystone:service_proto)"
# Rabbit mq hookins
rabbit:
user_id: "$(rabbit-mq:user_id)"
host: "$(rabbit-mq:host)"
# This is needed to allow installs based on personas
wanted_passwords:
rabbit: 'rabbit user'
service_token: 'service admin token'
admin_password: 'keystone admin user'
service_password: 'service authentication password'
sql: "database user"
... ...

View File

@ -9,34 +9,6 @@ api_host: "$(auto:ip)"
api_port: 9696 api_port: 9696
protocol: http protocol: http
# Needed for setting up your database
db:
type: "$(db:type)"
user: "$(db:user)"
host: "$(db:host)"
port: "$(db:port)"
# Interactions with keystone are via the following settings
keystone:
auth_host: "$(keystone:auth_host)"
auth_port: "$(keystone:auth_port)"
auth_proto: "$(keystone:auth_proto)"
service_host: "$(keystone:service_host)"
service_port: "$(keystone:service_port)"
service_proto: "$(keystone:service_proto)"
# Rabbit mq hookins
rabbit:
user_id: "$(rabbit-mq:user_id)"
host: "$(rabbit-mq:host)"
# This is needed to allow installs based on personas
wanted_passwords:
service_token: 'service admin token'
admin_password: 'keystone admin user'
service_password: 'service authentication password'
sql: "database user"
core_plugin: linuxbridge core_plugin: linuxbridge
network_vlan_ranges: physnet1:100:299 network_vlan_ranges: physnet1:100:299