Skip to content

Feature Request: Support for user keys #1465

@vosdev

Description

@vosdev

In LXD the only form of tagging we have are via the user.* keys.

https://documentation.ubuntu.com/lxd/latest/reference/instance_options/#instance-miscellaneous:user.*

These are key=value options that can be configured on an instance or profile.

Currently these are nowhere to be found in the UI. I've requested support for the search function for user keys here: #1453

But I think it would also be fitting to display the user keys in the overview of an instance. For example they can be displayed in a table like Networks, Devices and Profiles.

Also the ability to edit the values in the configuration section is missing. Currently it's only possible via the YAML editor. I understand this is a design challenge as both the key and value are a free form field.

Played around a bit with the html of my lxd ui:

Image

I placed them at the bottom in my example. I don't know if a better place would be higher up or somewhere else.

Another option would be this:, but then it would perhaps be a bit harder to optionally link to the profile it's coming from:

Image

With the profile chip added:

Image

The whole table could be hidden if there are no userkeys/tags to keep it clean for users that do not make use of this feature :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions