#164 Save generated device name in *StorageDevice instances
Closed: Fixed by frantisekz. Opened by mprchlik.

Both RawStorageDevice and QCow2StorageDevice call next(storage_device_name) in their generate() methods. It would be very useful if this value would be saved in the *StorageDevice attribute, to be available for inspection later.

In tmt, we want to be able to notify test which device belongs to various disks requested via HW requirements. These may have different sizes and properties in general, guessing is much less reliable, therefore reading new *StorageDevice.host_device_path attributes would be very helpful.


@frantisekz PTAL pls

https://pagure.io/testcloud/pull-request/165# should address this.

@mprchlik @mvadkert https://pagure.io/testcloud/pull-request/165# was merged, and testcloud copr ( https://copr.fedorainfracloud.org/coprs/frantisekz/testcloud-wip/build/7374103/ ) contains the build with that PR included.

Please feel free to reopen if the fix isn't sufficient!

Metadata Update from @frantisekz:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata