Merge "Use HostAddressOpt for opts that accept IP and hostnames"
This commit is contained in:
commit
e22215a3ef
@ -15,12 +15,13 @@ from oslo_config import cfg
|
||||
from magnum.i18n import _
|
||||
|
||||
service_opts = [
|
||||
cfg.StrOpt('host',
|
||||
help=_('Name of this node. This can be an opaque identifier. '
|
||||
'It is not necessarily a hostname, FQDN, or IP address. '
|
||||
'However, the node name must be valid within '
|
||||
'an AMQP key, and if using ZeroMQ, a valid '
|
||||
'hostname, FQDN, or IP address.')),
|
||||
cfg.HostAddressOpt('host',
|
||||
help=_('Name of this node. This can be an opaque '
|
||||
'identifier. It is not necessarily a hostname, '
|
||||
'FQDN, or IP address. However, the node name '
|
||||
'must be valid within an AMQP key, and if using '
|
||||
'ZeroMQ, a valid hostname, FQDN, or IP '
|
||||
'address.')),
|
||||
]
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user