Revert "Revert "Use oslo_config PortOpt support""

This reverts commit ec31d95b21.

we have stable/liberty now

Change-Id: I1e9f3fcdb8bce087ee3faa5398a2b2f922a38ba7
This commit is contained in:
gordon chung 2015-11-11 13:12:44 +00:00
parent ec31d95b21
commit 9e17f84038
2 changed files with 6 additions and 6 deletions

View File

@ -17,11 +17,11 @@ from oslo_config import cfg
# Register options for the service
OPTS = [
cfg.IntOpt('port',
default=8042,
deprecated_group='DEFAULT',
help='The port for the aodh API server.',
),
cfg.PortOpt('port',
default=8042,
deprecated_group='DEFAULT',
help='The port for the aodh API server.',
),
cfg.StrOpt('host',
default='0.0.0.0',
help='The listen IP for the aodh API server.',

View File

@ -11,7 +11,7 @@ keystonemiddleware>=2.2.0
lxml>=2.3
oslo.context>=0.2.0 # Apache-2.0
oslo.db>=1.12.0 # Apache-2.0
oslo.config>=1.15.0 # Apache-2.0
oslo.config>=2.6.0 # Apache-2.0
oslo.i18n>=1.5.0 # Apache-2.0
oslo.log>=1.2.0 # Apache-2.0
oslo.policy>=0.5.0 # Apache-2.0