Skip to content

Unable to select Virtual Machines in the Device field when creating an instance #175

@SerhiiZahuba

Description

@SerhiiZahuba

Plugin version

v0.4.2

NetBox version

v4.5.8

Python version

3.11

Steps to Reproduce

Bug description

When creating a new instance in the plugin, the Device field allows selecting only physical devices from NetBox.
It is not possible to select a Virtual Machine, even though VM-based routing instances are also a valid use case.

Steps to reproduce

  1. Open the plugin UI
  2. Create a new instance
  3. Try to select an object in the Device field
  4. Observe that only hardware devices are available
  5. Virtual Machines from NetBox are missing from the selection

Expected Behavior

Expected behavior

The Device field should allow selecting:

  • physical devices
  • virtual machines

Or, alternatively, there should be a separate field/mechanism for choosing either a Device or a Virtual Machine.

Observed Behavior

Actual behavior

Only physical devices are available in the selection list.
Virtual Machines do not appear and cannot be assigned to the instance.

Image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions