Use oslo_config IPOpt support
The oslo_config library provides IPOpt type. Closes-Bug: #1510004 Change-Id: I8f8c69e81a8cca63222da97bcede00bd31c92c8d
This commit is contained in:
parent
23a5d63a22
commit
19f50e1cdc
|
@ -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 '
|
||||
|
|
Loading…
Reference in New Issue