Blame TODO

Packit Service 9ccfef
o libsmi crashes on LIBSMI-TEST-010-MIB because it mixes up range, size
Packit Service 9ccfef
  and named number restrictions internally so that later these data
Packit Service 9ccfef
  structures are casted to the wrong type. A real fix to this problem
Packit Service 9ccfef
  may require to redesign internal data structures to get rid of the
Packit Service 9ccfef
  opaque list.
Packit Service 9ccfef
Packit Service 9ccfef
o libsmi crashes on LIBSMI-TEST-011-MIB which contains a nice set of
Packit Service 9ccfef
  nasty forward references.
Packit Service 9ccfef
Packit Service 9ccfef
Packit Service 9ccfef
o error detection: detect IMPORTs of SMIv1 specific and SMIv2 specific
Packit Service 9ccfef
  items in the same module, e.g. old OBJECT-TYPE macro and (new)
Packit Service 9ccfef
  NOTIFICATION-TYPE macro.
Packit Service 9ccfef
Packit Service 9ccfef
o error detection: does table node have exactly one row sub node
Packit Service 9ccfef
  with oid == 1? (2578.7.10)
Packit Service 9ccfef
Packit Service 9ccfef
o warning detection: non continuous sub oids in column node list?
Packit Service 9ccfef
Packit Service 9ccfef
o warning detection: not reversible DISPLAY-HINT definitions
Packit Service 9ccfef
Packit Service 9ccfef
o remove SMI_DECL_IMPL_SEQUENCEOF from smi.h: the smiv1/smiv2 parser 
Packit Service 9ccfef
  should keep internal data structures for sequence types so that it 
Packit Service 9ccfef
  can set the correct nodekinds and that it can check the SEQUENCE 
Packit Service 9ccfef
  contents (see previous item). these internal data structures can
Packit Service 9ccfef
  be released at the end of a MIB module.
Packit Service 9ccfef
Packit Service 9ccfef
o warning detection: enumerations SHOULD NOT contain signedNumber's.
Packit Service 9ccfef
  SHOULD start at 1. SHOULD be numbered contiguously.
Packit Service 9ccfef
  e.g. DISMAN-SCHEDULE-MIB.SnmpPduErrorStatus
Packit Service 9ccfef
Packit Service 9ccfef
o warning detection: subtyping not allowed for counter or timeticks
Packit Service 9ccfef
Packit Service 9ccfef
o warning detection: defvals not allowed for counter
Packit Service 9ccfef
Packit Service 9ccfef
o warning detection: missing display hints for OCTET STRING derived types
Packit Service 9ccfef
Packit Service 9ccfef
o parser-smi.y: handle forbidden WS at some places
Packit Service 9ccfef
  ( Module . label, ...)
Packit Service 9ccfef
Packit Service 9ccfef
o dump-sming.c: ensure an order without forward references in typedef's.
Packit Service 9ccfef
Packit Service 9ccfef
o dump-sming.c: support all(!) kinds of index clauses
Packit Service 9ccfef
Packit Service 9ccfef
o smi.c: smiGetNames() is not yet implemented. do we really need it?
Packit Service 9ccfef
Packit Service 9ccfef
o thread safety (global vars? static vars? strtok() and other funcs?)
Packit Service 9ccfef
  different views
Packit Service 9ccfef
Packit Service 9ccfef
o need a handle to distinguish different views.
Packit Service 9ccfef
Packit Service 9ccfef
o clearly separate language dependent information at the API: SMI_STATUS_*
Packit Service 9ccfef
  map STATUS to a non-language-dependent type
Packit Service 9ccfef
Packit Service 9ccfef
o OID/Name Lookup Service (continue work on smid?)
Packit Service 9ccfef
Packit Service 9ccfef
o how to convert SMIng types derived from other defined types correctly
Packit Service 9ccfef
  to SMIv2?
Packit Service 9ccfef
Packit Service 9ccfef
o various dump modules don't print identifiers fully qualified where
Packit Service 9ccfef
  appropriate
Packit Service 9ccfef
Packit Service 9ccfef
o Web online conversion to SMIng?
Packit Service 9ccfef
Packit Service 9ccfef
o special handling for well-known traps (reversibility?)
Packit Service 9ccfef
Packit Service 9ccfef
o smidump -f smiv1 now prints read AUGMENTS clauses as index lists correctly
Packit Service 9ccfef
  but these index objects might not be imported.
Packit Service 9ccfef
Packit Service 9ccfef
o smidump might print defvals for OIDs by label without importing it.
Packit Service 9ccfef
Packit Service 9ccfef
o line breaks in long bits defaults values (dump-*.c)
Packit Service 9ccfef
Packit Service 9ccfef
o Add smiGetFirstChildType(SmiType *smiType) and 
Packit Service 9ccfef
  smiGetNextChildType(SmiType *smiType) to the API.
Packit Service 9ccfef
Packit Service 9ccfef
o Make sure we always get the newest definition when looking up things
Packit Service 9ccfef
  that are not unique.
Packit Service 9ccfef
Packit Service 9ccfef
o The SMIv1/SMIv2/SMIng dump modules should build proper IMPORTS for
Packit Service 9ccfef
  OIDs that show up in DEFVAL or default clauses.
Packit Service 9ccfef
Packit Service 9ccfef
o The default value conversion functions (e.g. getValueString()) should
Packit Service 9ccfef
  return malloced memory to avoid potential memory overwrite problems.
Packit Service 9ccfef
Packit Service 9ccfef
o Suppress the following types: SNMPv2-SMI::ExtUTCTime,
Packit Service 9ccfef
  SNMPv2-SMI::ObjectName, SNMPv2-SMI::NotificationName.
Packit Service 9ccfef
Packit Service 9ccfef
o Check format specifier text in SMIng spec and add a `u' format specifier
Packit Service 9ccfef
  for unsigned numbers.
Packit Service 9ccfef
Packit Service 9ccfef
o smidump -f tree -u IF-MIB SNA-SDLC-MIB vs.
Packit Service 9ccfef
  smidump -f tree -u SNA-SDLC-MIB IF-MIB : e.g. ifEntry differences.
Packit Service 9ccfef
Packit Service 9ccfef
o rename test modules: TUBS-IBR prefix.
Packit Service 9ccfef
Packit Service 9ccfef
o make libsmi aware of annotations (when SMIng supports annotations).
Packit Service 9ccfef
Packit Service 9ccfef
o sming: in rule `refinedBaseType -> EnumerationKeyword optsep namedNumberSpec'
Packit Service 9ccfef
  the `optsep' has to be inserted.
Packit Service 9ccfef
Packit Service 9ccfef
o sming: in rule `refinedBaseType -> BitsKeyword optsep namedNumberSpec'
Packit Service 9ccfef
  the `optsep' has to be inserted.
Packit Service 9ccfef
Packit Service 9ccfef
o sming: ensure enum namedNumbers can be signed and bits namedNumbers cannot.
Packit Service 9ccfef
Packit Service 9ccfef
o split the library into wo layers: (a) a lower layer that is very
Packit Service 9ccfef
  restrictive on allowed input, does not care about memory management, etc.
Packit Service 9ccfef
  and (b) a higher layer of utility functions, like display-hint based value
Packit Service 9ccfef
  formatting, oid-to-instance-element parsing, constant-to-string mappings,
Packit Service 9ccfef
  etc.
Packit Service 9ccfef
Packit Service 9ccfef
o extend smicache so that MIB authors can use it to submit URLs for their
Packit Service 9ccfef
  MIBs to a central MIB http/ftp service? Ask Aiko, whether the SimpleWeb
Packit Service 9ccfef
  should offer such a MIB service?
Packit Service 9ccfef
Packit Service 9ccfef
o Allow the MIB server to support lookup by OID.
Packit Service 9ccfef
Packit Service 9ccfef
o Is there any value in MIB-by-OID lookup through DNS? ;-)
Packit Service 9ccfef
Packit Service 9ccfef
o Include documents (draft on xml, etc.) with the distribution.
Packit Service 9ccfef
Packit Service 9ccfef
o X.208, section 28 allows different forms of OID values. Some of them are
Packit Service 9ccfef
  not accepted by the parser. Note also that the SMIv1 ENTERPRISE construct
Packit Service 9ccfef
  contains an OID value, although it's common practice to specify its value
Packit Service 9ccfef
  in a plain identifier name form, which is not matched by the ASN.1 OID
Packit Service 9ccfef
  syntax.
Packit Service 9ccfef
Packit Service 9ccfef
o Check the code for OID allocations of a constant length (128). Avoid
Packit Service 9ccfef
  wasting memory. Avoid problems with OIDs that are (illegally) too long.
Packit Service 9ccfef
Packit Service 9ccfef
o Check, whether all necessary occurences of &, <, >, ', and
Packit Service 9ccfef
  &qou;; are handled correctly in dump-xml and dump-xsd.
Packit Service 9ccfef
Packit Service 9ccfef
o smidiff does not yet support the -i option, like smilint does.
Packit Service 9ccfef
Packit Service 9ccfef
o error detection: different types in SEQUENCE and OBJECT-TYPE macros
Packit Service 9ccfef
  (recognized for a MIB where the SEQUENCE contains "INTEGER" for a column
Packit Service 9ccfef
  for which the OBJECT-TYPE's type is SNMPv2-TC::TruthValue. Notify Bert
Packit Service 9ccfef
  when fixed.
Packit Service 9ccfef
Packit Service 9ccfef
o error detection: integer DEFVAL for an enumeration typed OBJECT-TYPE.
Packit Service 9ccfef
  Notify Bert when fixed.
Packit Service 9ccfef
Packit Service 9ccfef
o API: several applications need a mechanism to iterate through the 
Packit Service 9ccfef
  index components of a row definition, e.g. many of the dump-* drivers.
Packit Service 9ccfef
  For example, see dump-scli.oc: foreachIndexDo(). Maybe something like
Packit Service 9ccfef
  smiGetFirstIndex()/smiGetNextIndex() would be a good idea.
Packit Service 9ccfef
Packit Service 9ccfef
o API/Utility Functions: getMinSize()/getMaxSize() is needed by multiple
Packit Service 9ccfef
  smidump drivers. See dump-scli.c for a good implementation.
Packit Service 9ccfef
Packit Service 9ccfef
o generate a warning if a module is listed multiple times in the
Packit Service 9ccfef
  imports and if a symbol is imported twice (Dave Perkins)
Packit Service 9ccfef