NAME

Power::Outlet::Common::IP::SNMP - Power::Outlet base class for SNMP power outlet

SYNOPSIS

use base qw{Power::Outlet::Common::IP::SNMP};

DESCRIPTION

Power::Outlet::Common::IP::SNMP is a package for controlling and querying an SNMP-based network attached power outlet.

USAGE

use base qw{Power::Outlet::Common::IP::SNMP};

PROPERTIES

community

Sets and returns the SNMP community.

my $community=$outlet->community("private"); #read/write
my $community=$outlet->community("public");  #read only features

snmp_version

Returns 1

METHODS

snmp_session

Returns a cached Net::SNMP session object

snmp_get

my $value=$self->snmp_get($oid);

snmp_set

$self->snmp_set($oid, $value); #only supports integer values

BUGS

Please log on RT and send an email to the author.

SUPPORT

DavisNetworks.com supports all Perl applications including this package.

AUTHOR

Michael R. Davis
CPAN ID: MRDVT
DavisNetworks.com

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO