style: Re-generate the default config yaml

Re-generate the default config yaml.

Change-Id: I4b536694ae311308cdc9b3a43b32c146613daf18
This commit is contained in:
zhu.boxiang 2022-05-26 20:19:51 +08:00
parent 1a050ec2c4
commit 37a0cacf26
2 changed files with 10 additions and 11 deletions

View File

@ -2,8 +2,7 @@ default:
access_token_expire: 3600 access_token_expire: 3600
access_token_renew: 1800 access_token_renew: 1800
cors_allow_origins: [] cors_allow_origins: []
database_url: 'mysql://root:root@localhost:3306/skyline' database_url: sqlite:////tmp/skyline.db
# database_url: 'sqlite:////tmp/skyline.db'
debug: false debug: false
log_dir: ./log log_dir: ./log
prometheus_basic_auth_password: '' prometheus_basic_auth_password: ''
@ -67,14 +66,14 @@ openstack:
fwaas_v2: neutron_firewall fwaas_v2: neutron_firewall
vpnaas: neutron_vpn vpnaas: neutron_vpn
interface_type: public interface_type: public
keystone_url: 'http://localhost:5000/v3/' keystone_url: http://localhost:5000/v3/
nginx_prefix: /api/openstack nginx_prefix: /api/openstack
reclaim_instance_interval: 604800 reclaim_instance_interval: 604800
service_mapping: service_mapping:
baremetal: ironic baremetal: ironic
compute: nova compute: nova
database: trove
container-infra: magnum container-infra: magnum
database: trove
identity: keystone identity: keystone
image: glance image: glance
load-balancer: octavia load-balancer: octavia
@ -86,13 +85,13 @@ openstack:
system_admin_roles: system_admin_roles:
- admin - admin
- system_admin - system_admin
system_project: 'service' system_project: service
system_project_domain: 'Default' system_project_domain: Default
system_reader_roles: system_reader_roles:
- system_reader - system_reader
system_user_domain: 'Default' system_user_domain: Default
system_user_name: 'skyline' system_user_name: skyline
system_user_password: 'password' system_user_password: password
setting: setting:
base_settings: base_settings:
- flavor_families - flavor_families

View File

@ -71,9 +71,9 @@ session_name = Opt(
database_url = Opt( database_url = Opt(
name="database_url", name="database_url",
description="Database url", description="Database url. For mariadb, set as 'mysql://root:root@localhost:3306/skyline'",
schema=StrictStr, schema=StrictStr,
default="mysql://root:root@localhost:3306/skyline", default="sqlite:////tmp/skyline.db",
) )
prometheus_endpoint = Opt( prometheus_endpoint = Opt(