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

This commit is contained in:
Jenkins 2017-04-20 19:12:14 +00:00 committed by Gerrit Code Review
commit 2be90e365c
2 changed files with 4 additions and 4 deletions

View File

@ -105,9 +105,9 @@ def list_opts():
("storage", (_STORAGE_OPTS + gnocchi.storage._carbonara.OPTS)),
("incoming", _INCOMING_OPTS),
("statsd", (
cfg.StrOpt('host',
default='0.0.0.0',
help='The listen IP for statsd'),
cfg.HostAddressOpt('host',
default='0.0.0.0',
help='The listen IP for statsd'),
cfg.PortOpt('port',
default=8125,
help='The port for statsd'),

View File

@ -1,7 +1,7 @@
pbr
numpy>=1.9.0
iso8601
oslo.config>=2.7.0
oslo.config>=3.22.0
oslo.log>=2.3.0
oslo.policy>=0.3.0
oslo.serialization>=1.4.0