     virtual_size: size
     type: 'user'
     SR: SR.ref
-    sharable : false
-    read_only : false
+    sharable: false
+    read_only: false
     other_config: {}
   }
 

    mode: 'RW'
    type: 'Disk'
    userdevice: position
    bootable : false
    empty : false
    other_config: {}
    qos_algorithm_type: ''
    qos_algorithm_params: {}


  return true

exports.addDisk.permission = 'admin'
exports.addDisk.params = {
  bootable: {
    type: 'boolean'
    optional: true
  }
  vm: { type: 'string' }
  name: { type: 'string' }
  position: { type: 'string' }
  size: { type: 'string' }
  sr: { type: 'string' }
}
