If we need to change it again then this will make it easier.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
app = config.load_paste_app(conf)
server = wsgi.Server()
- server.start(app, conf, default_port=9292)
+ server.start(app, conf, default_port=DEFAULT_PORT)
server.wait()
except RuntimeError, e:
sys.exit("ERROR: %s" % e)
default='0.0.0.0',
help='IP address to listen on'),
cfg.IntOpt('bind_port',
- default=9292,
+ default=DEFAULT_PORT,
help='Port number to listen on')
]
self.register_cli_opt(self.config_file_opt)
Option values are parsed from any supplied config files using SafeConfigParser.
-If none are specified, a default set is used e.g. glance-api.conf and
-glance-common.conf:
+If none are specified, a default set is used e.g. heat-api.conf and
+heat-common.conf:
- glance-api.conf:
+ heat-api.conf:
[DEFAULT]
- bind_port = 9292
+ bind_port = 8000
- glance-common.conf:
+ heat-common.conf:
[DEFAULT]
bind_host = 0.0.0.0
If no group is specified, options belong to the 'DEFAULT' section of config
files:
- glance-api.conf:
+ heat-api.conf:
[DEFAULT]
- bind_port = 9292
+ bind_port = 8000
...
[rabbit]