Fixing host_ip configuration help message

The vCenter/ESXi client can only accept a hostname or IP address
and not a URL.  Fix the help message to accurately describe what
kind of address is accepted.

Change-Id: Ie90247195181189d22e727a855145313397550ca
Closes-Bug: #1274294
This commit is contained in:
Eric Brown 2014-02-18 12:59:41 -05:00 committed by Gerrit Code Review
parent 3dbea753b6
commit e498373b26
2 changed files with 4 additions and 2 deletions

View File

@ -3306,7 +3306,8 @@
# Options defined in nova.virt.vmwareapi.driver
#
# URL for connection to VMware ESX/VC host. (string value)
# Hostname or IP address for connection to VMware ESX/VC host.
# (string value)
#host_ip=<None>
# Username for connection to VMware ESX/VC host. (string

View File

@ -45,7 +45,8 @@ LOG = logging.getLogger(__name__)
vmwareapi_opts = [
cfg.StrOpt('host_ip',
help='URL for connection to VMware ESX/VC host.'),
help='Hostname or IP address for connection to VMware ESX/VC '
'host.'),
cfg.StrOpt('host_username',
help='Username for connection to VMware ESX/VC host.'),
cfg.StrOpt('host_password',