From 3648f060ed2647aaf522ba8740a9285954fed795 Mon Sep 17 00:00:00 2001 From: Vasyl Saienko Date: Tue, 28 Feb 2017 21:28:17 +0200 Subject: [PATCH] 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 --- .../ironic_standalone/test_basic_ops.py | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/ironic_tempest_plugin/tests/scenario/ironic_standalone/test_basic_ops.py b/ironic_tempest_plugin/tests/scenario/ironic_standalone/test_basic_ops.py index 4def3fa4b6..509813bfb3 100644 --- a/ironic_tempest_plugin/tests/scenario/ironic_standalone/test_basic_ops.py +++ b/ironic_tempest_plugin/tests/scenario/ironic_standalone/test_basic_ops.py @@ -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)