Skip to content

Getting a TableNode #48

Open
Open
@stampflit

Description

@stampflit

There are multiple types in the models package such as TableNode. There is no function that can be used to obtain them as far as I can see. TableNode looks useful, in particular for usage with https://github.com/sleepinggenius2/snmpquery/blob/master/table.go for multiple indices. I can manually construct the ScalarNodes, then RowNode, then ColumnNode and finally TableNode, but this functionality is centered around implementation specifics in gosmi and therefore fit to be offered by the module.

Maybe I'm missing something. But it looks to me like this is only halfways finished.

  • Are there some pointers on how to work with these types? Maybe even some examples / snippets
  • Are contributions to this functionality wanted / needed?

And somewhat related: What's the state of https://github.com/sleepinggenius2/snmpquery/ ? There aren't any examples or tests, so I have no idea whether the code in that repo is in a working state.

Thank you for all your work on the gosmi library. The whole golang snmp ecosystem relies on your work. I hope that this library will continue to exist and become more approachable to use. I don't intend to take up too much of your time with my question and appreciate your help.

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