The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

IBM::StorageSystem::Enclosure::Canister - Class for operations with a IBM Storwize enclosure Canister

VERSION

Version 0.01

SYNOPSIS

IBM::StorageSystem::Enclosure::Canister is a utility class for operations with a IBM Storwize enclosure Canister.

        use IBM::StorageSystem;

        my $ibm = IBM::StorageSystem->new(      
                                        user            => 'admin',
                                        host            => 'my-v7000',
                                        key_path        => '/path/to/my/.ssh/private_key'
                        ) or die "Couldn't create object! $!\n";

        # Print the WWNN of the first canister in the first enclosure.
        print $ibm->enclosure(1)->canister(1)->WWNN;

        # Print the temperatures of all canisters in this enclosure.
        map { print "Canister ", $_->canister_id, " temperature: ", $_->temperature } $enclosure->get_canisters;

FRU_identity

Returns the Field Replaceable Unit (FRU) identity number for the specified canister.

FRU_part_number

Returns the Field Replaceable Unit part number of the specified canister.

SAS_port_1_status

Returns the status of the first SAS port.

SAS_port_2_status

Returns the status of the second SAS port.

SES_status

Returns the SCSI Enclosure Services (SES) status of the specified canister.

WWNN

Returns the World Wide Node Name (WWNN) of the specified canister.

canister_id

Returns the numerical identifier of the specified canister.

enclosure_id

Returns the numerical identifier of the enclosure in which the specified canister resides.

error_sequence_number

Returns the most recent error sequence number (if present).

fault_LED

Returns the state of the canister fault LED.

firmware_level

Returns the firmware level of the specified canister.

firmware_level_2

Returns the level 2 firmware code of the specified canister.

firmware_level_3

Returns the level 3 firmware code of the specified canister.

firmware_level_4

Returns the level 4 firmware code of the specified canister.

firmware_level_5

Returns the level 5 firmware code of the specified canister.

node_id

Returns the numerical node identifier of node in which the specified canister resides.

node_name

Returns the name of the node in which this canister resides.

status

Returns the operational status of specified canister.

temperature

Returns the temperature in degrees Celcius of the specified canister.

type

Returns the specified canister type.