⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 todo.html-lang=de.htm

📁 libsmi的使用手册及网站
💻 HTM
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><!-- Generated by [mod-xslt-ibr] at 2008-10-22T15:27:21 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>TODO</title><meta name="author" content=""><meta name="keywords" content=""><link rel="shortcut icon" href="/old/shortcut_icon.gif"><link rel="stylesheet" type="text/css" href="ibr.css" tppabs="http://www.ibr.cs.tu-bs.de/old/ibr.css"><link rel="stylesheet" type="text/css" href="libsmi.css" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/libsmi.css"></head><body class="main"><div class="nav"><div class="lang"><img src="german.gif" tppabs="http://www.ibr.cs.tu-bs.de/icon/german.gif" alt="de"></div><div class="menu"><ul><li><a href="index.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/index.html?lang=de">Home</a><ul><li><a href="ANNOUNCE.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/ANNOUNCE.html?lang=de">ANNOUNCE</a></li></ul></li><li><a href="library.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/library.html?lang=de">Library</a><ul><li><a href="example.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/example.html?lang=de">Example</a></li><li><a href="libsmi.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/libsmi.html?lang=de">man libsmi</a></li><li><a href="smi_config.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smi_config.html?lang=de">man smi_config</a></li><li><a href="smi_module.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smi_module.html?lang=de">man smi_module</a></li><li><a href="smi_type.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smi_type.html?lang=de">man smi_type</a></li><li><a href="smi_node.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smi_node.html?lang=de">man smi_node</a></li><li><a href="smi_macro.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smi_macro.html?lang=de">man smi_macro</a></li></ul></li><li><a href="tools.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/tools.html?lang=de">Tools</a><ul><li><b><a href="-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/tools/?lang=de">Web Interface</a></b></li><li><a href="smilint.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smilint.html?lang=de">man smilint</a></li><li><a href="smidump.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smidump.html?lang=de">man smidump</a></li><li><a href="smidiff.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smidiff.html?lang=de">man smidiff</a></li><li><a href="smiquery.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smiquery.html?lang=de">man smiquery</a></li><li><a href="smixlate.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smixlate.html?lang=de">man smixlate</a></li><li><a href="smistrip.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/smistrip.html?lang=de">man smistrip</a></li><li><a href="xml.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/xml.html?lang=de">XML Mapping</a></li><li><a href="index-1.html.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/svg/index.html?lang=de">SVG Browsing</a></li></ul></li><li><a href="mibs.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/mibs.html?lang=de">MIBs and PIBs</a></li><li><a href="doc.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/doc.html?lang=de">Documentation</a><ul><li><a href="README.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/README.html?lang=de">README</a></li><li><a href="ChangeLog.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/ChangeLog.html?lang=de">ChangeLog</a></li><li><a href="TODO.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/TODO.html?lang=de">TODO</a></li><li><a href="mailinglist.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/mailinglist.html?lang=de">Mailinglist</a></li><li><a href="COPYING.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/COPYING.html?lang=de">License</a></li></ul></li><li><a href="download.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/download.html?lang=de">Download</a></li><li><a href="people.html-lang=de.htm" tppabs="http://www.ibr.cs.tu-bs.de/projects/libsmi/people.html?lang=de">People</a></li></ul></div><div class="stamp">&copy; IBR, TU-BS<br><a href=""></a><br><br></div></div><h1>TODO</h1><pre><tt>o libsmi crashes on LIBSMI-TEST-010-MIB because it mixes up range, size  and named number restrictions internally so that later these data  structures are casted to the wrong type. A real fix to this problem  may require to redesign internal data structures to get rid of the  opaque list.o libsmi crashes on LIBSMI-TEST-011-MIB which contains a nice set of  nasty forward references.o error detection: detect IMPORTs of SMIv1 specific and SMIv2 specific  items in the same module, e.g. old OBJECT-TYPE macro and (new)  NOTIFICATION-TYPE macro.o error detection: does table node have exactly one row sub node  with oid == 1? (2578.7.10)o warning detection: non continuous sub oids in column node list?o warning detection: not reversible DISPLAY-HINT definitionso remove SMI_DECL_IMPL_SEQUENCEOF from smi.h: the smiv1/smiv2 parser   should keep internal data structures for sequence types so that it   can set the correct nodekinds and that it can check the SEQUENCE   contents (see previous item). these internal data structures can  be released at the end of a MIB module.o warning detection: enumerations SHOULD NOT contain signedNumber's.  SHOULD start at 1. SHOULD be numbered contiguously.  e.g. DISMAN-SCHEDULE-MIB.SnmpPduErrorStatuso warning detection: subtyping not allowed for counter or timetickso warning detection: defvals not allowed for countero warning detection: missing display hints for OCTET STRING derived typeso parser-smi.y: handle forbidden WS at some places  ( Module . label, ...)o dump-sming.c: ensure an order without forward references in typedef's.o dump-sming.c: support all(!) kinds of index clauseso smi.c: smiGetNames() is not yet implemented. do we really need it?o thread safety (global vars? static vars? strtok() and other funcs?)  different viewso need a handle to distinguish different views.o clearly separate language dependent information at the API: SMI_STATUS_*  map STATUS to a non-language-dependent typeo OID/Name Lookup Service (continue work on smid?)o how to convert SMIng types derived from other defined types correctly  to SMIv2?o various dump modules don't print identifiers fully qualified where  appropriateo Web online conversion to SMIng?o special handling for well-known traps (reversibility?)o smidump -f smiv1 now prints read AUGMENTS clauses as index lists correctly  but these index objects might not be imported.o smidump might print defvals for OIDs by label without importing it.o line breaks in long bits defaults values (dump-*.c)o Add smiGetFirstChildType(SmiType *smiType) and   smiGetNextChildType(SmiType *smiType) to the API.o Make sure we always get the newest definition when looking up things  that are not unique.o The SMIv1/SMIv2/SMIng dump modules should build proper IMPORTS for  OIDs that show up in DEFVAL or default clauses.o The default value conversion functions (e.g. getValueString()) should  return malloced memory to avoid potential memory overwrite problems.o Suppress the following types: SNMPv2-SMI::ExtUTCTime,  SNMPv2-SMI::ObjectName, SNMPv2-SMI::NotificationName.o Check format specifier text in SMIng spec and add a `u' format specifier  for unsigned numbers.o smidump -f tree -u IF-MIB SNA-SDLC-MIB vs.  smidump -f tree -u SNA-SDLC-MIB IF-MIB : e.g. ifEntry differences.o rename test modules: TUBS-IBR prefix.o make libsmi aware of annotations (when SMIng supports annotations).o sming: in rule `refinedBaseType -&gt; EnumerationKeyword optsep namedNumberSpec'  the `optsep' has to be inserted.o sming: in rule `refinedBaseType -&gt; BitsKeyword optsep namedNumberSpec'  the `optsep' has to be inserted.o sming: ensure enum namedNumbers can be signed and bits namedNumbers cannot.o split the library into wo layers: (a) a lower layer that is very  restrictive on allowed input, does not care about memory management, etc.  and (b) a higher layer of utility functions, like display-hint based value  formatting, oid-to-instance-element parsing, constant-to-string mappings,  etc.o extend smicache so that MIB authors can use it to submit URLs for their  MIBs to a central MIB http/ftp service? Ask Aiko, whether the SimpleWeb  should offer such a MIB service?o Allow the MIB server to support lookup by OID.o Is there any value in MIB-by-OID lookup through DNS? ;-)o Include documents (draft on xml, etc.) with the distribution.o X.208, section 28 allows different forms of OID values. Some of them are  not accepted by the parser. Note also that the SMIv1 ENTERPRISE construct  contains an OID value, although it's common practice to specify its value  in a plain identifier name form, which is not matched by the ASN.1 OID  syntax.o Check the code for OID allocations of a constant length (128). Avoid  wasting memory. Avoid problems with OIDs that are (illegally) too long.o Check, whether all necessary occurences of &amp;amp;, &amp;lt;, &amp;gt;, &amp;apos;, and  &amp;qout; are handled correctly in dump-xml and dump-xsd.o smidiff does not yet support the -i option, like smilint does.o error detection: different types in SEQUENCE and OBJECT-TYPE macros  (recognized for a MIB where the SEQUENCE contains "INTEGER" for a column  for which the OBJECT-TYPE's type is SNMPv2-TC::TruthValue. Notify Bert  when fixed.o error detection: integer DEFVAL for an enumeration typed OBJECT-TYPE.  Notify Bert when fixed.o API: several applications need a mechanism to iterate through the   index components of a row definition, e.g. many of the dump-* drivers.  For example, see dump-scli.oc: foreachIndexDo(). Maybe something like  smiGetFirstIndex()/smiGetNextIndex() would be a good idea.o API/Utility Functions: getMinSize()/getMaxSize() is needed by multiple  smidump drivers. See dump-scli.c for a good implementation.o generate a warning if a module is listed multiple times in the  imports and if a symbol is imported twice (Dave Perkins)</tt></pre></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -