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

Define "block-device" key for guest topology HW exposition #2792

Merged
merged 2 commits into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions spec/hardware/disk.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,20 @@ description: |
# String, disk driver requested.
- driver: "well-known disk driver"

The :ref:`/spec/plans/guest-topology` may include the following
fields in its description of the actual guest hardware:

.. code-block::

# String, path to the block device representing this disk.
block-device: "/dev/vda"

.. versionchanged:: 1.32
Added `driver` and `model-name` into specification.

.. versionchanged:: 1.34
Added ``block-device`` into specification.

example:
- |
# Require a disk big enough for testing
Expand All @@ -42,6 +53,19 @@ example:
- model-name: 'PERC H310'
- driver: '~ sas.*'

- |
# Guest topology exposing details about the actual disks
disk:
- size: 21474836480
model-name: PERC H310
driver: megaraid_sas
block-device: /dev/sda

- size: 21474836480
model-name: PERC H310
driver: megaraid_sas
block-device: /dev/sdb

link:
- implemented-by: /tmt/steps/provision/artemis.py
note: "``size`` only"
Expand Down
Loading