IBM::StorageSystem::Export - Class for operations with a IBM StorageSystem logical export entity
Version 0.01
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 a listing of all configured exports containing the export name, the export path, # the export protocol and the export status. printf( "%-20s%-40s%-10s%-10s\n", 'Name', 'Path', 'Protocol', 'Active' ); foreach my $export ( $ibm->get_exports ) { print '-'x100,"\n"; printf( "%-20s%-40s%-10s%-10s\n", $export->name, $export->path, $export->protocol, $export->active ) } # Prints something like: # #Name Path Protocol Active # ---------------------------------------------------------------------------------------------------- # homes_root /ibm/fs1/homes NFS true # ---------------------------------------------------------------------------------------------------- # shares_root /ibm/fs1/shares NFS true # ---------------------------------------------------------------------------------------------------- # test /ibm/fs1/test CIFS true # ---------------------------------------------------------------------------------------------------- # ... etc.
Returns the export name.
Returns the export path relative to the local file system.
Returns the export protocol (e.g. NFS, CIFS, etc.).
Returns the export status.
Returns a timestamp of the last time at which the export status and detail was internally checked and verified.
Returns the export options - for a CIFS export this includes the export root ACL and ownership, for an NFS export this includes all NFS options.
Luke Poskitt, <ltp at cpan.org>
<ltp at cpan.org>
Please report any bugs or feature requests to bug-ibm-v7000-export at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IBM-StorageSystem-Export. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-ibm-v7000-export at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc IBM::StorageSystem::Export
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=IBM-StorageSystem-Export
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/IBM-StorageSystem-Export
CPAN Ratings
http://cpanratings.perl.org/d/IBM-StorageSystem-Export
Search CPAN
http://search.cpan.org/dist/IBM-StorageSystem-Export/
Copyright 2013 Luke Poskitt.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install IBM::StorageSystem, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IBM::StorageSystem
CPAN shell
perl -MCPAN -e shell install IBM::StorageSystem
For more information on module installation, please visit the detailed CPAN module installation guide.