Skip to content

Feature Request: support attribute query mapping #1

@MrPippin66

Description

@MrPippin66

It would be very useful if "systool" provided a query argument for attribute values.

The simplest example being finding all devices of a given class that have a current status

As an example, assuming using a --query option, you could do the following:

systool -c net --query operstate=up

This would simplify finding all devices that have a current status.

As an extension of this request, I'd suggest allowing compound queries which would include the following operations:

! = negation
&& = and
|| = or
() = nested conditional
<, <=, >, => = bound checking

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions