ironic/ironic
Kaifeng Wang 07a7a269bb Fix console auto port allocation under IPv6
By default _verify_port() only works for IPv4 network, the same port can be
allocated to multiple nodes in a IPv6 network because the port checking
passed and be used for other nodes.

This fix passes the socat_address to the port validation and use the
correct address family to do the socket binding.

Story: 2007946
Task: 40412

Change-Id: I1355afaa551baee7b9fd7883d2d29342d059c5a0
2020-08-05 22:46:24 +08:00
..
api Convert root controller to plain controller 2020-07-30 07:37:31 +12:00
cmd Fix pep8 2020-05-12 15:37:38 +02:00
common Merge "Use TLS for json_rpc when configured" 2020-07-31 11:04:10 +00:00
conductor Merge "Reset power state upon adoption failure" 2020-07-30 11:21:52 +00:00
conf Merge "Deprecate http_basic_username and http_basic_password in [json_rpc]" 2020-07-28 19:14:00 +00:00
db Merge "Allow node lessee to see node's ports" 2020-07-24 15:06:16 +00:00
dhcp Replace oslo_utils.netutils type compares with ipaddress 2020-07-17 17:05:54 -07:00
drivers Fix console auto port allocation under IPv6 2020-08-05 22:46:24 +08:00
hacking Fix the remaining hacking issues 2020-03-31 13:40:00 +00:00
objects Merge "Allow node lessee to see node's ports" 2020-07-24 15:06:16 +00:00
tests Fix console auto port allocation under IPv6 2020-08-05 22:46:24 +08:00
__init__.py Move eventlet monkey patch code 2017-03-02 13:48:18 +02:00
version.py Correct version.py and update current version string 2014-03-21 13:50:05 -07:00