Skip to content

fix: add lowcaseTypeName to tolerate lowercase type names in type declarations#14

Open
Jellyfrog wants to merge 1 commit intolextudio:mainfrom
Jellyfrog:fix/lowercase-type-names
Open

fix: add lowcaseTypeName to tolerate lowercase type names in type declarations#14
Jellyfrog wants to merge 1 commit intolextudio:mainfrom
Jellyfrog:fix/lowercase-type-names

Conversation

@Jellyfrog
Copy link
Copy Markdown

Please note this code was generated by AI, but tested :)

…larations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jan 22, 2026

CLA assistant check
All committers have signed the CLA.

@lextm lextm added priority:low Low priority due to limited impact warning:faulty mib Related to MIB documents that don't follow the standards or conventions labels Jan 23, 2026
@lextm
Copy link
Copy Markdown

lextm commented Jan 23, 2026

Unless there is a compelling example with significant impact on user base, this pull request is not going to be accepted. Problematic MIB documents should be fixed by their vendors.

@Jellyfrog
Copy link
Copy Markdown
Author

Jellyfrog commented Feb 5, 2026

@lextm yes, in a perfect world that would be nice :) We don't have the manpower to contact every single vendor

Here is a bunch taken from https://github.com/librenms/librenms/tree/master/mibs :

Failed MIBs: SLE-PERFORMANCEMGMT-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value sleSfpmonThresholdEntry at MIB SLE-PERFORMANCEMGMT-MIB, line 4841)
Failed MIBs: RAISECOM-PON-DEVICE-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value raisecomSubFanEntry at MIB RAISECOM-PON-DEVICE-MIB, line 1517)
Failed MIBs: PARKS-PK700 (Bad grammar near token type LOWERCASE_IDENTIFIER, value oltPortOpticalEntry at MIB PARKS-PK700, line 2129)
Failed MIBs: SMARTNODE-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value cpuEntry at MIB SMARTNODE-MIB, line 1989)
Failed MIBs: EDS-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value dTrapEntry at MIB EDS-MIB, line 155)
Failed MIBs: DELLEMC-OS10-CHASSIS-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value os10ChassisProductBase at MIB DELLEMC-OS10-CHASSIS-MIB, line 273)
Failed MIBs: ipPbxNs-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value ipPbxNs-MIB at MIB ipPbxNs-MIB, line 13)
Failed MIBs: GRANDSTREAM-GWN-PRODUCTS-SWITCH-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value alarmConfigEntry at MIB GRANDSTREAM-GWN-PRODUCTS-SWITCH-MIB, line 369)
Failed MIBs: DAHUA-SNMP-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value regularStreamInfoTableEntry at MIB DAHUA-SNMP-MIB, line 669)
Failed MIBs: XMUX4-PLUS (Bad grammar near token type LOWERCASE_IDENTIFIER, value muxEntry at MIB XMUX4-PLUS, line 247)
Failed MIBs: companyMIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value companyMIB at MIB companyMIB, line 19)
Failed MIBs: NMS-CHASSIS (Bad grammar near token type LOWERCASE_IDENTIFIER, value nmsAuxEntry at MIB NMS-CHASSIS, line 1131)
Failed MIBs: ALVARION-DOT11-WLAN-TST-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value brzLighteNewVvaEntry at MIB ALVARION-DOT11-WLAN-TST-MIB, line 545)
Failed MIBs: TEMPUSLXUNISON-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value cdmaNTPNotPolling at MIB TEMPUSLXUNISON-MIB, line 799)
Failed MIBs: GBNServiceRADIUS-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value gbnRadiusConfEntry at MIB GBNServiceRADIUS-MIB, line 91)
Failed MIBs: FS-AC-MGMT-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value fsApWiredEntry at MIB FS-AC-MGMT-MIB, line 6131)
Failed MIBs: NMS-CHASSIS (Bad grammar near token type LOWERCASE_IDENTIFIER, value nmsAuxEntry at MIB NMS-CHASSIS, line 1131)
Failed MIBs: GBNL3Rip-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value gbnL3RipEntry at MIB GBNL3Rip-MIB, line 161)
Failed MIBs: GBNDeviceSWAPI-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value oemQueueWeightEntry at MIB GBNDeviceSWAPI-MIB, line 3429)
Failed MIBs: GBNL3IPPool-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value ipPoolEntry at MIB GBNL3IPPool-MIB, line 105)
Failed MIBs: FS-AC-MGMT-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value fsApWiredEntry at MIB FS-AC-MGMT-MIB, line 6131)
Failed MIBs: LAG-ARCH-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value lagTrunkGroupEntry at MIB LAG-ARCH-MIB, line 41)
Failed MIBs: NSCRTV-EPON-IGMP-MGM-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value igmpOnuUniEntry at MIB NSCRTV-EPON-IGMP-MGM-MIB, line 1293)
Failed MIBs: GBNServiceCM-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value gbn8021xCmConfEntry at MIB GBNServiceCM-MIB, line 125)
Failed MIBs: ENLOGIC-PDU2-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value pdupowershareEntry at MIB ENLOGIC-PDU2-MIB, line 2039)
Failed MIBs: NSCRTV-FTTX-EPON-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value ponOnuAuthenticationModeEntry at MIB NSCRTV-FTTX-EPON-MIB, line 8693)
Failed MIBs: DCN-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value priPowerEntry at MIB DCN-MIB, line 2829)
Failed MIBs: proware-SNMP-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value proware-SNMP-MIB at MIB proware-SNMP-MIB, line 1)
Failed MIBs: Juniper-ATM-1483-Profile-CONF (Bad grammar near token type LOWERCASE_IDENTIFIER, value juniAtm1483ProfileGroup4 at MIB Juniper-ATM-1483-Profile-CONF, line 201)
Failed MIBs: GANDI-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value pktjTable at MIB GANDI-MIB, line 49)
Failed MIBs: SYNSO-UPSMIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value syupsOutletEntry at MIB SYNSO-UPSMIB, line 563)
Failed MIBs: SNR-ERD-4 (Bad grammar near token type LOWERCASE_IDENTIFIER, value dtsEntry at MIB SNR-ERD-4, line 163)
Failed MIBs: ECS4100-52T-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value radiusServerType at MIB ECS4100-52T-MIB, line 21757)
Failed MIBs: HIKVISION-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value hikDiskEntry at MIB HIKVISION-MIB, line 417)
Failed MIBs: ZYXEL-ZYWALL-ZLD-COMMON-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value vpnStatusEntry at MIB ZYXEL-ZYWALL-ZLD-COMMON-MIB, line 287)
Failed MIBs: QTECH-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value priPowerEntry at MIB QTECH-MIB, line 2813)
Failed MIBs: BISON-ROUTER-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value pppoeEntry at MIB BISON-ROUTER-MIB, line 99)
Failed MIBs: HUAWEI-BRAS-IPTN-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value hwIptnEnableEntry at MIB HUAWEI-BRAS-IPTN-MIB, line 93)
Failed MIBs: DLB-RADIO3-DRV-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value dlbRdo3StatsEntry at MIB DLB-RADIO3-DRV-MIB, line 89)
Failed MIBs: SIXNET-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value sxRingEntry at MIB SIXNET-MIB, line 603)
Failed MIBs: GGSN-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value pgwApnSaccRatingGroupStats at MIB GGSN-MIB, line 13269)
Failed MIBs: DLINKSW-NETWORK-ACCESS-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value 0xffffffff at MIB DLINKSW-NETWORK-ACCESS-MIB, line 973)
Failed MIBs: DLINKSW-NETWORK-ACCESS-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value 0xffffffff at MIB DLINKSW-NETWORK-ACCESS-MIB, line 973)
Failed MIBs: DLINKSW-NETWORK-ACCESS-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value 0xffffffff at MIB DLINKSW-NETWORK-ACCESS-MIB, line 973)
Failed MIBs: DLINKSW-NETWORK-ACCESS-MIB (Bad grammar near token type LOWERCASE_IDENTIFIER, value 0xffffffff at MIB DLINKSW-NETWORK-ACCESS-MIB, line 973)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:low Low priority due to limited impact warning:faulty mib Related to MIB documents that don't follow the standards or conventions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants