Closed
Description
Deployment Type
Self-hosted
NetBox Version
v3.7.4
Python Version
3.8
Steps to Reproduce
- Attempt to assign an IP to a VM interface by importing it in CSV format, as an example on the online demo:
address,id,virtual_machine,interface,is_primary,status
172.16.0.3/24,33,vm6,eth0,true,active
Into IP Addresses > Import > Direct Import
2. Receive the following error:
<class 'KeyError'>
'device'
Python version: 3.8.10
NetBox version: 3.7.4
Plugins:
netbox_demo: 0.3.1
Expected Behavior
The IP Address to be updated and assigned to the interface on that VM, as well as set as the primary IP. The GUI lists the Primary IP checkbox as being for both devices and VMs, and there is no other listed import field specifically for VMs.
Observed Behavior
Returned a KeyError about missing the "device" field.