Browse Source

Get tox to generate config for heat_integrationtests

Change-Id: Ic1ee2a333f4aa25ccdc80ed2fd0a0d4f064bd1d0
changes/42/152642/1
Sirushti Murugesan 7 years ago
parent
commit
1e72bec19d
  1. 4
      heat_integrationtests/config-generator.conf
  2. 66
      heat_integrationtests/heat_integrationtests.conf.sample
  3. 4
      tox.ini

4
heat_integrationtests/config-generator.conf

@ -0,0 +1,4 @@
[DEFAULT]
output_file = heat_integrationtests/heat_integrationtests.conf.sample
wrap_width = 79
namespace = heat_integrationtests.common.config

66
heat_integrationtests/heat_integrationtests.conf.sample

@ -4,21 +4,50 @@
# From heat_integrationtests.common.config
#
# Username to use for API requests. (string value)
#username = <None>
# API key to use when authenticating. (string value)
#password = <None>
# Tenant name to use for API requests. (string value)
#tenant_name = <None>
# Full URI of the OpenStack Identity API (Keystone), v2 (string value)
#auth_url = <None>
# The region name to us (string value)
#region = <None>
# Instance type for tests. Needs to be big enough for a full OS plus the test
# workload (string value)
#instance_type = <None>
# Name of image to use for tests which boot servers. (string value)
#image_ref = <None>
# Name of existing keypair to launch servers with. (string value)
#keypair_name = <None>
# Name of minimal (e.g cirros) image to use when launching test instances.
# (string value)
#minimal_image_ref = <None>
# Identity API version to be used for authentication for API tests. (string
# value)
#auth_version = v2
# Set to True if using self-signed SSL certificates. (boolean value)
#disable_ssl_certificate_validation = false
# Time in seconds between build status checks. (integer value)
#build_interval = 4
# Timeout in seconds to wait for a stack to build. (integer value)
#build_timeout = 1200
# Set to True if using self-signed SSL certificates. (boolean value)
#disable_ssl_certificate_validation = false
# Network used for SSH connections. (string value)
#network_for_ssh = private
# Visible fixed network name (string value)
#fixed_network_name = private
@ -26,46 +55,17 @@
# Visible fixed sub-network name (string value)
#fixed_subnet_name = private-subnet
# Name of image to use for tests which boot servers. (string value)
#image_ref = <None>
# Instance type for tests. Needs to be big enough for a full OS plus the test
# workload (string value)
#instance_type = <None>
# Timeout in seconds to wait for authentication to succeed. (integer value)
#ssh_timeout = 300
# IP version used for SSH connections. (integer value)
#ip_version_for_ssh = 4
# Name of existing keypair to launch servers with. (string value)
#keypair_name = <None>
# Name of minimal (e.g cirros) image to use when launching test instances.
# (string value)
#minimal_image_ref = <None>
# Network used for SSH connections. (string value)
#network_for_ssh = private
# API key to use when authenticating. (string value)
#password = <None>
# The region name to us (string value)
#region = <None>
# Timeout in seconds to wait for output from ssh channel. (integer value)
#ssh_channel_timeout = 60
# Timeout in seconds to wait for authentication to succeed. (integer value)
#ssh_timeout = 300
# Tenant name to use for API requests. (string value)
#tenant_name = <None>
# The mask bits for tenant ipv4 subnets (integer value)
#tenant_network_mask_bits = 28
# Username to use for API requests. (string value)
#username = <None>
# Default size in GB for volumes created by volumes tests (integer value)
#volume_size = 1

4
tox.ini

@ -49,7 +49,9 @@ deps = -r{toxinidir}/requirements.txt
commands = python setup.py build_sphinx
[testenv:genconfig]
commands = oslo-config-generator --config-file=config-generator.conf
commands =
oslo-config-generator --config-file=config-generator.conf
oslo-config-generator --config-file=heat_integrationtests/config-generator.conf
[flake8]
# H404 multi line docstring should start with a summary

Loading…
Cancel
Save