Add ironic standlaone test with ipmi dynamic driver

This patch adds the following ironic standalone tests:
  * ipmi + wholedisk_image + bios
  * ipmi + partitioned_image + bios

Change-Id: I99b7dd23eab7e7c0a6c621c800e98c7c786e1244
Depends-On: I348a27a13d3025fe7e8ddfa31992b895a3809730
This commit is contained in:
Vasyl Saienko 2017-02-28 21:28:17 +02:00
parent e48375538c
commit 3648f060ed

View File

@ -68,3 +68,27 @@ class BaremetalPxeIpmitoolPartitioned(bsm.BaremetalStandaloneScenarioTest):
@test.services('image', 'network')
def test_ip_access_to_server(self):
self.ping_ip_address(self.node_ip, should_succeed=True)
class BaremetalIpmiWholedisk(bsm.BaremetalStandaloneScenarioTest):
driver = 'ipmi'
image_ref = CONF.baremetal.whole_disk_image_ref
wholedisk_image = True
@test.idempotent_id('c2db24e7-07dc-4a20-8f93-d4efae2bfd4e')
@test.services('image', 'network')
def test_ip_access_to_server(self):
self.ping_ip_address(self.node_ip, should_succeed=True)
class BaremetalIpmiPartitioned(bsm.BaremetalStandaloneScenarioTest):
driver = 'ipmi'
image_ref = CONF.baremetal.partition_image_ref
wholedisk_image = False
@test.idempotent_id('7d0b205e-edbc-4e2d-9f6d-95cd74eefecb')
@test.services('image', 'network')
def test_ip_access_to_server(self):
self.ping_ip_address(self.node_ip, should_succeed=True)