Merge "Change the default api server port"

This commit is contained in:
Jenkins 2015-07-06 13:30:09 +00:00 committed by Gerrit Code Review
commit 77264a4e70
3 changed files with 4 additions and 5 deletions
aodh/api
etc/apache2

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

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

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