Listen on :: by default
On most target systems it will make it available on both V4 and V6. Change-Id: Ie918bc8572ff7f0ce2712cbb248e8ee9bf4c3d20
This commit is contained in:
parent
bd16d80005
commit
6a8d46b33b
@ -4,8 +4,8 @@
|
||||
Bare Metal Introspection API
|
||||
============================
|
||||
|
||||
By default **ironic-inspector** listens on ``0.0.0.0:5050``, port
|
||||
can be changed in configuration. Protocol is JSON over HTTP.
|
||||
By default **ironic-inspector** listens on ``[::]:5050``, host and port
|
||||
can be changed in the configuration file. Protocol is JSON over HTTP.
|
||||
|
||||
.. rest_expand_all::
|
||||
|
||||
|
@ -319,7 +319,6 @@ function configure_inspector {
|
||||
configure_auth_token_middleware $IRONIC_INSPECTOR_CONF_FILE $IRONIC_INSPECTOR_ADMIN_USER $IRONIC_INSPECTOR_AUTH_CACHE_DIR/api
|
||||
|
||||
inspector_iniset DEFAULT listen_port $IRONIC_INSPECTOR_PORT
|
||||
inspector_iniset DEFAULT listen_address 0.0.0.0 # do not change
|
||||
|
||||
inspector_iniset pxe_filter driver $IRONIC_INSPECTOR_DHCP_FILTER
|
||||
inspector_iniset iptables dnsmasq_interface $IRONIC_INSPECTOR_INTERFACE
|
||||
|
@ -20,7 +20,7 @@ from ironic_inspector.common.i18n import _
|
||||
|
||||
_OPTS = [
|
||||
cfg.StrOpt('listen_address',
|
||||
default='0.0.0.0',
|
||||
default='::',
|
||||
help=_('IP to listen on.')),
|
||||
cfg.PortOpt('listen_port',
|
||||
default=5050,
|
||||
|
5
releasenotes/notes/listen-v6-effec95455e900f8.yaml
Normal file
5
releasenotes/notes/listen-v6-effec95455e900f8.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
API now listens on ``::`` by default, change the ``listen_address``
|
||||
configuration option to modify.
|
Loading…
Reference in New Issue
Block a user