SmartArray Class Reference

Inherits _iplugin::IPlugin.

Collaboration diagram for SmartArray:
Collaboration graph
[legend]

Public Member Functions

def __init__
def plugin_register
def plugin_unregister
def job_status
def job_free
def plugin_info
def time_out_set
def time_out_get
def capabilities
def systems
def pools
def volumes
def disks
def volume_raid_info
def pool_member_info
def volume_raid_create_cap_get
def volume_raid_create

Detailed Description

Definition at line 239 of file hpsa.py.


Member Function Documentation

def __init__ (   self  ) 

Definition at line 243 of file hpsa.py.

def capabilities (   self,
  system,
  flags = Client.FLAG_RSVD 
)

Definition at line 297 of file hpsa.py.

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 
)

Definition at line 281 of file hpsa.py.

def job_status (   self,
  job_id,
  flags = Client.FLAG_RSVD 
)

Definition at line 277 of file hpsa.py.

def plugin_info (   self,
  flags = Client.FLAG_RSVD 
)

Definition at line 285 of file hpsa.py.

def plugin_register (   self,
  uri,
  password,
  timeout,
  flags = Client.FLAG_RSVD 
)

Definition at line 260 of file hpsa.py.

def plugin_unregister (   self,
  flags = Client.FLAG_RSVD 
)

Definition at line 273 of file hpsa.py.

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 
)

Definition at line 293 of file hpsa.py.

def time_out_set (   self,
  ms,
  flags = Client.FLAG_RSVD 
)

Definition at line 289 of file hpsa.py.

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:

Generated on 9 Jul 2015 for libStorageMgmt by  doxygen 1.6.1