Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use "default" hardware profile #144

Merged
merged 3 commits into from
May 18, 2021
Merged

Do not use "default" hardware profile #144

merged 3 commits into from
May 18, 2021

Conversation

nvthongswansea
Copy link
Member

Ref #141 . The server's field hardware_profile is now computed. The property Default of the field is removed, so that if hardware_profile is empty (not set), the default hardware profile will be determined by the gridscale backend (which is q35 at the moment of writing). Back-compat is kept. However, @bkircher @itakouna please test on your machines to make sure the back-compat works as expected.
Changes:

  • Update server rs docs.
  • Remove property Default of field hardware_profile in server rs.
  • Set field hardware_profile to be computed.

Copy link
Contributor

@bkircher bkircher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Only the documentation string needs a bit of clarification.

website/docs/r/server.html.md Show resolved Hide resolved
@bkircher bkircher changed the title Omit hardware_profile when not set Do not use "default" hardware profile May 9, 2021
@bkircher
Copy link
Contributor

bkircher commented May 9, 2021

Note: changed target branch to v2.

We need to test update behavior from v1.x → v2 for this change.

@bkircher bkircher merged commit 83b7964 into v2 May 18, 2021
@bkircher bkircher deleted the issues-141 branch May 18, 2021 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants