netbox: inventory: Fix config context for VMs #53898
Use correct API path for virtual machines. The ID is not globally unique so the decision between devices and VMs need to be done within the plugin.
Netbox inventory plugin
API path for devices: /api/dcim/devices/<device_id>
Currently the only differentiation seems to be the naming of the role variable ('device_role' for devices and 'role' for VMs).