class Hpe3parSdk::LDLayout

Attributes

chunklet_pos_pref[RW]
type - Number

Specifies the chunklet location preference characteristics. - Hpe3parSdk::CPGChunkletPosPref

disk_patterns[RW]
type - Array of DiskPattern objects

Specifies patterns for candidate disks.

ha[RW]
type - Number

Specifies that the layout must support the failure of one port pair, one cage, or one magazine. - Hpe3parSdk::CPGHA

raidtype[RW]
type - Number

Specifies the RAID type for the logical disk. - Hpe3parSdk::CPGRAIDType

set_size[RW]
type - Number

Specifies the set size in the number of chunklets.

Public Class Methods

new(object_hash) click to toggle source
# File lib/Hpe3parSdk/models.rb, line 1702
def initialize(object_hash)
  if object_hash == nil
    return
  end

  self.raidtype = object_hash['RAIDType']

  self.set_size = object_hash['setSize']

  self.ha = object_hash['HA']

  self.chunklet_pos_pref = object_hash['chunkletPosPref']

  self.disk_patterns = []
  if !object_hash['diskPatterns'].nil?
    object_hash['diskPatterns'].each do |disk_pattern|
      self.disk_patterns.push(DiskPattern.new(disk_pattern))
    end
  end
end