ironic/ironic
Kaifeng Wang b3721ce4ff Automatic port allocation for the serial console
Introduces [console]port_range configuration option and implements
the feature of automatic port allocation for IPMI based serial console.

The ipmi_terminal_port in driver_info takes precedance if specified,
otherwise ironic will allocate free port from configured port range
for underlying serial proxy tools.

The implementation deviation with the original proposal is this patch
doesn't validate whether user specified ipmi_terminal_port falls in the
range, based on following considerations:
a. ipmi_terminal_port is considered a resort for backwards compatibility,
we will remove this eventually.
b. different conductors may have different port range configured (rare,
but could happen).
c. force ipmi_terminal_port in the port range could raise the
possibility of conflicts with ports in the configured range, this is not
a desired result, so leave the choice to the end users.

Change-Id: If8722d09dc74878f4da2e4a7f059d9b079c3e472
Story: 2007099
Task: 38135
2020-02-10 16:09:12 +08:00
..
api Merge "Support node retirement" 2020-02-05 11:16:20 +00:00
cmd Remove old online migrations and new models 2019-09-27 13:23:03 +00:00
common Automatic port allocation for the serial console 2020-02-10 16:09:12 +08:00
conductor Automatic port allocation for the serial console 2020-02-10 16:09:12 +08:00
conf Automatic port allocation for the serial console 2020-02-10 16:09:12 +08:00
db Support node retirement 2020-01-28 11:01:32 +01:00
dhcp Stop using six library 2019-12-23 09:38:25 +01:00
drivers Automatic port allocation for the serial console 2020-02-10 16:09:12 +08:00
hacking Fix regex string in the hacking check 2019-06-06 14:42:58 +08:00
objects Support node retirement 2020-01-28 11:01:32 +01:00
tests Automatic port allocation for the serial console 2020-02-10 16:09:12 +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