wwndesc  1.0-76
IBM500507630Description Class Reference

IBM500507630 covers the following types: More...

Inheritance diagram for IBM500507630Description:
Collaboration diagram for IBM500507630Description:

Public Member Functions

 IBM500507630Description (String wwn)
 create an instance with brief set to false. More...
 
 IBM500507630Description (boolean brief, String wwn)
 create an instance with the given WWN. More...
 
String toString ()
 return a description or alias for this WWN More...
 
- Public Member Functions inherited from WWNDesc.WWNDescTarget
 WWNDescTarget (String wwn)
 create an instance with brief set to false. More...
 
 WWNDescTarget (boolean brief, String wwn)
 create an instance with the given WWN. More...
 
- Public Member Functions inherited from WWNDesc
 WWNDesc (String wwn)
 create an instance with brief set to false. More...
 
 WWNDesc (boolean brief, String wwn)
 create an instance with the given WWN. More...
 
 WWNDesc (boolean brief, String wwn, DevRole role)
 create an instance with the given WWN. More...
 
String descPort ()
 describe the WWPN's unique port label/index More...
 
String toString ()
 describe the WWN: produce a short (shorter if this.brief = true) description suitable for use as an alias for this WWN More...
 

Static Public Member Functions

static WWNDesc getDesc (boolean strong, boolean brief, String wwn)
 If this class matches or describes the given WWN, returns a new instance of this class loaded with the given WWN. More...
 
static WWNDesc getDesc (boolean strong, boolean brief, String wwn, int role)
 If this class matches or describes the given WWN, returns a new instance of this class loaded with the given WWN. More...
 
- Static Public Member Functions inherited from WWNDesc.WWNDescTarget
static boolean isA (int role)
 convenience function to use bit-masks to check for membership in this role More...
 

Additional Inherited Members

- Protected Attributes inherited from WWNDesc
boolean brief
 whether a more brief output should be offered in toString() (ie the difference between "VMax-HK192601234-12gB" and "VMax-1234-12gB") . More...
 
DevRole role = DevRole.TARGET
 role of the device: Target, Switch, Initiator
 
BigInteger wwn
 the WWN that the instance tried to describe
 

Detailed Description

IBM500507630 covers the following types:

  • 1750 DS6000 500507630zFExxxx 500507630zyyxxxx
  • 2105 ESS or Shark 5005076300c0xxxx 5005076300yyxxxx
  • 2107 DS8000 500507630zFFxxxx 500507630zyyyxxx
See also
http://aussiestorageblog.files.wordpress.com/2013/01/ibm-storage-systems-wwpn-determination-version-6-6.pdf
http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/TD105450
http://linuxvm.org/present/SHARE100/S9333NFa.pdf seems to imply that 50050763004029a0 is actually a tape ID within a IBM 3590(E) tape library

Definition at line 22 of file IBM500507630Description.java.

Constructor & Destructor Documentation

IBM500507630Description ( String  wwn)
inline

create an instance with brief set to false.

This is a convenience function to support the older constructor model

Exceptions
java.lang.NullPointerExceptionif the given wwn is null
Parameters
wwnthe WWN to evaluate and describe

Definition at line 25 of file IBM500507630Description.java.

Referenced by IBM500507630Description.getDesc().

IBM500507630Description ( boolean  brief,
String  wwn 
)
inline

create an instance with the given WWN.

Values given to the constructor are simply copied to internal variables for later use

Exceptions
java.lang.NullPointerExceptionif the given wwn is null
Parameters
briefwhether an abbreviated description is requested
wwnthe WWN to evaluate and describe

Definition at line 30 of file IBM500507630Description.java.

Member Function Documentation

static WWNDesc getDesc ( boolean  strong,
boolean  brief,
String  wwn 
)
inlinestatic

If this class matches or describes the given WWN, returns a new instance of this class loaded with the given WWN.

Returns
new instance of this class, or null if the given wwn does not match this class
Parameters
strongis ignored: this class is a strong representation, not a weak one based on empirical matching, hence can always be used with confidence
briefis ignored: this class has only one representation of the WWN description or alias
wwnthe WWN (WWPN or WWNN, but typically WWPN) to match

Definition at line 43 of file IBM500507630Description.java.

References DevRole.max.

static WWNDesc getDesc ( boolean  strong,
boolean  brief,
String  wwn,
int  role 
)
inlinestatic

If this class matches or describes the given WWN, returns a new instance of this class loaded with the given WWN.

Returns
new instance of this class, or null if the given wwn does not match this class
Parameters
strongis ignored: this class is a strong representation, not a weak one based on empirical matching, hence can always be used with confidence
briefis ignored: this class has only one representation of the WWN description or alias
wwnthe WWN (WWPN or WWNN, but typically WWPN) to match
roleRole (Initiator/Switch/Target) to check for

Definition at line 51 of file IBM500507630Description.java.

References IBM500507630Description.IBM500507630Description(), and WWNDesc.WWNDescTarget.isA().

Here is the call graph for this function:

String toString ( )
inline

return a description or alias for this WWN

Returns
generated alias or nickname for the WWN

Definition at line 66 of file IBM500507630Description.java.

References WWNDesc.wwn.


The documentation for this class was generated from the following file: