Commit Graph

6 Commits (c1a8606095d4021c0f484d2bfa86fc15602503eb)

Author SHA1 Message Date
Shivanand Tendulker 229baafaf3 Refactor iLO driver console interface into new module
This commit moves IloConsoleInterface class to separate file.

Change-Id: I143064efdba9f3056c7f980d36a88ef1e9a793fa
Implements: blueprint ilo-driver-uses-boot-interface
2015-11-13 06:23:20 -08:00
Shuquan Huang dd7d2f5ab2 Add missing unit tests for some PXE drivers
Some of the pxe_* drivers don't have unit tests, while some others have.
Unit tests need to be available for other drivers as well.

Change-Id: I6be2d65c00e575bb0df7309f0e891fdf37cb731f
Closes-bug: #1512966
2015-11-06 13:10:16 +00:00
Ramakrishnan G c6b64f77f1 Add self.raid for iSCSI based drivers
This commit adds self.raid = agent.AgentRAID()
for the drivers pxe_ipmitool, pxe_ipminative, pxe_ssh,
pxe_ilo, pxe_vbox. The same was done for agent drivers in
Ifa640d4839b2f08410ceec57c2972e2f9dc69db3.

It also adds test cases for these drivers which were
missing.

Change-Id: I5e7046ec56dd851a197da8571bd933cabd3dd210
Implements: blueprint inband-raid-configuration
2015-10-16 05:15:13 +00:00
Ramakrishnan G 041323ad70 Move test_pxe.py inside unit/drivers/modules directory
This commit moves ironic/tests/unit/drivers/test_pxe.py
to ironic/tests/unit/drivers/modules/test_pxe.py.

Other files in ironic/tests/unit/drivers were moved as part
of commit Ic5c2e4143ad76e9d910a4361483dc09145dc1dff. This seems
to have been missed out.

Change-Id: Ib8716f01aa3450629f081f6821a3f319061c4752
2015-10-16 05:00:45 +00:00
Shivanand Tendulker 00bae0d974 Move pxe._parse_instance_info() to deploy_utils
This commit moves function pxe._parse_instance_info() to
deploy_utils.py so that iLO drivers can use it.

Change-Id: If8092e5ae2ab9e0232fd595ee3be59b232ecb64c
Implements: blueprint new-boot-interface
2015-10-15 19:08:04 +00:00
John L. Villalovos f350d87af8 Prepare for functional testing
Prepare for functional testing by creating two new directories:
  * ironic/tests/unit
  * ironic/tests/functional

Move all files currently in ironic/tests/* to ironic/tests/unit/

Update imports from 'ironic.tests.YYY' to 'ironic.tests.unit.YYY'

Fix any PEP8 issues due to longer lines

Partial-Bug: #1491670
Change-Id: I1166f20adf8c84b2042b62e348926502a4851e08
2015-09-28 21:27:01 +00:00