|
Packit |
022b05 |
|
|
Packit |
022b05 |
LIBSMI -- A LIBRARY FOR SMI MANAGEMENT INFORMATION
|
|
Packit |
022b05 |
==================================================
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Copyright (c) 1999-2008 Frank Strauss, Technical University of Braunschweig.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
See the file "COPYING" for information on usage and redistribution
|
|
Packit |
022b05 |
of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
@(#) $Id: README 7795 2008-02-27 10:23:25Z strauss $
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
This project has been started as part of Frank Strauss' master's
|
|
Packit |
022b05 |
thesis at the Technical University of Braunschweig, Germany in 1999.
|
|
Packit |
022b05 |
Since then numerous people applied very major improvements, fixes, and
|
|
Packit |
022b05 |
new features, namely Juergen Schoenwaelder who also initiated the
|
|
Packit |
022b05 |
whole project and supervised my thesis work, as well as Torsten Klie,
|
|
Packit |
022b05 |
Andreas Mueller, Moritz Bunkus, Jens Mueller, and Klaus Sperner. Many
|
|
Packit |
022b05 |
others contributed lots of patches, improvements, and feature requests.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
This software comprises
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
- a library to parse and maintain MIB and PIB modules,
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
- a set of tools based on the library to check, convert, and compare
|
|
Packit |
022b05 |
MIB and PIB modules.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
- a collection of all published IETF and IANA Standards Track MIB
|
|
Packit |
022b05 |
and PIB modules and some more.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Please read the manual pages and the project's web pages for further
|
|
Packit |
022b05 |
information.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
MANIFEST
|
|
Packit |
022b05 |
========
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
README this file
|
|
Packit |
022b05 |
COPYING the libsmi lincense terms
|
|
Packit |
022b05 |
ChangeLog a rough history of changes
|
|
Packit |
022b05 |
TODO incomplete list of things to be done
|
|
Packit |
022b05 |
THANKS a list of people who contributed
|
|
Packit |
022b05 |
configure configure script
|
|
Packit |
022b05 |
lib/ library source code
|
|
Packit |
022b05 |
tools/ tools source code
|
|
Packit |
022b05 |
doc/ some related documents
|
|
Packit |
022b05 |
mibs/ MIB modules to be installed
|
|
Packit |
022b05 |
pibs/ PIB modules to be installed
|
|
Packit |
022b05 |
test/ some test patterns
|
|
Packit |
022b05 |
win/ Win32 port source code
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
INSTALLATION
|
|
Packit |
022b05 |
============
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Requirements: GNU make, gcc, flex, bison, and other things most UNIX
|
|
Packit |
022b05 |
systems have on board. The compiler has to support `long long' types.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
To configure libsmi, first check
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
./configure --help
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
output to see, what options are available. Then run
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
./configure [options]
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
with the options of your choice. Choose mibdir, pibdir and smipath
|
|
Packit |
022b05 |
values appripriate for your environment so that users can live without
|
|
Packit |
022b05 |
an SMIPATH environment variable and without configuration files.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
On HP-UX platforms the build process is reported to require gcc
|
|
Packit |
022b05 |
and the --disable-shared configure option.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
To build libsmi and the tools, run
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
make
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
This should build the library libsmi in lib/ and the tools, namely
|
|
Packit |
022b05 |
tools/smilint, tools/smidump, tools/smiquery, tools/smidiff,
|
|
Packit |
022b05 |
tools/smixlate and the shell script tools/smistrip.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Now, you may run some checks by
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
make check
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Note that some tests of this test suite may fail, if GNU diff was not
|
|
Packit |
022b05 |
found.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
If you wish to install the library, the MIB and PIB modules, the tools
|
|
Packit |
022b05 |
and the man pages, run
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
make install
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
To use libsmi applications you might want to configure its behaviour.
|
|
Packit |
022b05 |
Detailed library options, including per-application options, can
|
|
Packit |
022b05 |
be configured through a global and a user level configuration file.
|
|
Packit |
022b05 |
Additionally the SMIPATH environment variable can be used to configure
|
|
Packit |
022b05 |
paths of module locations. See the smi_config(3) man page.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
DEBUGGING
|
|
Packit |
022b05 |
=========
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
If you encounter any crashes or feel for any other reasons the need to
|
|
Packit |
022b05 |
debug the libsmi tools, you should link the tools statically. This is
|
|
Packit |
022b05 |
the easiest way to get around the problems when your debugger claims to
|
|
Packit |
022b05 |
be unable to read the libsmi binary files, since they are built using
|
|
Packit |
022b05 |
libtool. You can build the libsmi tools statically by
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
make clean
|
|
Packit |
022b05 |
./configure --enable-static --disable-shared
|
|
Packit |
022b05 |
make
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
FURTHER READING
|
|
Packit |
022b05 |
===============
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Read the man pages for library concepts and usage and for the tools.
|
|
Packit |
022b05 |
Please note that SMIng is currently in a quite inconsistent and
|
|
Packit |
022b05 |
outdated state. It does *not* reflect what is being specified in RFCs
|
|
Packit |
022b05 |
3780/3781. Therefore, SMIng is not enabled by default. See the old
|
|
Packit |
022b05 |
specs in doc/draft-irtf-nmrg-sming-02.txt for details on SMIng as it
|
|
Packit |
022b05 |
is implemented.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
You may find further information online, along with the subscription
|
|
Packit |
022b05 |
information on the libsmi mailing list at
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
http://www.ibr.cs.tu-bs.de/projects/libsmi/.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Frank Strauss <strauss@ibr.cs.tu-bs.de>
|