class Hpe3parSdk::VLUN

Attributes

active[RW]
type - Boolean

Specified if the VLUN is an active VLUN or a VLUN template.

failed_path_interval[RW]
type - Number

Monitoring interval in seconds after which the host checks for failed paths.

failed_path_pol[RW]
type - Hpe3parSdk::VLUNfailedPathPol

Failed path monitoring method.

host_device_name[RW]
type - String

The device name for this VLUN on the host.

hostname[RW]
type - String

Host name or host set name to which the VLUN is exported.

lun[RW]
type - Number

Exported LUN value.

multipathing[RW]
type - Hpe3parSdk::VlunMultipathing

Multipathing method in use.

port_pos[RW]
type - PortPos

System port of VLUN exported to. It includes node number, slot number, and cardPort number.

remote_name[RW]
type - String

Host WWN, or iSCSI name, or SAS address; depends on port type.

type[RW]
type - Hpe3parSdk::VlunType

VLUN type.

volume_name[RW]
type - String

Name of exported virtual volume name or VV-set name.

volume_wwn[RW]
type - String

WWN of exported volume. If a VV set is exported, this value is null.

Public Class Methods

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

  self.lun = object_hash['lun']

  self.volume_name = object_hash['volumeName']

  self.hostname = object_hash['hostname']

  self.remote_name = object_hash['remoteName']

  !object_hash['portPos'].nil? ? self.port_pos = PortPos.new(object_hash['portPos']) : self.port_pos = nil

  self.type = object_hash['type']

  self.volume_wwn = object_hash['volumeWWN']

  self.multipathing = object_hash['multipathing']

  self.failed_path_pol = object_hash['failedPathPol']

  self.failed_path_interval = object_hash['failedPathInterval']

  self.host_device_name = object_hash['hostDeviceName']

  self.active = object_hash['active']

end