Skip to content

Commit cae39ae

Browse files
committed
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
1 parent 19d21eb commit cae39ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ironic_python_agent/cmd/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
cli_opts = [
3030
cfg.StrOpt('api_url',
31-
default=APARAMS.get('ipa-api-url', 'http://127.0.0.1:6835'),
31+
default=APARAMS.get('ipa-api-url', 'http://127.0.0.1:6385'),
3232
deprecated_name='api-url',
3333
help='URL of the Ironic API'),
3434

0 commit comments

Comments
 (0)