Daryl Walleck | 587385b | 2012-03-03 13:00:26 -0600 | [diff] [blame] | 1 | [identity] |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 2 | # This section contains configuration options that a variety of Tempest |
| 3 | # test clients use when authenticating with different user/tenant |
| 4 | # combinations |
| 5 | |
chris fattarsi | 8ed39ac | 2012-04-30 14:11:27 -0700 | [diff] [blame] | 6 | # The type of endpoint for a Identity service. Unless you have a |
| 7 | # custom Keystone service catalog implementation, you probably want to leave |
| 8 | # this value as "identity" |
| 9 | catalog_type = identity |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 10 | # Set to True if your test environment's Keystone authentication service should |
| 11 | # be accessed over HTTPS |
| 12 | use_ssl = False |
| 13 | # This is the main host address of the authentication service API |
| 14 | host = 127.0.0.1 |
| 15 | # Port that the authentication service API is running on |
| 16 | port = 5000 |
| 17 | # Version of the authentication service API (a string) |
| 18 | api_version = v2.0 |
| 19 | # Path to the authentication service tokens resource (do not modify unless you |
| 20 | # have a custom authentication API and are not using Keystone) |
| 21 | path = tokens |
| 22 | # Should typically be left as keystone unless you have a non-Keystone |
| 23 | # authentication API service |
| 24 | strategy = keystone |
Daryl Walleck | 587385b | 2012-03-03 13:00:26 -0600 | [diff] [blame] | 25 | |
| 26 | [compute] |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 27 | # This section contains configuration options used when executing tests |
| 28 | # against the OpenStack Compute API. |
| 29 | |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 30 | # Allows test cases to create/destroy tenants and users. This option |
| 31 | # enables isolated test cases and better parallel execution, |
| 32 | # but also requires that OpenStack Identity API admin credentials |
| 33 | # are known. |
| 34 | allow_tenant_isolation = true |
| 35 | |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 36 | # This should be the username of a user WITHOUT administrative privileges |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 37 | username = demo |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 38 | # The above non-administrative user's password |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 39 | password = pass |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 40 | # The above non-administrative user's tenant name |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 41 | tenant_name = demo |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 42 | |
| 43 | # This should be the username of an alternate user WITHOUT |
| 44 | # administrative privileges |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 45 | alt_username = alt_demo |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 46 | # The above non-administrative user's password |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 47 | alt_password = pass |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 48 | # The above non-administrative user's tenant name |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 49 | alt_tenant_name = alt_demo |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 50 | |
Daryl Walleck | 587385b | 2012-03-03 13:00:26 -0600 | [diff] [blame] | 51 | # Reference data for tests. The ref and ref_alt should be |
| 52 | # distinct images/flavors. |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 53 | image_ref = {$IMAGE_ID} |
| 54 | image_ref_alt = {$IMAGE_ID_ALT} |
| 55 | flavor_ref = 1 |
| 56 | flavor_ref_alt = 2 |
| 57 | |
| 58 | # Number of seconds to wait while looping to check the status of an |
| 59 | # instance or volume that is building. |
| 60 | build_interval = 10 |
| 61 | |
| 62 | # Number of seconds to time out on waiting for an instance or volume |
| 63 | # to build or reach an expected status |
| 64 | build_timeout = 600 |
| 65 | |
Daryl Walleck | 6b9b288 | 2012-04-08 21:43:39 -0500 | [diff] [blame] | 66 | # Run additional tests that use SSH for instance validation? |
| 67 | # This requires the instances be routable from the host |
| 68 | # executing the tests |
| 69 | run_ssh = false |
| 70 | |
| 71 | # Name of a user used to authenticated to an instance |
| 72 | ssh_user = {$SSH_USER} |
| 73 | |
| 74 | # Network id used for SSH (public, private, etc) |
| 75 | network_for_ssh = {$SSH_NETWORK} |
| 76 | |
| 77 | # IP version of the address used for SSH |
| 78 | ip_version_for_ssh = {$SSH_IP_VERSION} |
| 79 | |
| 80 | # Number of seconds to wait to authenticate to an instance |
| 81 | ssh_timeout = 300 |
| 82 | |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 83 | # The type of endpoint for a Compute API service. Unless you have a |
| 84 | # custom Keystone service catalog implementation, you probably want to leave |
| 85 | # this value as "compute" |
| 86 | catalog_type = compute |
| 87 | |
| 88 | # Does the Compute API support creation of images? |
| 89 | create_image_enabled = true |
| 90 | |
David Kranz | 30fe84a | 2012-03-20 16:25:47 -0400 | [diff] [blame] | 91 | # For resize to work with libvirt/kvm, one of the following must be true: |
| 92 | # Single node: allow_resize_to_same_host=True must be set in nova.conf |
| 93 | # Cluster: the 'nova' user must have scp access between cluster nodes |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 94 | resize_available = true |
Daryl Walleck | e5b83d4 | 2011-11-10 14:39:02 -0600 | [diff] [blame] | 95 | |
David Kranz | f97d5fd | 2012-07-30 13:46:45 -0400 | [diff] [blame^] | 96 | # Does the compute API support changing the admin password? |
| 97 | change_password_available=true |
| 98 | |
David Kranz | 180fed1 | 2012-03-27 14:31:29 -0400 | [diff] [blame] | 99 | # Level to log Compute API request/response details. |
| 100 | log_level = ERROR |
| 101 | |
Eoghan Glynn | 4b10c7c | 2012-03-01 13:13:35 -0500 | [diff] [blame] | 102 | [image] |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 103 | # This section contains configuration options used when executing tests |
| 104 | # against the OpenStack Images API |
| 105 | |
Jay Pipes | ad6feca | 2012-04-30 15:10:18 -0400 | [diff] [blame] | 106 | # The type of endpoint for an Image API service. Unless you have a |
| 107 | # custom Keystone service catalog implementation, you probably want to leave |
| 108 | # this value as "image" |
| 109 | catalog_type = image |
| 110 | |
| 111 | # The version of the OpenStack Images API to use |
| 112 | api_version = 1 |
| 113 | |
| 114 | # This is the main host address of the Image API |
| 115 | host = 127.0.0.1 |
| 116 | |
| 117 | # Port that the Image API is running on |
| 118 | port = 9292 |
| 119 | |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 120 | # This should be the username of a user WITHOUT administrative privileges |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 121 | username = demo |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 122 | # The above non-administrative user's password |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 123 | password = pass |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 124 | # The above non-administrative user's tenant name |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 125 | tenant_name = demo |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 126 | |
| 127 | [compute-admin] |
| 128 | # This section contains configuration options for an administrative |
| 129 | # user of the Compute API. These options are used in tests that stress |
| 130 | # the admin-only parts of the Compute API |
| 131 | |
| 132 | # This should be the username of a user WITH administrative privileges |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 133 | username = admin |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 134 | # The above administrative user's password |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 135 | password = pass |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 136 | # The above administrative user's tenant name |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 137 | tenant_name = admin |
Unmesh Gurjar | 4498683 | 2012-05-08 19:57:10 +0530 | [diff] [blame] | 138 | |
| 139 | [network] |
| 140 | # This section contains configuration options used when executing tests |
| 141 | # against the OpenStack Network API. |
| 142 | api_version = v1.1 |
| 143 | catalog_type = network |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 144 | |
| 145 | [identity-admin] |
| 146 | # This section contains configuration options for an administrative |
| 147 | # user of the Compute API. These options are used in tests that stress |
| 148 | # the admin-only parts of the Compute API |
| 149 | |
| 150 | # This should be the username of a user WITH administrative privileges |
| 151 | username = admin |
| 152 | # The above administrative user's password |
| 153 | password = pass |
| 154 | # The above administrative user's tenant name |
| 155 | tenant_name = admin |