forked from etingof/pysmi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO.txt
25 lines (25 loc) · 1.42 KB
/
TODO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
* add more tests on edge cases
* generate reverse OID -> MIB index
* handle SMIv1 MAX clause in range constraint
* support MAX clause mapping it into type-specific value
* possibly split symbol table code generator onto imported modules and symbol
table code generators.
* support more common broken SMI constructs
* DEFVAL and AUGMENTS should not depend on the order of symbols in MIB
* make a collection of fixed MIBs (e.g. Huawei has lots of bad/broken MIBs)
* some MIBs use hex as DEFVAL for types other than OCTET STRING (additional AST processing phase will help)
* handle the case when the symbol and the enumaration value (which can be in DEFVAL) have the same name - llc2 in NETLINK-SPECIFIC-MIB (additional AST processing phase will help)
* check imports and try to add necessary ones if missed (like OBJECT-TYPE, MODULE-IDENTITY, etc)
* generate TextualConvention first or add additional AST processing phase
* implement a cache of available files at abstract reader path
* create a command-line tool for splitting MIBs stored in a single file
* create a MIB querying tool: get MIB module's OIDs, enterprise IDs,
canonical name(s); search MIB objects by regexp; build source .index
* implement xml/html/yaml codegeneration backend
* json codegen:
- make schema configurable
- implement index generation
- further simplify/review codegen code
- rebuild the docs
- conditionally require simplejson and ordereddict
- add tests