|
Packit |
022b05 |
.\"
|
|
Packit |
022b05 |
.\" $Id: smidiff.1.in 1677 2004-08-10 11:10:27Z strauss $
|
|
Packit |
022b05 |
.\"
|
|
Packit |
022b05 |
.TH smidiff 1 "August 10, 2004" "IBR" "SMI Tools"
|
|
Packit |
022b05 |
.SH NAME
|
|
Packit |
022b05 |
smidiff \- check differences between a pair of SMI or SPPI modules
|
|
Packit |
022b05 |
.SH SYNOPSIS
|
|
Packit |
022b05 |
.B smidiff
|
|
Packit |
022b05 |
[
|
|
Packit |
022b05 |
.B "-Vhsm"
|
|
Packit |
022b05 |
] [
|
|
Packit |
022b05 |
.BI "-c " file
|
|
Packit |
022b05 |
] [
|
|
Packit |
022b05 |
.BI "-l " level
|
|
Packit |
022b05 |
] [
|
|
Packit |
022b05 |
.BI "-i " error-pattern
|
|
Packit |
022b05 |
] [
|
|
Packit |
022b05 |
.BI "-p " module
|
|
Packit |
022b05 |
]
|
|
Packit |
022b05 |
.I "oldmodule newmodule"
|
|
Packit |
022b05 |
.SH DESCRIPTION
|
|
Packit |
022b05 |
The \fBsmidiff\fP program is used to check differences between a pair
|
|
Packit |
022b05 |
of SMI MIB modules or SPPI PIB modules.
|
|
Packit |
022b05 |
E.g., it can be used to detect changes in updated MIB
|
|
Packit |
022b05 |
modules that can cause interoperability problems with existing
|
|
Packit |
022b05 |
implementations. SMIv1/v2 and SPPI style MIB/PIB modules are
|
|
Packit |
022b05 |
supported.
|
|
Packit |
022b05 |
.PP
|
|
Packit |
022b05 |
Note that conformance statements are currently not checked.
|
|
Packit |
022b05 |
.PP
|
|
Packit |
022b05 |
Messages describing the differences are written to the standard output
|
|
Packit |
022b05 |
channel while error and warning messages generated by the parser
|
|
Packit |
022b05 |
are written to the standard error channel.
|
|
Packit |
022b05 |
.SH OPTIONS
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-V, --version\fP
|
|
Packit |
022b05 |
Show the smidump version and exit.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-h, --help\fP
|
|
Packit |
022b05 |
Show a help text and exit.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-s, --severity\fP
|
|
Packit |
022b05 |
Show the error severity in brackets before error messages.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-m, --error-names\fP
|
|
Packit |
022b05 |
Show the error names in braces before error messages.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-c \fIfile\fB, --config=\fIfile\fP
|
|
Packit |
022b05 |
Read \fIfile\fP instead of any other (global and user)
|
|
Packit |
022b05 |
configuration file.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-p \fImodule\fB, --preload=\fImodule\fP
|
|
Packit |
022b05 |
Preload the module \fImodule\fP before reading the main
|
|
Packit |
022b05 |
module(s). This may be helpful if an incomplete main module misses to
|
|
Packit |
022b05 |
import some definitions.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-l \fIlevel\fB, --level=\fIlevel\fP
|
|
Packit |
022b05 |
Report errors and warnings up to the given severity \fIlevel\fP. See
|
|
Packit |
022b05 |
the smilint(1) manual page for a description of the error levels. The
|
|
Packit |
022b05 |
default error level is 3.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
\fB-i \fIprefix\fB, --ignore=\fIprefix\fP
|
|
Packit |
022b05 |
Ignore all errors that have a tag which matches \fIprefix\fP.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
.I oldmodule
|
|
Packit |
022b05 |
The original module.
|
|
Packit |
022b05 |
.TP
|
|
Packit |
022b05 |
.I newmodule
|
|
Packit |
022b05 |
The updated module.
|
|
Packit |
022b05 |
.PP
|
|
Packit |
022b05 |
If a module argument represents a path name (identified by containing
|
|
Packit |
022b05 |
at least one dot or slash character), this is assumed to be the exact
|
|
Packit |
022b05 |
file to read. Otherwise, if a module is identified by its plain module
|
|
Packit |
022b05 |
name, it is searched according to libsmi internal rules. See
|
|
Packit |
022b05 |
\fBsmi_config(3)\fP for more details.
|
|
Packit |
022b05 |
.SH "SEE ALSO"
|
|
Packit |
022b05 |
The
|
|
Packit |
022b05 |
.BR libsmi (3)
|
|
Packit |
022b05 |
project is documented at
|
|
Packit |
022b05 |
.BR "http://www.ibr.cs.tu-bs.de/projects/libsmi/" "."
|
|
Packit |
022b05 |
.SH "AUTHOR"
|
|
Packit |
022b05 |
(C) 2001 T. Klie, TU Braunschweig, Germany <tklie@ibr.cs.tu-bs.de>
|
|
Packit |
022b05 |
.br
|
|
Packit |
022b05 |
(C) 2001 J. Schoenwaelder, TU Braunschweig, Germany <schoenw@ibr.cs.tu-bs.de>
|
|
Packit |
022b05 |
.br
|
|
Packit |
022b05 |
and contributions by many other people.
|
|
Packit |
022b05 |
.br
|