NAME

Device::ZyXEL::IES - A module for getting and setting values on a ZyXEL IES5xxx device using SNMP.

VERSION

Version 0.11

SYNOPSIS

Quick summary of what the module does.

    use Device::ZyXEL::IES;

    my $device = Device::ZyXEL::IES->new( {
      hostname => 'some_ies.example.com', 
      get_community => 'public', 
      set_community => 'something', 
    });

    # retrieve slot inventory (slot number and firmwares)
    # for an ies
    my $result = $device->slotInventory;
		
    # Data for the slots are now in the slots attribute
    # returning a list of Device::ZyXEL::IES::Slot objects
    my $slotlist = $device->slots;

FUNCTIONS

read_oid

Uses Net::SNMP::Util to read the value of an oid

The oid passed here is a real one, not a name.

walk_oid

Does a snmpwalk of the given oid, and returns the result.

scalar containing "ERROR: <something>" is returned upon error.

read_oids

Uses Net::SNMP::Util to read the value of a set of oids

The oids passed here is a real ones, not a name.

has_slot

Checks whether or not a specific slot id is present in the slot list.

read_uptime

Reads the system uptime from the IES.

read_sysdescr

Reads the system description from the IES.

slotInventory

Sweeps slots on the IES, creating all the required Device::ZyXEL::IES::Slot objects along the way.

It only performs one walk for the firmware version to get the Slot objects started. Further Slot info will require interaction with the Slot objects themselves.

fetchDetails

Uses Net::SNMP::Util to fetch enough items from the ies to fill in the attributes of the object.

Fetches uptime, sysdescr, ...

AUTHOR

Jesper Dalberg, <jdalberg at gmail.com>

BUGS

Please report any bugs or feature requests to bug-device-zyxel-ies at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Device-ZyXEL-IES. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

:w

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Device::ZyXEL::IES

You can also look for information at:

ACKNOWLEDGEMENTS

Fullrate (http://www.fullrate.dk) Thanks for allowing me to be introduced to the "wonderful" device ;) And thanks for donating some of my work time to create this module and sharing it with the world.

COPYRIGHT & LICENSE

Copyright 2012 Jesper Dalberg, all rights reserved.

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