Merge "Use HostAddressOpt for opts that accept IP and hostnames"
This commit is contained in:
@@ -27,9 +27,9 @@ API_SERVICE_OPTS = [
|
||||
cfg.IntOpt('port',
|
||||
default=9777,
|
||||
help='The port for the solum API server'),
|
||||
cfg.StrOpt('host',
|
||||
default='127.0.0.1',
|
||||
help='The listen IP for the solum API server'),
|
||||
cfg.HostAddressOpt('host',
|
||||
default='127.0.0.1',
|
||||
help='The listen IP for the solum API server'),
|
||||
cfg.IntOpt('max_apps_per_tenant',
|
||||
default=10,
|
||||
help='Maximum number of application allowed per tenant'),
|
||||
|
||||
@@ -21,9 +21,9 @@ SERVICE_OPTS = [
|
||||
cfg.StrOpt('topic',
|
||||
default='solum-conductor',
|
||||
help='The queue to add conductor tasks to'),
|
||||
cfg.StrOpt('host',
|
||||
default='localhost',
|
||||
help='The location of the conductor rpc queue'),
|
||||
cfg.HostAddressOpt('host',
|
||||
default='localhost',
|
||||
help='The location of the conductor rpc queue'),
|
||||
]
|
||||
|
||||
opt_group = cfg.OptGroup(
|
||||
|
||||
@@ -21,9 +21,9 @@ SERVICE_OPTS = [
|
||||
cfg.StrOpt('topic',
|
||||
default='solum-deployer',
|
||||
help='The queue to add deployer tasks to'),
|
||||
cfg.StrOpt('host',
|
||||
default='localhost',
|
||||
help='The location of the deployer rpc queue'),
|
||||
cfg.HostAddressOpt('host',
|
||||
default='localhost',
|
||||
help='The location of the deployer rpc queue'),
|
||||
cfg.StrOpt('handler',
|
||||
default='heat',
|
||||
help='The deployer endpoint to deploy'),
|
||||
|
||||
@@ -21,9 +21,9 @@ SERVICE_OPTS = [
|
||||
cfg.StrOpt('topic',
|
||||
default='solum-worker',
|
||||
help='The queue to add build tasks to'),
|
||||
cfg.StrOpt('host',
|
||||
default='localhost',
|
||||
help='The location of the build rpc queue'),
|
||||
cfg.HostAddressOpt('host',
|
||||
default='localhost',
|
||||
help='The location of the build rpc queue'),
|
||||
cfg.StrOpt('handler',
|
||||
default='shell',
|
||||
help='The worker endpoint to employ'),
|
||||
|
||||
Reference in New Issue
Block a user