Use oslo_config IPOpt support

The oslo_config library provides IPOpt type.

Closes-Bug: #1510004
Change-Id: I8f8c69e81a8cca63222da97bcede00bd31c92c8d
This commit is contained in:
Bertrand Lallau 2015-10-26 09:08:38 +01:00 committed by Bertrand Lallau
parent 23a5d63a22
commit 19f50e1cdc
1 changed files with 3 additions and 3 deletions

View File

@ -24,9 +24,9 @@ API_SERVICE_OPTS = [
type=config.PORT_TYPE,
default=9511,
help='The port for the Magnum API server.'),
cfg.StrOpt('host',
default='127.0.0.1',
help='The listen IP for the Magnum API server.'),
cfg.IPOpt('host',
default='127.0.0.1',
help='The listen IP for the Magnum API server.'),
cfg.IntOpt('max_limit',
default=1000,
help='The maximum number of items returned in a single '