# $Id: //depot/prod/test/main/lib/NACL/CS/DFM/StorageServiceTopology.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 StorageServiceTopology ComponentState Module (auto-generated by CGT) ## @author deepthis, dl-mpo-nacl-dev@netapp.com ## @change 2012-06-22 deepthis Created the file # ## @status review ## @pod here =head1 NAME NACL::CS::DFM::StorageServiceTopology =head1 DESCRIPTION C is a derived class of L. It represents the state of an ONTAP StorageServiceTopology. =head1 ATTRIBUTES The individual pieces of data that are part of the state of the StorageServiceTopology element are the attributes of the StorageService ComponentState. =over =item C<< connections >> (Array Type L ) =item C<< nodes >> (Array Type L ) =back =cut package NACL::CS::DFM::StorageServiceTopology; 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 NACL::CS::DFM::StorageServiceTopologyConnection; use NACL::CS::DFM::StorageServiceTopologyNode; use base 'NACL::CS::ComponentState::DFM'; use Class::MethodMaker [ new => [ '-hash', 'new' ], array => [ { -type => 'NACL::CS::DFM::StorageServiceTopologyConnection' }, 'connections' ], array => [ { -type => 'NACL::CS::DFM::StorageServiceTopologyNode' }, 'nodes' ], ]; sub _nested_objects { return { 'connections' => 'NACL::CS::DFM::StorageServiceTopologyConnection', 'nodes' => 'NACL::CS::DFM::StorageServiceTopologyNode', }; } 1;