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

This commit is contained in:
Jenkins
2017-03-23 16:09:11 +00:00
committed by Gerrit Code Review
4 changed files with 12 additions and 12 deletions

View File

@@ -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'),

View File

@@ -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(

View File

@@ -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'),

View File

@@ -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'),