summaryrefslogtreecommitdiff
path: root/ironic_python_agent/cmd
diff options
context:
space:
mode:
authorNaohiro Tamura <naohirot@jp.fujitsu.com>2015-09-23 14:08:42 +0900
committerNaohiro Tamura <naohirot@jp.fujitsu.com>2015-09-23 14:11:29 +0900
commitcae39ae14dc951eb3f8d560ab56e1ea87f4b6e72 (patch)
tree273fc51b38e45b5d3bd165fad72a2140f61c20ed /ironic_python_agent/cmd
parent19d21eb9990c58021a5bb20e252f22bd0459587a (diff)
downloadironic-python-agent-cae39ae14dc951eb3f8d560ab56e1ea87f4b6e72.tar.gz
Fix default ironic api port number
This patch corrects the default ironic api port number to 6385 from 6835. The default value of 'ipa-api-url' is not used in production environment since conductor and bare metal node have its own IP address, but could be used in development environment. Therefor this patch fixes this trivial error. - default=APARAMS.get('ipa-api-url', 'http://127.0.0.1:6835'), + default=APARAMS.get('ipa-api-url', 'http://127.0.0.1:6385'), Change-Id: Idb85e95b354a68111f94e8cddd5c1b6227e676ef
Diffstat (limited to 'ironic_python_agent/cmd')
-rw-r--r--ironic_python_agent/cmd/agent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic_python_agent/cmd/agent.py b/ironic_python_agent/cmd/agent.py
index eb97cff6..c1fd6943 100644
--- a/ironic_python_agent/cmd/agent.py
+++ b/ironic_python_agent/cmd/agent.py
@@ -28,7 +28,7 @@ APARAMS = utils.get_agent_params()
cli_opts = [
cfg.StrOpt('api_url',
- default=APARAMS.get('ipa-api-url', 'http://127.0.0.1:6835'),
+ default=APARAMS.get('ipa-api-url', 'http://127.0.0.1:6385'),
deprecated_name='api-url',
help='URL of the Ironic API'),