Select correct boot source when launching instance from different sources
When launching instance from snapshot, volume or volume snapshot,
the selected boot source was always image.
This was due to a reset to image boot source when receiving "change allowed boot
sources" event.
From now:
- The "change allowed boot source" event does not flush a preselection
if the preselection boot source type is in the allowed sources.
- Set the bootsource with preselection update correctly the form for each
different type of boot source.
Reviewed: https:/ /review. openstack. org/600399 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=87f5e21b03b db9a1a09a587f2a 3176cc094529b8
Committed: https:/
Submitter: Zuul
Branch: master
commit 87f5e21b03bdb9a 1a09a587f2a3176 cc094529b8
Author: David Gutman <email address hidden>
Date: Thu Sep 6 11:33:09 2018 +0200
Select correct boot source when launching instance from different sources
When launching instance from snapshot, volume or volume snapshot,
the selected boot source was always image.
This was due to a reset to image boot source when receiving "change allowed boot
sources" event.
From now:
- The "change allowed boot source" event does not flush a preselection
if the preselection boot source type is in the allowed sources.
- Set the bootsource with preselection update correctly the form for each
different type of boot source.
Change-Id: I6907652731fa89 b303d997fe2e3c3 31a68f085b6
Closes-bug: #1608565