Add iDRAC Redfish virtual media boot deploy test
Change-Id: Ic2a46779e9ab5d0706fbbde0d6067b6b85e48add
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 c12d3d7..8ad613f 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
@@ -1,6 +1,8 @@
#
# Copyright 2017 Mirantis Inc.
#
+# Copyright (c) 2022 Dell Inc. or its subsidiaries.
+#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
@@ -582,3 +584,20 @@
@decorators.idempotent_id('d68a38aa-b731-403a-9d40-b3b49ea75e9b')
def test_deploy_node(self):
self.boot_and_verify_node()
+
+
+class BaremetalIdracVirtualMediaWholedisk(
+ bsm.BaremetalStandaloneScenarioTest):
+
+ mandatory_attr = ['driver', 'boot_interface']
+ api_microversion = '1.31' # to set the deploy_interface
+ driver = 'idrac'
+ boot_interface = 'idrac-redfish-virtual-media'
+ image_ref = CONF.baremetal.whole_disk_image_ref
+ wholedisk_image = True
+ deploy_interface = 'direct'
+
+ @decorators.idempotent_id('b0bc87a5-4324-4134-bd5f-4bb1cf549e5c')
+ @utils.services('image', 'network')
+ def test_deploy_virtual_media_boot(self):
+ self.boot_and_verify_node()