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

This commit is contained in:
Zuul 2018-08-17 19:08:17 +00:00 committed by Gerrit Code Review
commit d435ce1f40

@ -19,9 +19,10 @@ from oslo_config import cfg
from ironic.common.i18n import _
opts = [
cfg.StrOpt('host_ip',
default='0.0.0.0',
help=_('The IP address on which ironic-api listens.')),
cfg.HostAddressOpt('host_ip',
default='0.0.0.0',
help=_('The IP address or hostname on which ironic-api '
'listens.')),
cfg.PortOpt('port',
default=6385,
help=_('The TCP port on which ironic-api listens.')),