Skip to content

Listing VLANs with L2VPN Termination set is broken on Netbox 4.1. #43

@thorarne

Description

@thorarne

Using this module to list VLANs on a Netbox 4.1 instance will break with error:

json: cannot unmarshal object into Go struct field NestedL2VPN.results.l2vpn_termination.l2vpn.type of type string

if the vlan has l2vpn termination assigned to it.

This is because the connected l2vpn attribute: type has changed from a string to an object.

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