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 # Register options for the service
OPTS = [ OPTS = [
cfg.IntOpt('port', cfg.IntOpt('port',
default=8777, default=8042,
deprecated_name='metering_api_port',
deprecated_group='DEFAULT', deprecated_group='DEFAULT',
help='The port for the aodh API server.', help='The port for the aodh API server.',
), ),

View File

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

View File

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