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

This commit is contained in:
Jenkins 2017-03-24 17:11:29 +00:00 committed by Gerrit Code Review
commit c3d03cc6db
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ core_opts = [
help=_("The maximum number of items returned in a single "
"response. The string 'infinite' or a negative "
"integer value means 'no limit'")),
cfg.StrOpt('host', default=utils.get_hostname(),
help=_("The hostname Octavia is running on")),
cfg.HostAddressOpt('host', default=utils.get_hostname(),
help=_("The hostname Octavia is running on")),
cfg.StrOpt('octavia_plugins',
default='hot_plug_plugin',
help=_('Name of the controller plugin to use'))