Add support for tagging devices
Bug #1743386 reported by
Stéphane Graber
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Go MAAS API Library |
New
|
Undecided
|
Unassigned |
Bug Description
The MAAS API allows for tags on machines/devices but those aren't exposed or modifiable right now through gomaasapi (other than when requesting a new machine).
What I'd like to get is the ability to specify a "lxd" tag when calling CreateDevice() and then be able to filter the devices through DevicesArgs to only show me those that have that "lxd" tag.
This would let LXD and Juju each tag our devices separately, allowing us to compare our internal state to MAAS and clean things up as needed without risking destroying devices that belong to the other.
summary: |
- [gomaasapi] Add support for tagging devices + Add support for tagging devices |
To post a comment you must log in.
I am not sure if this is the best place to report bug or make suggestions for gomaasapi as although we, as Juju, are interested in it and are using it, it feels like this may not be solely on Juju team.
I will keep it as a wishlist for now and see if we can address it as an extra-curriculum activity :)