class Hpe3parSdk::Policy

Attributes

caching[RW]
type - Boolean

This is a read-only policy and cannot be set. true: Indicates that the storage system is enabled for write caching, read caching, and read ahead for the volume. false: Indicates that the storage system is disabled for write caching, read caching, and read ahead for the volume.

fsvc[RW]
[type - Boolean]
true: Stale snapshots. If there is no space for a copyon-

write operation, the snapshot can go stale but the host write proceeds without an error. false: No stale snapshots. If there is no space for a copy-on-write operation, the host write fails.

host_dif[RW]
type - Number

Type of host based DIF policy. - Hpe3parSdk::VolumeHostDIF

one_host[RW]
type - Boolean

true: Indicates a volume is constrained to export to one host or one host cluster. false: Indicates a volume exported to multiple hosts for use by a cluster-aware application, or when port presents VLUNs are used

stale_ss[RW]
type - Boolean

true: Stale snapshots. If there is no space for a copyon- write operation, the snapshot can go stale but the host write proceeds without an error. false: No stale snapshots. If there is no space for a copy-on-write operation, the host write fails.

system[RW]
type - Boolean

true: Special volume used by the system. false: Normal user volume.

zero_detect[RW]
type - Boolean

true: Indicates that the storage system scans for zeros in the incoming write data. false: Indicates that the storage system does not scan for zeros in the incoming write data.

Public Class Methods

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

  self.stale_ss = object_hash['staleSS']

  self.one_host = object_hash['oneHost']

  self.zero_detect = object_hash['zeroDetect']

  self.system = object_hash['system']

  self.caching = object_hash['caching']

  self.fsvc = object_hash['fsvc']

  self.host_dif = object_hash['hostDIF']

end