Change default port for savanna api to 8386.

Since 8080 (the current default) is likely to be used
by other things.  Choose a new unassigned port as the
default.

Change-Id: I8bee3d880167e19810d06e7740842e930f06f9fb
Fixes: bug 1199226
This commit is contained in:
Trevor McKay 2013-07-09 14:58:09 -04:00
parent 9bc44b60e4
commit f7d6497788
6 changed files with 6 additions and 5 deletions

View File

@ -9,5 +9,6 @@ Nikita Konovalov <nkonovalov@mirantis.com>
Ruslan Kamaldinov <rkamaldinov@mirantis.com>
Sergey Lukjanov <slukjanov@mirantis.com>
Sergey Reshetnyak <sreshetniak@mirantis.com>
Trevor McKay <tmckay@redhat.com>
Vadim Rovachev <vrovachev@mirantis.com>
Yaroslav Lobankov <ylobankov@mirantis.com>

View File

@ -1,7 +1,7 @@
[DEFAULT]
# REST API config
#port=8080
#port=8386
# Address and credentials that will be used to check auth tokens
#os_auth_host=openstack

View File

@ -8,7 +8,7 @@
#host=
# set port (integer value)
#port=8080
#port=8386
#

View File

@ -18,7 +18,7 @@ from oslo.config import cfg
cli_opts = [
cfg.StrOpt('host', default='',
help='Hostname of IP address that will be used to listen on'),
cfg.IntOpt('port', default=8080,
cfg.IntOpt('port', default=8386,
help='Port that will be used to listen on'),
cfg.BoolOpt('log-exchange', default=False,
help='Log request/response exchange details: environ, '

View File

@ -4,7 +4,7 @@ OS_TENANT_NAME = 'admin'
OS_AUTH_URL = 'http://192.168.1.1:35357/v2.0/' # URL for keystone
SAVANNA_HOST = '192.168.1.1' # IP for Savanna API
SAVANNA_PORT = '8080' # port for Savanna API
SAVANNA_PORT = '8386' # port for Savanna API
IMAGE_ID = '42' # ID for instance image
FLAVOR_ID = '42'

View File

@ -27,7 +27,7 @@ OS_TENANT_NAME = _get_conf('OS_TENANT_NAME', 'admin')
OS_AUTH_URL = _get_conf('OS_AUTH_URL', 'http://192.168.1.1:35357/v2.0/')
SAVANNA_HOST = _get_conf('SAVANNA_HOST', '192.168.1.1')
SAVANNA_PORT = _get_conf('SAVANNA_PORT', '8080')
SAVANNA_PORT = _get_conf('SAVANNA_PORT', '8386')
IMAGE_ID = _get_conf('IMAGE_ID', '42abc')
FLAVOR_ID = _get_conf('FLAVOR_ID', '42')