Merge "Remove unused configuration variables"
commit
10f84cea01
|
@ -210,12 +210,8 @@ build_timeout = 300
|
|||
[object-storage]
|
||||
# This section contains configuration options used when executing tests
|
||||
# against the OpenStack Object Storage API.
|
||||
# This should be the username of a user WITHOUT administrative privileges
|
||||
username = admin
|
||||
# The above non-administrative user's password
|
||||
password = password
|
||||
# The above non-administrative user's tenant name
|
||||
tenant_name = admin
|
||||
|
||||
# You can configure the credentials in the compute section
|
||||
|
||||
# The type of endpoint for an Object Storage API service. Unless you have a
|
||||
# custom Keystone service catalog implementation, you probably want to leave
|
||||
|
|
|
@ -181,11 +181,8 @@ build_timeout = %VOLUME_BUILD_TIMEOUT%
|
|||
# This section contains configuration options used when executing tests
|
||||
# against the OpenStack Object Storage API.
|
||||
# This should be the username of a user WITHOUT administrative privileges
|
||||
username = %USERNAME%
|
||||
# The above non-administrative user's password
|
||||
password = %PASSWORD%
|
||||
# The above non-administrative user's tenant name
|
||||
tenant_name = %TENANT_NAME%
|
||||
|
||||
# You can configure the credentials in the compute section
|
||||
|
||||
# The type of endpoint for an Object Storage API service. Unless you have a
|
||||
# custom Keystone service catalog implementation, you probably want to leave
|
||||
|
|
|
@ -399,21 +399,6 @@ class ObjectStorageConfig(BaseConfig):
|
|||
|
||||
SECTION_NAME = "object-storage"
|
||||
|
||||
@property
|
||||
def username(self):
|
||||
"""Username to use for Object-Storage API requests."""
|
||||
return self.get("username", "admin")
|
||||
|
||||
@property
|
||||
def tenant_name(self):
|
||||
"""Tenant name to use for Object-Storage API requests."""
|
||||
return self.get("tenant_name", "admin")
|
||||
|
||||
@property
|
||||
def password(self):
|
||||
"""API key to use when authenticating."""
|
||||
return self.get("password", "password")
|
||||
|
||||
@property
|
||||
def catalog_type(self):
|
||||
"""Catalog type of the Object-Storage service."""
|
||||
|
|
Loading…
Reference in New Issue