Users Guide

Table Of Contents
username: "username"
password: "password"
state: "present"
controller_id: "RAID.Slot.1-1"
volume_type: "NonRedundant"
drives:
- Disk.Bay.1:Enclosure.Internal.0-1:RAID.Slot.1-1
- name: Modify a volume's encryption type settings.
redfish_storage_volume:
baseuri: "192.168.0.1"
username: "username"
password: "password"
state: "present"
volume_id: "Disk.Virtual.5:RAID.Slot.1-1"
encryption_types: "ControllerAssisted"
encrypted: true
- name: Delete an existing volume.
redfish_storage_volume:
baseuri: "192.168.0.1"
username: "username"
password: "password"
state: "absent"
volume_id: "Disk.Virtual.5:RAID.Slot.1-1"
- name: Initialize an existing volume.
redfish_storage_volume:
baseuri: "192.168.0.1"
username: "username"
password: "password"
command: "initialize"
volume_id: "Disk.Virtual.6:RAID.Slot.1-1"
initialize_type: "Slow"
Manage device power state
Module: redfish_powerstate
Synopsis
This module allows to manage the different power states of the specified device.
Options
Table 67. redfish_powerstate
Parameter Required Default Choices Comments
baseuri True NA NA IP address of the
target out-of-band
controller. For example-
<ipaddress>:<port>
username True NA NA Username of the target
out-of-band controller.
password True NA NA Password of the target
out-of-band controller.
reset_type True NA "ForceOff", "ForceOn",
"ForceRestart",
"GracefulRestart",
"GracefulShutdown",
"Nmi", "On",
"PowerCycle", or
"PushPowerButton"
This option resets the
device.
C(ForceOff): Turns
off the device
immediately.
C(ForceOn): Turns
on the device
immediately.
120 Modules for Redfish APIs