Feature #2357

DS creation: the core should check ds_type and disk_type

Added by Carlos Martín almost 8 years ago. Updated over 7 years ago.

Status:ClosedStart date:10/02/2013
Priority:NormalDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:Core & System
Target version:Release 4.4
Resolution:fixed Pull request:

Description

Right now, if the template contains something like DISK_TYPE = SOMETHING, instead of returning an error the default FILE is set. This can be confusing if the template contains a typo (e.g. BLOCKK instead of BLOCK) or if the user tries to set a wrong type.

Plus, disk_type is only accepted for IMAGE_DS, but the core won't complain about it.

Associated revisions

Revision a2dd9e97
Added by Ruben S. Montero over 7 years ago

feature #2357: When creating a Datastore, if a wrong DISK_TYPE is specified an error is reported

Revision 836a0baf
Added by Carlos Martín over 7 years ago

Feature #2357: Fix disk_type detection.

By default it is FILE, and now disk_type = file also works.

History

#1 Updated by Ruben S. Montero over 7 years ago

  • Assignee set to Ruben S. Montero

#2 Updated by Ruben S. Montero over 7 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

This is now check, if set for no IMAGE_DS Datastore the attribute is silently removed and no considered.

Also available in: Atom PDF