Sort the output of config/generator.py by group name
To avoid huge changes in the output when adding new option groups. Sync from oslo commit 4b3e32b980cf1d028da9325b21183ff635fbe043. Closes-Bug: #1258363 Change-Id: I9173a38d4d548ce641e19ada30f86148c1f0c53f
This commit is contained in:
parent
0df3bc702b
commit
1bcc65762f
@ -473,7 +473,22 @@
|
|||||||
#matchmaker_heartbeat_ttl=600
|
#matchmaker_heartbeat_ttl=600
|
||||||
|
|
||||||
|
|
||||||
[clients_swift]
|
[auth_password]
|
||||||
|
|
||||||
|
#
|
||||||
|
# Options defined in heat.common.config
|
||||||
|
#
|
||||||
|
|
||||||
|
# Allow orchestration of multiple clouds (boolean value)
|
||||||
|
#multi_cloud=false
|
||||||
|
|
||||||
|
# Allowed keystone endpoints for auth_uri when multi_cloud is
|
||||||
|
# enabled. At least one endpoint needs to be specified. (list
|
||||||
|
# value)
|
||||||
|
#allowed_auth_uris=
|
||||||
|
|
||||||
|
|
||||||
|
[clients]
|
||||||
|
|
||||||
#
|
#
|
||||||
# Options defined in heat.common.config
|
# Options defined in heat.common.config
|
||||||
@ -495,39 +510,137 @@
|
|||||||
#insecure=false
|
#insecure=false
|
||||||
|
|
||||||
|
|
||||||
[auth_password]
|
[clients_ceilometer]
|
||||||
|
|
||||||
#
|
#
|
||||||
# Options defined in heat.common.config
|
# Options defined in heat.common.config
|
||||||
#
|
#
|
||||||
|
|
||||||
# Allow orchestration of multiple clouds (boolean value)
|
# Optional CA cert file to use in SSL connections (string
|
||||||
#multi_cloud=false
|
|
||||||
|
|
||||||
# Allowed keystone endpoints for auth_uri when multi_cloud is
|
|
||||||
# enabled. At least one endpoint needs to be specified. (list
|
|
||||||
# value)
|
# value)
|
||||||
#allowed_auth_uris=
|
|
||||||
|
|
||||||
|
|
||||||
[ssl]
|
|
||||||
|
|
||||||
#
|
|
||||||
# Options defined in heat.openstack.common.sslutils
|
|
||||||
#
|
|
||||||
|
|
||||||
# CA certificate file to use to verify connecting clients
|
|
||||||
# (string value)
|
|
||||||
#ca_file=<None>
|
#ca_file=<None>
|
||||||
|
|
||||||
# Certificate file to use when starting the server securely
|
# Optional PEM-formatted certificate chain file (string value)
|
||||||
# (string value)
|
|
||||||
#cert_file=<None>
|
#cert_file=<None>
|
||||||
|
|
||||||
# Private key file to use when starting the server securely
|
# Optional PEM-formatted file that contains the private key
|
||||||
# (string value)
|
# (string value)
|
||||||
#key_file=<None>
|
#key_file=<None>
|
||||||
|
|
||||||
|
# If set then the server's certificate will not be verified
|
||||||
|
# (boolean value)
|
||||||
|
#insecure=false
|
||||||
|
|
||||||
|
|
||||||
|
[clients_cinder]
|
||||||
|
|
||||||
|
#
|
||||||
|
# Options defined in heat.common.config
|
||||||
|
#
|
||||||
|
|
||||||
|
# Optional CA cert file to use in SSL connections (string
|
||||||
|
# value)
|
||||||
|
#ca_file=<None>
|
||||||
|
|
||||||
|
# Optional PEM-formatted certificate chain file (string value)
|
||||||
|
#cert_file=<None>
|
||||||
|
|
||||||
|
# Optional PEM-formatted file that contains the private key
|
||||||
|
# (string value)
|
||||||
|
#key_file=<None>
|
||||||
|
|
||||||
|
# If set then the server's certificate will not be verified
|
||||||
|
# (boolean value)
|
||||||
|
#insecure=false
|
||||||
|
|
||||||
|
|
||||||
|
[clients_keystone]
|
||||||
|
|
||||||
|
#
|
||||||
|
# Options defined in heat.common.config
|
||||||
|
#
|
||||||
|
|
||||||
|
# Optional CA cert file to use in SSL connections (string
|
||||||
|
# value)
|
||||||
|
#ca_file=<None>
|
||||||
|
|
||||||
|
# Optional PEM-formatted certificate chain file (string value)
|
||||||
|
#cert_file=<None>
|
||||||
|
|
||||||
|
# Optional PEM-formatted file that contains the private key
|
||||||
|
# (string value)
|
||||||
|
#key_file=<None>
|
||||||
|
|
||||||
|
# If set then the server's certificate will not be verified
|
||||||
|
# (boolean value)
|
||||||
|
#insecure=false
|
||||||
|
|
||||||
|
|
||||||
|
[clients_neutron]
|
||||||
|
|
||||||
|
#
|
||||||
|
# Options defined in heat.common.config
|
||||||
|
#
|
||||||
|
|
||||||
|
# Optional CA cert file to use in SSL connections (string
|
||||||
|
# value)
|
||||||
|
#ca_file=<None>
|
||||||
|
|
||||||
|
# Optional PEM-formatted certificate chain file (string value)
|
||||||
|
#cert_file=<None>
|
||||||
|
|
||||||
|
# Optional PEM-formatted file that contains the private key
|
||||||
|
# (string value)
|
||||||
|
#key_file=<None>
|
||||||
|
|
||||||
|
# If set then the server's certificate will not be verified
|
||||||
|
# (boolean value)
|
||||||
|
#insecure=false
|
||||||
|
|
||||||
|
|
||||||
|
[clients_nova]
|
||||||
|
|
||||||
|
#
|
||||||
|
# Options defined in heat.common.config
|
||||||
|
#
|
||||||
|
|
||||||
|
# Optional CA cert file to use in SSL connections (string
|
||||||
|
# value)
|
||||||
|
#ca_file=<None>
|
||||||
|
|
||||||
|
# Optional PEM-formatted certificate chain file (string value)
|
||||||
|
#cert_file=<None>
|
||||||
|
|
||||||
|
# Optional PEM-formatted file that contains the private key
|
||||||
|
# (string value)
|
||||||
|
#key_file=<None>
|
||||||
|
|
||||||
|
# If set then the server's certificate will not be verified
|
||||||
|
# (boolean value)
|
||||||
|
#insecure=false
|
||||||
|
|
||||||
|
|
||||||
|
[clients_swift]
|
||||||
|
|
||||||
|
#
|
||||||
|
# Options defined in heat.common.config
|
||||||
|
#
|
||||||
|
|
||||||
|
# Optional CA cert file to use in SSL connections (string
|
||||||
|
# value)
|
||||||
|
#ca_file=<None>
|
||||||
|
|
||||||
|
# Optional PEM-formatted certificate chain file (string value)
|
||||||
|
#cert_file=<None>
|
||||||
|
|
||||||
|
# Optional PEM-formatted file that contains the private key
|
||||||
|
# (string value)
|
||||||
|
#key_file=<None>
|
||||||
|
|
||||||
|
# If set then the server's certificate will not be verified
|
||||||
|
# (boolean value)
|
||||||
|
#insecure=false
|
||||||
|
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
|
|
||||||
@ -612,128 +725,6 @@
|
|||||||
#pool_timeout=<None>
|
#pool_timeout=<None>
|
||||||
|
|
||||||
|
|
||||||
[paste_deploy]
|
|
||||||
|
|
||||||
#
|
|
||||||
# Options defined in heat.common.config
|
|
||||||
#
|
|
||||||
|
|
||||||
# The flavor to use (string value)
|
|
||||||
#flavor=<None>
|
|
||||||
|
|
||||||
# The API paste config file to use (string value)
|
|
||||||
#api_paste_config=api-paste.ini
|
|
||||||
|
|
||||||
|
|
||||||
[clients_cinder]
|
|
||||||
|
|
||||||
#
|
|
||||||
# Options defined in heat.common.config
|
|
||||||
#
|
|
||||||
|
|
||||||
# Optional CA cert file to use in SSL connections (string
|
|
||||||
# value)
|
|
||||||
#ca_file=<None>
|
|
||||||
|
|
||||||
# Optional PEM-formatted certificate chain file (string value)
|
|
||||||
#cert_file=<None>
|
|
||||||
|
|
||||||
# Optional PEM-formatted file that contains the private key
|
|
||||||
# (string value)
|
|
||||||
#key_file=<None>
|
|
||||||
|
|
||||||
# If set then the server's certificate will not be verified
|
|
||||||
# (boolean value)
|
|
||||||
#insecure=false
|
|
||||||
|
|
||||||
|
|
||||||
[clients]
|
|
||||||
|
|
||||||
#
|
|
||||||
# Options defined in heat.common.config
|
|
||||||
#
|
|
||||||
|
|
||||||
# Optional CA cert file to use in SSL connections (string
|
|
||||||
# value)
|
|
||||||
#ca_file=<None>
|
|
||||||
|
|
||||||
# Optional PEM-formatted certificate chain file (string value)
|
|
||||||
#cert_file=<None>
|
|
||||||
|
|
||||||
# Optional PEM-formatted file that contains the private key
|
|
||||||
# (string value)
|
|
||||||
#key_file=<None>
|
|
||||||
|
|
||||||
# If set then the server's certificate will not be verified
|
|
||||||
# (boolean value)
|
|
||||||
#insecure=false
|
|
||||||
|
|
||||||
|
|
||||||
[clients_nova]
|
|
||||||
|
|
||||||
#
|
|
||||||
# Options defined in heat.common.config
|
|
||||||
#
|
|
||||||
|
|
||||||
# Optional CA cert file to use in SSL connections (string
|
|
||||||
# value)
|
|
||||||
#ca_file=<None>
|
|
||||||
|
|
||||||
# Optional PEM-formatted certificate chain file (string value)
|
|
||||||
#cert_file=<None>
|
|
||||||
|
|
||||||
# Optional PEM-formatted file that contains the private key
|
|
||||||
# (string value)
|
|
||||||
#key_file=<None>
|
|
||||||
|
|
||||||
# If set then the server's certificate will not be verified
|
|
||||||
# (boolean value)
|
|
||||||
#insecure=false
|
|
||||||
|
|
||||||
|
|
||||||
[matchmaker_ring]
|
|
||||||
|
|
||||||
#
|
|
||||||
# Options defined in heat.openstack.common.rpc.matchmaker_ring
|
|
||||||
#
|
|
||||||
|
|
||||||
# Matchmaker ring file (JSON) (string value)
|
|
||||||
# Deprecated group/name - [DEFAULT]/matchmaker_ringfile
|
|
||||||
#ringfile=/etc/oslo/matchmaker_ring.json
|
|
||||||
|
|
||||||
|
|
||||||
[clients_ceilometer]
|
|
||||||
|
|
||||||
#
|
|
||||||
# Options defined in heat.common.config
|
|
||||||
#
|
|
||||||
|
|
||||||
# Optional CA cert file to use in SSL connections (string
|
|
||||||
# value)
|
|
||||||
#ca_file=<None>
|
|
||||||
|
|
||||||
# Optional PEM-formatted certificate chain file (string value)
|
|
||||||
#cert_file=<None>
|
|
||||||
|
|
||||||
# Optional PEM-formatted file that contains the private key
|
|
||||||
# (string value)
|
|
||||||
#key_file=<None>
|
|
||||||
|
|
||||||
# If set then the server's certificate will not be verified
|
|
||||||
# (boolean value)
|
|
||||||
#insecure=false
|
|
||||||
|
|
||||||
|
|
||||||
[rpc_notifier2]
|
|
||||||
|
|
||||||
#
|
|
||||||
# Options defined in heat.openstack.common.notifier.rpc_notifier2
|
|
||||||
#
|
|
||||||
|
|
||||||
# AMQP topic(s) used for OpenStack notifications (list value)
|
|
||||||
#topics=notifications
|
|
||||||
|
|
||||||
|
|
||||||
[ec2authtoken]
|
[ec2authtoken]
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -752,35 +743,6 @@
|
|||||||
#allowed_auth_uris=
|
#allowed_auth_uris=
|
||||||
|
|
||||||
|
|
||||||
[heat_api_cloudwatch]
|
|
||||||
|
|
||||||
#
|
|
||||||
# Options defined in heat.common.wsgi
|
|
||||||
#
|
|
||||||
|
|
||||||
# Address to bind the server. Useful when selecting a
|
|
||||||
# particular network interface. (string value)
|
|
||||||
#bind_host=0.0.0.0
|
|
||||||
|
|
||||||
# The port on which the server will listen. (integer value)
|
|
||||||
#bind_port=8003
|
|
||||||
|
|
||||||
# Number of backlog requests to configure the socket with
|
|
||||||
# (integer value)
|
|
||||||
#backlog=4096
|
|
||||||
|
|
||||||
# Location of the SSL Certificate File to use for SSL mode
|
|
||||||
# (string value)
|
|
||||||
#cert_file=<None>
|
|
||||||
|
|
||||||
# Location of the SSL Key File to use for enabling SSL mode
|
|
||||||
# (string value)
|
|
||||||
#key_file=<None>
|
|
||||||
|
|
||||||
# Number of workers for Heat service (integer value)
|
|
||||||
#workers=0
|
|
||||||
|
|
||||||
|
|
||||||
[heat_api]
|
[heat_api]
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -839,6 +801,35 @@
|
|||||||
#workers=0
|
#workers=0
|
||||||
|
|
||||||
|
|
||||||
|
[heat_api_cloudwatch]
|
||||||
|
|
||||||
|
#
|
||||||
|
# Options defined in heat.common.wsgi
|
||||||
|
#
|
||||||
|
|
||||||
|
# Address to bind the server. Useful when selecting a
|
||||||
|
# particular network interface. (string value)
|
||||||
|
#bind_host=0.0.0.0
|
||||||
|
|
||||||
|
# The port on which the server will listen. (integer value)
|
||||||
|
#bind_port=8003
|
||||||
|
|
||||||
|
# Number of backlog requests to configure the socket with
|
||||||
|
# (integer value)
|
||||||
|
#backlog=4096
|
||||||
|
|
||||||
|
# Location of the SSL Certificate File to use for SSL mode
|
||||||
|
# (string value)
|
||||||
|
#cert_file=<None>
|
||||||
|
|
||||||
|
# Location of the SSL Key File to use for enabling SSL mode
|
||||||
|
# (string value)
|
||||||
|
#key_file=<None>
|
||||||
|
|
||||||
|
# Number of workers for Heat service (integer value)
|
||||||
|
#workers=0
|
||||||
|
|
||||||
|
|
||||||
[keystone_authtoken]
|
[keystone_authtoken]
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -953,28 +944,6 @@
|
|||||||
#memcache_secret_key=<None>
|
#memcache_secret_key=<None>
|
||||||
|
|
||||||
|
|
||||||
[clients_neutron]
|
|
||||||
|
|
||||||
#
|
|
||||||
# Options defined in heat.common.config
|
|
||||||
#
|
|
||||||
|
|
||||||
# Optional CA cert file to use in SSL connections (string
|
|
||||||
# value)
|
|
||||||
#ca_file=<None>
|
|
||||||
|
|
||||||
# Optional PEM-formatted certificate chain file (string value)
|
|
||||||
#cert_file=<None>
|
|
||||||
|
|
||||||
# Optional PEM-formatted file that contains the private key
|
|
||||||
# (string value)
|
|
||||||
#key_file=<None>
|
|
||||||
|
|
||||||
# If set then the server's certificate will not be verified
|
|
||||||
# (boolean value)
|
|
||||||
#insecure=false
|
|
||||||
|
|
||||||
|
|
||||||
[matchmaker_redis]
|
[matchmaker_redis]
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -991,26 +960,28 @@
|
|||||||
#password=<None>
|
#password=<None>
|
||||||
|
|
||||||
|
|
||||||
[clients_keystone]
|
[matchmaker_ring]
|
||||||
|
|
||||||
|
#
|
||||||
|
# Options defined in heat.openstack.common.rpc.matchmaker_ring
|
||||||
|
#
|
||||||
|
|
||||||
|
# Matchmaker ring file (JSON) (string value)
|
||||||
|
# Deprecated group/name - [DEFAULT]/matchmaker_ringfile
|
||||||
|
#ringfile=/etc/oslo/matchmaker_ring.json
|
||||||
|
|
||||||
|
|
||||||
|
[paste_deploy]
|
||||||
|
|
||||||
#
|
#
|
||||||
# Options defined in heat.common.config
|
# Options defined in heat.common.config
|
||||||
#
|
#
|
||||||
|
|
||||||
# Optional CA cert file to use in SSL connections (string
|
# The flavor to use (string value)
|
||||||
# value)
|
#flavor=<None>
|
||||||
#ca_file=<None>
|
|
||||||
|
|
||||||
# Optional PEM-formatted certificate chain file (string value)
|
# The API paste config file to use (string value)
|
||||||
#cert_file=<None>
|
#api_paste_config=api-paste.ini
|
||||||
|
|
||||||
# Optional PEM-formatted file that contains the private key
|
|
||||||
# (string value)
|
|
||||||
#key_file=<None>
|
|
||||||
|
|
||||||
# If set then the server's certificate will not be verified
|
|
||||||
# (boolean value)
|
|
||||||
#insecure=false
|
|
||||||
|
|
||||||
|
|
||||||
[revision]
|
[revision]
|
||||||
@ -1026,3 +997,32 @@
|
|||||||
#heat_revision=unknown
|
#heat_revision=unknown
|
||||||
|
|
||||||
|
|
||||||
|
[rpc_notifier2]
|
||||||
|
|
||||||
|
#
|
||||||
|
# Options defined in heat.openstack.common.notifier.rpc_notifier2
|
||||||
|
#
|
||||||
|
|
||||||
|
# AMQP topic(s) used for OpenStack notifications (list value)
|
||||||
|
#topics=notifications
|
||||||
|
|
||||||
|
|
||||||
|
[ssl]
|
||||||
|
|
||||||
|
#
|
||||||
|
# Options defined in heat.openstack.common.sslutils
|
||||||
|
#
|
||||||
|
|
||||||
|
# CA certificate file to use to verify connecting clients
|
||||||
|
# (string value)
|
||||||
|
#ca_file=<None>
|
||||||
|
|
||||||
|
# Certificate file to use when starting the server securely
|
||||||
|
# (string value)
|
||||||
|
#cert_file=<None>
|
||||||
|
|
||||||
|
# Private key file to use when starting the server securely
|
||||||
|
# (string value)
|
||||||
|
#key_file=<None>
|
||||||
|
|
||||||
|
|
||||||
|
@ -102,8 +102,8 @@ def generate(srcfiles):
|
|||||||
opts_by_group.setdefault(group, []).append((mod_str, opts))
|
opts_by_group.setdefault(group, []).append((mod_str, opts))
|
||||||
|
|
||||||
print_group_opts('DEFAULT', opts_by_group.pop('DEFAULT', []))
|
print_group_opts('DEFAULT', opts_by_group.pop('DEFAULT', []))
|
||||||
for group, opts in opts_by_group.items():
|
for group in sorted(opts_by_group.keys()):
|
||||||
print_group_opts(group, opts)
|
print_group_opts(group, opts_by_group[group])
|
||||||
|
|
||||||
|
|
||||||
def _import_module(mod_str):
|
def _import_module(mod_str):
|
||||||
|
Loading…
Reference in New Issue
Block a user