TargetType - Gets information regarding a target type
use DBI; use TargetType;
my $dbh = DBI->connect(...); my $target = new TargetType( dbHandle=>$dbh, targetType=>'Cisco-7200-Router' );
print $target->plugin
print $target->MIBobjects
print $target->DSnumbers
TargetType is a class made to connect the various target types and the plugins that are responsible for installing these target types
new() - create a new target type object dbHandle - database handle targetType - name of target type, the target type must have already been installed by a plugin
plugin() - returns the name of the plugin that installed this target type
MIBobjects() - returns the name of the MIB objects such as ifInOctets
DSnumbers() - returns the reference number of the DS
TargetType is supported as part of the core Pawikan distribution. Please send bug report to <netapps@pregi.net> or use the bugzilla.
Edwin Viñas <edwinv@asti.dost.gov.ph>
Jerremeo Raynier Gabás <ren@asti.dost.gov.ph>
René Mendoza <renem@asti.dost.gov.ph>
Rey Vincent Babilonia <rvincent@asti.dost.gov.ph>
Paul Afroilan <paula@asti.dost.gov.ph>
Copyright (c) 2004 Philippine Research, Education and Government Information Network. All rights reserved. This program is part of the Pawikan distribution; you can redistribute it and/or modify it under the same terms as Pawikan itself.