Merge "Use HostAddressOpt for store opts that accept IP and hostnames"
This commit is contained in:
commit
2508c093fc
|
@ -87,7 +87,7 @@ Related Options:
|
||||||
* sheepdog_store_address
|
* sheepdog_store_address
|
||||||
|
|
||||||
""")),
|
""")),
|
||||||
cfg.StrOpt('sheepdog_store_address',
|
cfg.HostAddressOpt('sheepdog_store_address',
|
||||||
default=DEFAULT_ADDR,
|
default=DEFAULT_ADDR,
|
||||||
help=_("""
|
help=_("""
|
||||||
Address to bind the Sheepdog daemon to.
|
Address to bind the Sheepdog daemon to.
|
||||||
|
|
|
@ -59,7 +59,7 @@ DS_URL_PREFIX = '/folder'
|
||||||
STORE_SCHEME = 'vsphere'
|
STORE_SCHEME = 'vsphere'
|
||||||
|
|
||||||
_VMWARE_OPTS = [
|
_VMWARE_OPTS = [
|
||||||
cfg.StrOpt('vmware_server_host',
|
cfg.HostAddressOpt('vmware_server_host',
|
||||||
sample_default='127.0.0.1',
|
sample_default='127.0.0.1',
|
||||||
help=_("""
|
help=_("""
|
||||||
Address of the ESX/ESXi or vCenter Server target system.
|
Address of the ESX/ESXi or vCenter Server target system.
|
||||||
|
|
Loading…
Reference in New Issue