"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.js" between
horizon-14.0.2.tar.gz and horizon-14.0.3.tar.gz

About: OpenStack Horizon (Optional Service: Dashboard) provides a web-based self-service portal to interact with underlying OpenStack services, such as launching an instance, assigning IP addresses and configuring access controls.
The "Rocky" series (maintained release).

launch-instance-model.service.js  (horizon-14.0.2):launch-instance-model.service.js  (horizon-14.0.3)
skipping to change at line 750 skipping to change at line 750
delete finalSpec.source_type; delete finalSpec.source_type;
delete finalSpec.vol_create; delete finalSpec.vol_create;
delete finalSpec.vol_device_name; delete finalSpec.vol_device_name;
delete finalSpec.vol_delete_on_instance_delete; delete finalSpec.vol_delete_on_instance_delete;
delete finalSpec.vol_size; delete finalSpec.vol_size;
} }
function setFinalSpecBootImageToVolume(finalSpec) { function setFinalSpecBootImageToVolume(finalSpec) {
if (finalSpec.vol_create) { if (finalSpec.vol_create) {
// Specify null to get Autoselection (not empty string) // Specify null to get Autoselection (not empty string)
var deviceName = finalSpec.vol_device_name ? finalSpec.vol_device_name : null;
finalSpec.block_device_mapping_v2 = []; finalSpec.block_device_mapping_v2 = [];
finalSpec.block_device_mapping_v2.push( finalSpec.block_device_mapping_v2.push(
{ {
'device_name': deviceName,
'source_type': bootSourceTypes.IMAGE, 'source_type': bootSourceTypes.IMAGE,
'destination_type': bootSourceTypes.VOLUME, 'destination_type': bootSourceTypes.VOLUME,
'delete_on_termination': finalSpec.vol_delete_on_instance_delete, 'delete_on_termination': finalSpec.vol_delete_on_instance_delete,
'uuid': finalSpec.source_id, 'uuid': finalSpec.source_id,
'boot_index': '0', 'boot_index': '0',
'volume_size': finalSpec.vol_size 'volume_size': finalSpec.vol_size
} }
); );
finalSpec.source_id = null; finalSpec.source_id = null;
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)