Pica8: VLAN discovery on PicOS doesn't work as expected

Hi!

Here’s the output of validate.php of our LibreNMS installation:

====================================
Component | Version
--------- | -------
LibreNMS  | 1.69-34-g3daacc5e1
DB Schema | 2020_11_02_164331_add_powerstate_enum_to_vminfo (190)
PHP       | 7.4.3
Python    | 3.8.5
MySQL     | 10.3.25-MariaDB-0ubuntu0.20.04.1
RRDTool   | 1.7.2
SNMP      | NET-SNMP 5.8
OpenSSL   |
====================================

[OK]    Composer Version: 2.0.7
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database schema correct

We’re currently trying to integrate Dell switches with PicOS by Pica8 into LibreNMS. The PicOS version is 3.7.3.2. The interfaces etc. are discovered properly, however, it looks like the VLANs aren’t discovered the right way. We have a VLAN 253 that’s discovered as VLAN 10253. When looking at the discovery debugging output I can see that the VLAN as such is discovered but instead of using the actual VLAN ID, the VLAN index is used as the ID:

SNMP['/usr/bin/snmpbulkwalk' '-v3' '-l' 'authPriv' '-n' "" '-a' 'SHA' '-A' 'PASSWORD' '-u' 'USER' '-x' 'AES' '-X' 'PASSWORD' '-OQUsetX' '-m' 'Q-BRIDGE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/picos' 'udp:HOSTNAME:161' 'dot1qVlanFdbId']

dot1qVlanFdbId[0][10001] = 1
dot1qVlanFdbId[0][10253] = 253
dot1qVlanFdbId[0][14095] = 4095

Is this a known issue? How can we fix this problem?

Sorry if there’s any useful debugging info missing, I didn’t want to overload the post.

Christian