The-Nazara-Project / Nazara

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

[TASK:] Device Creation: Error IP not linked to device #67

Open ByteOtter opened 4 months ago

ByteOtter commented 4 months ago

Found an issue? Please let us know!

When attempting to create a new device, an error can occur when the collected IP Adresses are not "linked" to a device

{"primary_ip4":["The specified IP address (XXX.XXX.XXX.XXX/XX) is not assigned to this device."]}

From first research this may be linked to a missing Interface object which is not created.

Please tick the applicable box(es) regarding the kind of bug you found:

Steps to reproduce

  1. Create a new IP Adress entry in the NetBox webUI.
  2. Try to register the device using Nazara
  3. Encounter Error