class Hpe3parSdk::ISCSIPortInfo

Attributes

gateway[RW]
type - String

IP address of the gateway.

ip_addr[RW]
type - String

iSCSI port only, not included in the JSON object for other ports.

iscsi_name[RW]
type - String

iSCSI port only, not included in the JSON object for other ports.

isns_addr[RW]
type - String

iSNS server IP address.

isns_port[RW]
type - Number

TCP port number for the iSNS server.

mtu[RW]
type - Number

MTU size in bytes.

netmask[RW]
type - String

Netmask for Ethernet port.

rate[RW]
type - String

Data transfer rate for the iSCSI port

stgt[RW]
type - Boolean

Send Targets Group Tag of the iSCSI target

tpgt[RW]
type - Number

Target portal group tag.

vlans[RW]
type - Boolean

Indicates whether the port supports VLANs.

Public Class Methods

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

  self.ip_addr = object_hash['ipAddr']

  self.iscsi_name = object_hash['iSCSIName']

  self.netmask = object_hash['netmask']

  self.gateway = object_hash['gateway']

  self.mtu = object_hash['mtu']

  self.stgt = object_hash['stgt']

  self.isns_port = object_hash['iSNSPort']

  self.isns_addr = object_hash['iSNSAddr']

  self.rate = object_hash['rate']

  self.tpgt = object_hash['tpgt']

  self.vlans = object_hash['vlans']

end