Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Better handling of hardware reservation ID in the device resource #296

Merged
merged 6 commits into from
Dec 2, 2020

Conversation

t0mk
Copy link
Contributor

@t0mk t0mk commented Dec 2, 2020

This is a copy of #293 but targeted to master, not to equinix-metal.

This PR adds Computed (aka read-only) deployed_hardware_reservation_id attribute to the device resource. It can be used to read hw reservation ID when using the "next-available" for picking hw reservation.

It also removes the Computed flag from input attribute hardware_reservation_id, fixing #289.

Signed-off-by: Tomas Karasek <tom.to.the.k@gmail.com>
Signed-off-by: Tomas Karasek <tom.to.the.k@gmail.com>
Signed-off-by: Tomas Karasek <tom.to.the.k@gmail.com>
…ource docs

Signed-off-by: Tomas Karasek <tom.to.the.k@gmail.com>
…s_id

Signed-off-by: Tomas Karasek <tom.to.the.k@gmail.com>
Signed-off-by: Tomas Karasek <tom.to.the.k@gmail.com>
@displague displague merged commit d95f7b8 into master Dec 2, 2020
@displague displague deleted the hw_res_computed_attr_master branch December 7, 2020 23:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants