When enrolling Dell nodes, use drac_address instead of deprecated drac_host
Change-Id: Id08a1a3c439959b160377fe271af79f1b95ba978 Closes-Bug: #1695015
This commit is contained in:
parent
778cb61345
commit
628d4c61cb
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Stop relying on deprecated alias ``drac_host`` for the ``drac_address``
|
||||
field when enrolling Dell nodes.
|
|
@ -605,7 +605,7 @@ class NodesTest(base.TestCase):
|
|||
nodes.register_ironic_node(node, client=client)
|
||||
client.node.create.assert_called_once_with(
|
||||
driver='pxe_drac', name='node1', properties=node_properties,
|
||||
driver_info={'drac_password': 'random', 'drac_host': 'foo.bar',
|
||||
driver_info={'drac_password': 'random', 'drac_address': 'foo.bar',
|
||||
'drac_username': 'test', 'drac_port': '6230'})
|
||||
|
||||
def test_register_ironic_node_redfish(self):
|
||||
|
|
|
@ -224,8 +224,7 @@ class iBootDriverInfo(PrefixedDriverInfo):
|
|||
DRIVER_INFO = {
|
||||
# production drivers
|
||||
'(ipmi|.*_ipmitool)': PrefixedDriverInfo('ipmi', has_port=True),
|
||||
'.*_drac': PrefixedDriverInfo('drac', address_field='host',
|
||||
has_port=True),
|
||||
'.*_drac': PrefixedDriverInfo('drac', has_port=True),
|
||||
'.*_ilo': PrefixedDriverInfo('ilo'),
|
||||
'.*_ucs': PrefixedDriverInfo(
|
||||
'ucs',
|
||||
|
|
Loading…
Reference in New Issue