Skip to content

Issue Creating Device with Primary IP #73

@Dark-Helmet1

Description

@Dark-Helmet1

Diode SDK Python version

v1.5.0

Diode version

v1.8.0

Diode NetBox Plugin version

v1.6.0

NetBox version

v4.3.7

Steps to reproduce

I'm probably doing this wrong, but what is the best way to create a new device with a primary_ip4 set?

To synchronize a device I'm doing the following steps:

  1. Create Device Entity
  2. Create interfaces using the device entity
  3. Create IP addresses using the correct interface entity

Based on the docs it appears that the Device entity can take a string as primary_ip4 eg 10.10.10.10/32, but when I try that the device does not show up in Netbox when it is being created. The issue only seems to happen when creating the device. If the device is there without a primary_ip4 set using the string in the primary_ip4 field works.

Expected behavior

Device gets created with primary_ip4 set

Observed behavior

Device does not get created

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus: needs triageThis issue is awaiting triage by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions