# # Copyright (c) 2015 NetApp, Inc., All Rights Reserved # Any use, modification, or distribution is prohibited # without prior written consent from NetApp, Inc. # ## @summary ComponentState module for the method NACL::C::AggregateFile->WaflShowvbns() ## @author jabhijit@netapp.com, dl-nacl-dev@netapp.com ## @status shared ## @pod here =head1 NAME NACL::CS::AggregateFileWaflShowvbns =head1 DESCRIPTION C is a derived class of L. Object(s) of this type are returned when NACL::C::AggregateFile->wafl_showvbns() is invoked. This module does not represent the state of any element, but is an object repesentation of the output of 'wafl showvbns' DBlade command. =head1 ATTRIBUTES The attribute names are selected to be the same as what ONTAP returns in the output of 'wafl showvbns' DBlade command. Example: vsim1*> wafl showvbns /aggr/testaggr/aggrfile fbn 0 is vbn 12446, vvbn 12446 fbn 1 is vbn 12447, vvbn 12447 fbn 2 is vbn 12448, vvbn 12448 fbn 3 is vbn 12449, vvbn 12449 fbn 4 is vbn 12450, vvbn 12450 fbn 5 is vbn 12451, vvbn 12451 fbn 6 is vbn 12452, vvbn 12452 =over =item C<< fbn >> =item C<< vbn >> =item C<< vvbn >> =back =cut package NACL::CS::AggregateFileWaflShowvbns; use strict; use warnings; 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::ONTAP'; use Class::MethodMaker [ array => 'fbn', array => 'vbn', array => 'vvbn', scalar => 'path', ]; =head1 METHODS =head2 fetch my $state = NACL::CS::AggregateFileWaflShowvbns->fetch(command_interface => $ci,); (Class method) Discovers which elements are present and returns their state in ComponentState objects. Supports 7Mode CLI =over =cut __PACKAGE__->_fetch_7mode_cli_method_builder( apiset_method => 'wafl_showvbns', filter_keys_to_be_passed_to_apiset => ['path'], ); 1;