markabrahams / node-net-snmp

JavaScript implementation of the Simple Network Management Protocol (SNMP)
206 stars 97 forks source link

Support type constraints via textual conventions #231

Closed abutcher-gh closed 1 year ago

abutcher-gh commented 1 year ago

Read standard TCs from SNMPv2-TC and update MIB loader and constraint logic to support SYNTAX elements that reference TEXTUAL-CONVENTIONs. Also support constraints derived from range (N..M) (A..B | C..D | ...) and size (SIZE (N..M)) specifiers in TEXTUAL-CONVENTIONs.

markabrahams commented 1 year ago

Thanks @abutcher-gh - merged now and published in version 3.9.6 of the npm.