SmartArray Class Reference
Inherits _iplugin::IPlugin.
Detailed Description
Definition at line 239 of file hpsa.py.
Member Function Documentation
def capabilities |
( |
|
self, |
|
|
|
system, |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
def disks |
( |
|
self, |
|
|
|
search_key = None , |
|
|
|
search_value = None , |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
Depend on command:
hpssacli ctrl all show config detail
Definition at line 474 of file hpsa.py.
def job_free |
( |
|
self, |
|
|
|
job_id, |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
def job_status |
( |
|
self, |
|
|
|
job_id, |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
def plugin_info |
( |
|
self, |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
def plugin_register |
( |
|
self, |
|
|
|
uri, |
|
|
|
password, |
|
|
|
timeout, |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
def plugin_unregister |
( |
|
self, |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
def pool_member_info |
( |
|
self, |
|
|
|
pool, |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
Depend on command:
hpssacli ctrl slot=0 show config detail
Definition at line 557 of file hpsa.py.
def pools |
( |
|
self, |
|
|
|
search_key = None , |
|
|
|
search_value = None , |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
Depend on command:
hpssacli ctrl all show config detail
Definition at line 381 of file hpsa.py.
def systems |
( |
|
self, |
|
|
|
flags = 0 | |
|
) |
| | |
Depend on command:
hpssacli ctrl all show detail
hpssacli ctrl all show status
Definition at line 333 of file hpsa.py.
def time_out_get |
( |
|
self, |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
def time_out_set |
( |
|
self, |
|
|
|
ms, |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
def volume_raid_create |
( |
|
self, |
|
|
|
name, |
|
|
|
raid_type, |
|
|
|
disks, |
|
|
|
strip_size, |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
Depends on these commands:
1. Create LD
hpssacli ctrl slot=0 create type=ld \
drives=1i:1:13,1i:1:14 size=max raid=1+0 ss=64
2. Find out the system ID.
3. Find out the pool fist disk belong.
hpssacli ctrl slot=0 pd 1i:1:13 show
4. List all volumes for this new pool.
self.volumes(search_key='pool_id', search_value=pool_id)
The 'name' argument will be ignored.
TODO(Gris Ge): These code only tested for creating 1 disk RAID 0.
Definition at line 635 of file hpsa.py.
def volume_raid_create_cap_get |
( |
|
self, |
|
|
|
system, |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
Depends on this command:
hpssacli ctrl slot=0 show config detail
All hpsa support RAID 1, 10, 5, 50.
If "RAID 6 (ADG) Status: Enabled", it will support RAID 6 and 60.
For HP tribile mirror(RAID 1adm and RAID10adm), LSM does support
that yet.
No command output or document indication special or exceptional
support of strip size, assuming all hpsa cards support documented
strip sizes.
Definition at line 616 of file hpsa.py.
def volume_raid_info |
( |
|
self, |
|
|
|
volume, |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
Depend on command:
hpssacli ctrl slot=0 show config detail
Definition at line 509 of file hpsa.py.
def volumes |
( |
|
self, |
|
|
|
search_key = None , |
|
|
|
search_value = None , |
|
|
|
flags = Client.FLAG_RSVD | |
|
) |
| | |
Depend on command:
hpssacli ctrl all show config detail
Definition at line 429 of file hpsa.py.
The documentation for this class was generated from the following file: