Click here to get back home

Yet another TL1 module

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Yet another TL1 module S. Scaffidi 08-07-2007
Posted by S. Scaffidi on August 7, 2007, 4:12 pm
Please log in for more thread options


I've written a module for handling TL1, similar to Steven Hessing's
Net::TL1. I would like to upload to CPAN, but I'm looking for
suggestions on what namespace to use.

I tried the existing Net::TL1, and I also found another TL1.pm module
elsewhere on the internet, but neither suited my needs. I spent some
time inspecting and modifying the source code of each but finally
ended up building my own solution.

The main driving force behind this is that I will soon be using TL1
for alarm and event reporting on several hundred devices, from several
different vendors, and there is a possibility that I may also have to
add on configuration and provisioning capabilities as well.

The existing modules appear to have been built for a particular set of
tasks for a particular set of devices and left at that once they
solved the problem at hand. (not that there's anything wrong with
that! - it's what I did with MRTG::Config!)

I plan on building this into something (hopefully) robust and easily
extensible so that the common use cases are easy and the uncommon ones
are do-able with (hopefully) simple sub-classes.

Currently there are two modules (in my local dev environment),
SRS::TL1 and SRS::TL1::Parser. SRS::TL1 handles the connection to the
device or gateway, sending of commands and retrieval of responses and
autonomous messages. Every response is processed by the code in
Parser.pm which spits out a hash structure that makes working with the
data fairly straight-forward.

SRS::TL1 has been designed to be sub-classed so that device-specific
capabilities may be added while still using (and enhancing) the base
class' functionality. However, I've still to write some sub-classes to
see how simple (or not) it will be for other users. Once I am
satisfied I haven't created a monster I'll gladly release publicly.

If someone else reading this is interested in offering advice or code
review, I'm 100% open to it!


Even if no one else shows any interest in this latest stab at handling
TL1, I'd still like some suggestions on where to put this on CPAN
without stepping on Mr. Hessing's toes :)


Similar ThreadsPosted
Lower case module name for non-pragma module January 4, 2005, 10:19 am
RFC: New module 'Module::Bundled::Files' August 26, 2005, 3:49 pm
help with an MD5.pm module!! September 3, 2005, 11:39 pm
Looking for RTP module December 9, 2004, 9:17 pm
module for FFT May 9, 2005, 3:06 pm
Module may not be right one? April 27, 2006, 12:57 pm
The 'if' module June 1, 2006, 8:18 pm
The 'if' module June 1, 2006, 8:26 pm
use module March 3, 2007, 5:13 am
Name my Module! July 27, 2007, 6:46 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap