class Hpe3parSdk::Port
Attributes
- type - Arry of string
-
Array of device name (cage0, host1, etc.) of the device connected to the port.
- type - String
-
Ethernet node MAC address.
- type -
Hpe3parSdk::PortFailOverState
-
The state of the failover operation, shown for the two ports indicated in the N:S:P and Partner columns.
- type - String
-
Hardware address for RCIP and iSCSI ports. Not included in JSON for other ports.
- type - String
-
For RCIP and iSCSI ports only; not included in the JSON object for other ports.
- type - String
-
For iSCSI port only; not included in the JSON object for other ports.
- type -
ISCSIPortInfo
-
Contains information related to iSCSI port properties.
- type - String
-
Configurable, human-readable label identifying the HBA port. Maximum length is 15 characters.
- type -
Hpe3parSdk::PortLinkState
-
port link state.
- type -
Hpe3parSdk::PortMode
-
port mode.
- type - String
-
Node WWN that is unique across all ports.
- type -
PortPos
-
Location of failover partner port in <Node><Slot><Port> format.
- type - String
-
PFC mask.
- type -
PortPos
-
port n:s:p.
- type - String
-
port WWN for FCoE and FC ports. Not included in JSON for other ports.
- type -
Hpe3parSdk::PortProtocol
-
Indicates the port protocol type.
- type -
Hpe3parSdk::PortConnType
-
port connection type.
Public Class Methods
# File lib/Hpe3parSdk/models.rb, line 925 def initialize(object_hash) if object_hash == nil return end !object_hash['portPos'].nil? ? self.port_pos = PortPos.new(object_hash['portPos']) : self.port_pos = nil self.mode = object_hash['mode'] self.linkState = object_hash['linkState'] self.nodewwn = object_hash['nodeWWN'] self.portwwn = object_hash['portWWN'] self.type = object_hash['type'] self.hwaddr = object_hash['HWAddr'] self.protocol = object_hash['protocol'] self.label = object_hash['label'] self.device = object_hash['device'] !object_hash['partnerPos'].nil? ? self.partner_pos = PortPos.new(object_hash['partnerPos']) : self.partner_pos = nil self.failover_state = object_hash['failoverState'] self.ip_addr = object_hash['IPAddr'] self.iscsi_name = object_hash['iSCSIName'] self.enode_macaddr = object_hash['enodeMACAddr'] self.pfcmask = object_hash['pfcMask'] !object_hash['iSCSIPortInfo'].nil? ? self.iscsi_portinfo = ISCSIPortInfo.new(object_hash['iSCSIPortInfo']) : self.iscsi_portinfo = nil end