Follow-up changes to iRMC bios interface.

Minor formatting and fix-ups for the iRMC bios interface
addition patch.

Update new scciclient version which will support this feature
for newer iRMC server versions.

Co-Authored-By: Nguyen Van Trung <trungnv@vn.fujitsu.com>
Change-Id: I6cfe8175e687d6a900a17b31e75459d8b01a8edb
This commit is contained in:
Julia Kreger 2018-07-12 12:29:21 -07:00 committed by Nguyen Van Trung
parent fa59565be0
commit 72f7a70184
5 changed files with 47 additions and 48 deletions
doc/source/admin/drivers
driver-requirements.txt
ironic/tests/unit/drivers
releasenotes/notes

@ -18,7 +18,7 @@ Prerequisites
* Install `python-scciclient <https://pypi.org/project/python-scciclient>`_ * Install `python-scciclient <https://pypi.org/project/python-scciclient>`_
and `pysnmp <https://pypi.org/project/pysnmp>`_ packages:: and `pysnmp <https://pypi.org/project/pysnmp>`_ packages::
$ pip install "python-scciclient>=0.7.1" pysnmp $ pip install "python-scciclient>=0.7.2" pysnmp
Hardware Type Hardware Type
============= =============
@ -101,7 +101,7 @@ Here is a command example to enroll a node with ``irmc`` hardware type.
.. code-block:: console .. code-block:: console
openstack baremetal node create --os-baremetal-api-version=1.31 \ openstack baremetal node create \
--bios-interface irmc \ --bios-interface irmc \
--boot-interface irmc-pxe \ --boot-interface irmc-pxe \
--deploy-interface direct \ --deploy-interface direct \

@ -8,7 +8,7 @@ proliantutils>=2.5.0
pysnmp pysnmp
python-ironic-inspector-client>=1.5.0 python-ironic-inspector-client>=1.5.0
python-oneviewclient<3.0.0,>=2.5.2 python-oneviewclient<3.0.0,>=2.5.2
python-scciclient>=0.7.1 python-scciclient>=0.7.2
python-ilorest-library>=2.1.0 python-ilorest-library>=2.1.0
hpOneView>=4.4.0 hpOneView>=4.4.0
UcsSdk==0.8.2.2 UcsSdk==0.8.2.2

@ -30,7 +30,6 @@ class IRMCBIOSTestCase(test_common.BaseIRMCTest):
def setUp(self): def setUp(self):
super(IRMCBIOSTestCase, self).setUp() super(IRMCBIOSTestCase, self).setUp()
self.config(enabled_bios_interfaces=['irmc'])
@mock.patch.object(irmc_common, 'parse_driver_info', @mock.patch.object(irmc_common, 'parse_driver_info',
autospec=True) autospec=True)

@ -167,7 +167,7 @@ class IRMCHardwareTestCase(db_base.DbTestCase):
self.context, driver='irmc', self.context, driver='irmc',
deploy_interface='direct', deploy_interface='direct',
rescue_interface='agent', rescue_interface='agent',
bios_interface='irmc') bios_interface='no-bios')
with task_manager.acquire(self.context, node.id) as task: with task_manager.acquire(self.context, node.id) as task:
self.assertIsInstance(task.driver.boot, self.assertIsInstance(task.driver.boot,
irmc.boot.IRMCVirtualMediaBoot) irmc.boot.IRMCVirtualMediaBoot)
@ -182,6 +182,6 @@ class IRMCHardwareTestCase(db_base.DbTestCase):
self.assertIsInstance(task.driver.power, self.assertIsInstance(task.driver.power,
irmc.power.IRMCPower) irmc.power.IRMCPower)
self.assertIsInstance(task.driver.bios, self.assertIsInstance(task.driver.bios,
irmc_bios.IRMCBIOS) noop.NoBIOS)
self.assertIsInstance(task.driver.rescue, self.assertIsInstance(task.driver.rescue,
agent.AgentRescue) agent.AgentRescue)

@ -1,6 +1,6 @@
--- ---
features: features:
- | - |
Adds new ``bios`` interface to ``irmc`` hardware type. And provide Adds new ``bios`` interface to ``irmc`` hardware type. This provides
out-of-band BIOS configuration solution for iRMC driver which makes out-of-band BIOS configuration solution for iRMC driver which makes
the functionality available via manual cleaning. the functionality available via manual cleaning.