Skip to content

Storage daemon DeviceResource: Set autoselect using a ui command#686

Merged
franku merged 17 commits intomasterfrom
dev/franku/master/setdevice-autoselect
Dec 15, 2020
Merged

Storage daemon DeviceResource: Set autoselect using a ui command#686
franku merged 17 commits intomasterfrom
dev/franku/master/setdevice-autoselect

Conversation

@franku
Copy link
Contributor

@franku franku commented Dec 4, 2020

This PR implements the ui command:
setdevice storage=<storage-name> device=<device-name> autoselect=<bool>

It will set the value of DeviceResource::autoselect to false or true, thus dis- or enabling an autochanger from automatically choosing a device during reservation.

@franku franku force-pushed the dev/franku/master/setdevice-autoselect branch 4 times, most recently from 1d07192 to a6416c0 Compare December 5, 2020 17:40
@franku franku changed the title setdevice: autoselect Storage daemon DeviceResource: Set autoselect using a ui command Dec 7, 2020
@franku franku requested a review from pstorz December 7, 2020 09:29
@franku franku marked this pull request as ready for review December 7, 2020 09:30
@franku franku force-pushed the dev/franku/master/setdevice-autoselect branch 15 times, most recently from d1fdc62 to 11100b7 Compare December 11, 2020 10:53
Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

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

I think it makes sense to talk about the introduction of exceptions.

@franku franku force-pushed the dev/franku/master/setdevice-autoselect branch 3 times, most recently from d519127 to 5bf968a Compare December 15, 2020 12:27
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

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

check-sources said: Plugin 'fix copyright year' would modify 'core/src/dird/ua_server.h'
I'll run the tests now.

@franku franku force-pushed the dev/franku/master/setdevice-autoselect branch from 180a96c to 9105010 Compare December 15, 2020 20:06
@franku franku merged commit 1620c8f into master Dec 15, 2020
@franku franku deleted the dev/franku/master/setdevice-autoselect branch December 15, 2020 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants