Add iDRAC Redfish virtual media boot deploy test

Change-Id: Ic2a46779e9ab5d0706fbbde0d6067b6b85e48add
This commit is contained in:
Swapnil Machikar 2022-06-10 13:56:26 +00:00
parent c4a2e5e139
commit b1c8a2b86f
1 changed files with 19 additions and 0 deletions

View File

@ -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 @@ class BaremetalIpmiDirectPxeWholedisk(
@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()