Merge "Switch StrOpt to URIOpt for URL config options"

This commit is contained in:
Jenkins 2016-09-28 22:02:02 +00:00 committed by Gerrit Code Review
commit ed8350bbfb
4 changed files with 5 additions and 5 deletions

View File

@ -61,9 +61,9 @@ from cinder import interface
LOG = logging.getLogger(__name__)
swiftbackup_service_opts = [
cfg.StrOpt('backup_swift_url',
cfg.URIOpt('backup_swift_url',
help='The URL of the Swift endpoint'),
cfg.StrOpt('backup_swift_auth_url',
cfg.URIOpt('backup_swift_auth_url',
help='The URL of the Keystone endpoint'),
cfg.StrOpt('swift_catalog_info',
default='object-store:swift:publicURL',

View File

@ -192,7 +192,7 @@ global_opts = [
cfg.StrOpt('os_privileged_user_tenant',
help='Tenant name associated with the OpenStack privileged '
'account.'),
cfg.StrOpt('os_privileged_user_auth_url',
cfg.URIOpt('os_privileged_user_auth_url',
help='Auth URL associated with the OpenStack privileged '
'account.'),
]

View File

@ -64,7 +64,7 @@ if hpelefthandclient:
from hpelefthandclient import exceptions as hpeexceptions
hpelefthand_opts = [
cfg.StrOpt('hpelefthand_api_url',
cfg.URIOpt('hpelefthand_api_url',
default=None,
help="HPE LeftHand WSAPI Server Url like "
"https://<LeftHand ip>:8081/lhos",

View File

@ -35,7 +35,7 @@ VERSION = '1.1'
LOG = logging.getLogger(__name__)
volume_opts = [
cfg.StrOpt('quobyte_volume_url',
cfg.URIOpt('quobyte_volume_url',
help=('URL to the Quobyte volume e.g.,'
' quobyte://<DIR host>/<volume name>')),
cfg.StrOpt('quobyte_client_cfg',