Merge "Use HostAddressOpt for opts that accept IP and hostnames"
This commit is contained in:
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.')),
|
||||
|
Loading…
x
Reference in New Issue
Block a user