Change the default api server port

The current api server port is same as Ceilometer's (8777)

Change-Id: I76dc6244e702611e5c0e9328bc05e7cde2f39f9c
This commit is contained in:
liu-sheng 2015-07-03 09:39:37 +08:00
parent 4d8e9fd8d7
commit 61f66bf592
3 changed files with 4 additions and 5 deletions

View File

@ -18,8 +18,7 @@ from oslo_config import cfg
# Register options for the service
OPTS = [
cfg.IntOpt('port',
default=8777,
deprecated_name='metering_api_port',
default=8042,
deprecated_group='DEFAULT',
help='The port for the aodh API server.',
),

View File

@ -12,7 +12,7 @@
# Server Specific Configurations
server = {
'port': '8777',
'port': '8042',
'host': '0.0.0.0'
}

View File

@ -22,9 +22,9 @@
# The number of processes and threads is an example only and should
# be adjusted according to local requirements.
Listen 8777
Listen 8402
<VirtualHost *:8777>
<VirtualHost *:8402>
WSGIDaemonProcess aodh-api processes=2 threads=10 user=SOMEUSER display-name=%{GROUP}
WSGIProcessGroup aodh-api
WSGIScriptAlias / /var/www/aodh/app