Skip to content

Netbox2netshot isn't compatible with latest netshot due to changed type of mgmtAddress #19

@michaelarnauts

Description

@michaelarnauts

When running netbox2netshot with the latest netshot, I get the following error:

INFO [netbox2netshot] Getting devices list from Netshot
Error: error decoding response body: invalid type: string "10.252.201.209", expected struct ManagementAddress at line 1 column 108

Caused by:
    invalid type: string "10.252.201.209", expected struct ManagementAddress at line 1 column 108

This seems to be caused by this change: netfishers-onl/Netshot@fcfb152

I don't know any rust, but it seems straightforward to map the mgmtAddress to a string instead of a ManagementAddress. I'll try to create a PR for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions