       position++
 
       params = {
-        vm: $scope.VM.UUID
-        network: network.UUID
+        vm: $scope.VM.id
+        network: network.id
         position: String(position) # TODO
         mtu: String(mtu) || String(network.mtu)
       }

      {CPUs, memory, name_label, name_description, high_availability, auto_poweron} = $data

      $data = {
        id: VM.UUID
      }
      if memory isnt $scope.memorySize and (memory = sizeToBytesFilter memory)
        $data.memory = memory

        bootable
        mode : if (readonly || !isFreeForWriting(vdi)) then 'RO' else 'RW'
        position: String(position)
        vdi: vdi.id
        vm: $scope.VM.id
      }

      console.log(params)
