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,7 +87,7 @@ Related Options:
* sheepdog_store_address
""")),
cfg.StrOpt('sheepdog_store_address',
cfg.HostAddressOpt('sheepdog_store_address',
default=DEFAULT_ADDR,
help=_("""
Address to bind the Sheepdog daemon to.

View File

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