summaryrefslogtreecommitdiff
path: root/ironic/cmd/api.py
diff options
context:
space:
mode:
authorLucas Alvares Gomes <lucasagomes@gmail.com>2013-10-29 10:24:09 +0000
committerLucas Alvares Gomes <lucasagomes@gmail.com>2013-11-14 10:33:04 +0000
commit808536e24e7488372e53f1d5fafd42a1eeced464 (patch)
tree100b3054a75f1e3801d2bd1ece9ea52b1e28f169 /ironic/cmd/api.py
parent6f45831b42ce13762eaec4bd954104df0f280040 (diff)
downloadironic-808536e24e7488372e53f1d5fafd42a1eeced464.tar.gz
Register API options under the 'api' group
Register the API options under the 'api' group and change the name of the options to be less redundant. This patch also regenerates the sample config file. Change-Id: I55ec0b977275a394fef059a6318540bb5186ddc0 Closes-Bug: #1244742
Diffstat (limited to 'ironic/cmd/api.py')
-rw-r--r--ironic/cmd/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ironic/cmd/api.py b/ironic/cmd/api.py
index 49b159841..c9be768a7 100644
--- a/ironic/cmd/api.py
+++ b/ironic/cmd/api.py
@@ -38,8 +38,8 @@ def main():
ironic_service.prepare_service(sys.argv)
# Build and start the WSGI app
- host = CONF.ironic_api_bind_ip
- port = CONF.ironic_api_port
+ host = CONF.api.host_ip
+ port = CONF.api.port
wsgi = simple_server.make_server(
host, port,
app.VersionSelectorApplication())