API Guide
Table Of Contents
- Dell EMC OpenManage Python Software Development Kit Version 1.0 API Reference Guide
- Introduction to OpenManage python software development toolkit
- Installation and Uninstallation of OMPSDK
- OpenManage Python SDK API introduction
- OpenManage Python SDK API list
- Monitoring API list
- Administration tasks API list
- Export and Import Tasks API list
- Server iDRAC Settings Configuration API list
- Boot Settings Configuration API list
- RAID Configuration API list
- iDRAC LC Jobs API list
- iDRAC LC Status Check API list
- OpenManage Python SDK API list
- Getting Started
Table 141. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDforeignConfig
ENUM
RAIDforeignConfigTypes.Clear
RAIDforeignConfigTypes.Ignore
RAIDforeignConfigTypes.Import
Description Allows you to set the external configuration types.
Table 142. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDreconstructRate
Number User defined RAID reconstruct rate.
Description Allows you to set the RAID reconstruct rate.
Table 143. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDccMode
ENUM
RAIDccModeTypes.Normal
RAIDccModeTypes.StopOnError
Description Allows you to configure the CC mode.
Table 144. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
n_disks
Number User defined
Description Allows you to set the number of disks in the RAID array.
Example:
#Set liason share
myshare = FileOnShare(remote="<IP OR HOSTNAME>:/<NFS-SHARE-PATH>/<FILE-NAME>",
mount_point='Z:\', isFolder=False,
creds=UserCredentials(<USERNAME>, <PASSWORD>))
liason_share_status = idrac.config_mgr.set_liason_share(myshare)
idrac.config_mgr.RaidHelper.new_virtual_disk
(
# VirtualDisk parameters
Name="Virtual_Drive_0",
SpanDepth=1,
SpanLength=3,
NumberDedicatedHotSpare=1,
NumberGlobalHotSpare=1,
RAIDTypes=RAIDTypesTypes.RAID_5,
RAIDaction=RAIDactionTypes.Create,
RAIDinitOperation=RAIDinitOperationTypes.T_None,
DiskCachePolicy=DiskCachePolicyTypes.Default,
RAIDdefaultWritePolicy=RAIDdefaultWritePolicyTypes.WriteThrough,
RAIDdefaultReadPolicy=RAIDdefaultReadPolicyTypes.NoReadAhead,
StripeSize=64 * 1024,
# disk filter
#PhysicalDiskFilter = 'disk.MediaType == "HDD" and (disk.Size > 200)
and (disk.parent.parent is Controller and "H730" in
disk.parent.parent.ProductName._value)',
# Controller Params
RAIDcopybackMode=RAIDcopybackModeTypes.On,
RAIDEnhancedAutoImportForeignConfig=RAIDEnhancedAutoImportForeignConfigTypes.Disabled,
RAIDresetConfig=RAIDresetConfigTypes.T_False,
RAIDbgiRate="30",
RAIDprMode=RAIDprModeTypes.Automatic,
RAIDrebuildRate="30",
OpenManage Python SDK API introduction
45