Skip to content

Add Method to Query Device IDs by Driver #19

@PaulWinterstein

Description

@PaulWinterstein

Is your feature request related to a problem? Please describe.
In scenarios such as performing bulk changes (e.g., adjusting VLANs on all access ports of switches), it is often necessary to first retrieve all devices using a specific driver (e.g., Arista). Currently, the available methods require either a Device ID or the exact device label string, which makes such workflows inconvenient.

Describe the solution you'd like
Introduce a method to query the IDs of inventory devices by driver.

E.g.
list_device_ids_by_driver(driver_id="com.nevion.arista-0.1.0")

->

["device3", "device49", "device56"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions