From cae39ae14dc951eb3f8d560ab56e1ea87f4b6e72 Mon Sep 17 00:00:00 2001 From: Naohiro Tamura Date: Wed, 23 Sep 2015 14:08:42 +0900 Subject: 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 --- ironic_python_agent/cmd/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ironic_python_agent/cmd') 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'), -- cgit v1.2.1