Merge "Use HostAddressOpt for store opts that accept IP and hostnames"

This commit is contained in:
Jenkins 2017-03-15 15:56:52 +00:00 committed by Gerrit Code Review
commit 2508c093fc
2 changed files with 6 additions and 6 deletions

View File

@ -87,9 +87,9 @@ Related Options:
* sheepdog_store_address
""")),
cfg.StrOpt('sheepdog_store_address',
default=DEFAULT_ADDR,
help=_("""
cfg.HostAddressOpt('sheepdog_store_address',
default=DEFAULT_ADDR,
help=_("""
Address to bind the Sheepdog daemon to.
Provide a string value representing the address to bind the

View File

@ -59,9 +59,9 @@ DS_URL_PREFIX = '/folder'
STORE_SCHEME = 'vsphere'
_VMWARE_OPTS = [
cfg.StrOpt('vmware_server_host',
sample_default='127.0.0.1',
help=_("""
cfg.HostAddressOpt('vmware_server_host',
sample_default='127.0.0.1',
help=_("""
Address of the ESX/ESXi or vCenter Server target system.
This configuration option sets the address of the ESX/ESXi or vCenter