Skip to content

smi.GetNode returns Kind: NodeScalar instead of NodeColumn for a table's subtree #26

Open
@metalgrid

Description

@metalgrid

I'm parsing a MIB for a networking device and the table columns are reporting back as Kind: Scalar instead of Column.
I'm not sure if the MIB is bad, or I am misusing the library, so any input is greatly appreciated.

Here's some relevant information about my setup:
Go version: 1.16.3
gosmi version: 0.4.3

Here's a gist of how I'm getting the nodes:
https://gist.github.com/Metalgrid/3e9f95d2ae19009075db9a10de20ae5d

and the MIB files in question (it has a bunch of imports so I've included all of them)
mibs.zip

Just to clarify, everything works properly if I look at a standard table, e.g. ifXTable works properly, but the one that I'm interested in tmnxSubMgmtGpIfStatsTable returns all Scalar values.

P.S. Thank you for the amazing library! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions