# $Id: //depot/prod/test/UM6.0_integ/lib/NACL/CS/DFM/DiskPhysicalSummaryDiskInfo.pm#1 $ # # Copyright (c) 2012 NetApp, Inc., All Rights Reserved # Any use, modification, or distribution is prohibited # without prior written consent from NetApp, Inc. ## @summary Disk ComponentState Module (auto-generated by CGT) ## @author vinothg, dl-mei-nacl-dev@netapp.com ## @status shared ## @pod here =head1 NAME NACL::CS::DFM::DiskPhysicalSummaryDiskInfo =head1 DESCRIPTION C is a derived class of L. It represents the state of an ONTAP Disk. A related class is L, which represents access to an ONTAP Disk. =head1 ATTRIBUTES The individual pieces of data that are part of the state of the Disk element are the attributes of the Disk ComponentState. =over =item C<< data_disk_count >> =item C<< parity_disk_count >> =item C<< parity_space >> =item C<< raw_space >> =item C<< spare_disk_count >> =item C<< spare_space >> =item C<< total_disk_count >> =item C<< total_space >> =back =cut package NACL::CS::DFM::DiskPhysicalSummaryDiskInfo; use strict; use warnings; use Params::Validate qw(validate validate_with SCALAR ARRAYREF HASHREF); use NACL::ComponentUtils qw(Dumper); use NATE::Log qw(log_global); my $Log = log_global(); my $may_enter = $Log->may_enter(); my $may_exit = $Log->may_exit(); use base 'NACL::CS::ComponentState::DFM'; use Class::MethodMaker [ new => [ '-hash', 'new' ], scalar => 'data_disk_count', scalar => 'parity_disk_count', scalar => 'parity_space', scalar => 'raw_space', scalar => 'spare_disk_count', scalar => 'spare_space', scalar => 'total_disk_count', scalar => 'total_space', ]; 1;