The-Nazara-Project / Nazara

A CLI application to create and update machines and VMs in Netbox.
GNU General Public License v3.0
11 stars 2 forks source link

[BUG] Device Update returns `400 Bad Request` #87

Open BytePaws opened 4 weeks ago

BytePaws commented 4 weeks ago

Nazara Version

master

NetBox Version

v3.6.9

NetBox Deployment Type

Docker

Affected Module

API Connection

Bug Description

Currently, attempting to update a device in NetBox returns a 400 Bad Request response. On further inspection, it looks like the primary_ipv4 and primary_ipv6 IP Addresses are assigned to the wrong field. This should be an easy fix.

Expected Behaviour

No response

Steps to Reproduce

  1. Register device in NetBox according to established usage
  2. Execute Nazara again to update the device.

--> See Nazara raise an UnexpectedResponseError and abort execution