NAME

Cisco::SNMP::Image - Image Interface for Cisco Management

SYNOPSIS

use Cisco::SNMP::Image;

DESCRIPTION

The following methods implement the Image MIB defined in CISCO-IMAGE-MIB.

METHODS

new() - create a new Cisco::SNMP::Image object

my $cm = Cisco::SNMP::Image->new([OPTIONS]);

Create a new Cisco::SNMP::Image object with OPTIONS as optional parameters. See Cisco::SNMP for options.

image_info() - populate image info data structure.

my $image = $cm->image_info();

Retrieve the image MIB information from the object defined in $cm.

Allows the following accessors to be called.

imageString() - return image string

$image->imageString(#);

Return the images string from the image info data structure for string index '#'.

Additional Accessors

imageBegin
imageImage
imageFamily
imageFeature
imageVersion
imageMedia
imageSysdescr
imageMagic
imageEnd

These accessors are dynamically created with the call to image_info based on what image strings are returned. The above are generally the same for all devices; however, the MIB only specifies a generic imageString type into which these values are loaded.

DIRECT ACCESS METHODS

The following methods can be called on the Cisco::SNMP::Image object directly to access the values directly.

get_imageString (#)

Get Image OIDs where (#) is the OID instance, not the index from image_info. If (#) not provided, uses 0.

INHERITED METHODS

The following are inherited methods. See Cisco::SNMP for more information.

close
error
session

EXPORT

None by default.

EXAMPLES

This distribution comes with several scripts (installed to the default bin install directory) that not only demonstrate example uses but also provide functional execution.

LICENSE

This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.

AUTHOR

Copyright (C) Michael Vincent 2015

http://www.VinsWorld.com

All rights reserved