core: Determine block storage type by user.

Importing a Storage Domain should be determined by the user instead it
will be determined from the meta data.

Change-Id: I6d5076d78eea0960da41a058b4de17bbb01b05f1
Bug-Url: https://bugzilla.redhat.com/1157240
Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
core: Determine file storage type by user.

Importing a Storage Domain should be determined by the user instead it
will be determined from the meta data.
Alao removing unrequired related CDA message, and a test which is not
relevant anymore.

Change-Id: I1251c51b06bcd5f17633a4ad3de2496d5cb77683
Bug-Url: https://bugzilla.redhat.com/1157240
Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
core: Remove redundant Vds call at Add existingFileStorageDomain

Remove redundant getStorageDomainsList VDS call.
The call was used to know if the Storage Exists in the VDSM, but we can
also know that from the next VDS command of getStorageDomainInfo.
Changing the test accordingly

Change-Id: I2294f83eb204cab44b6a52e7c7a763bf107aaa37
Bug-Url: https://bugzilla.redhat.com/1157240
Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
core: Use GetExistingStorageDomainList to fetch all type of Storages

Use GetExistingStorageDomainList to fetch different tpye of storage
type, so user can manipulate the Storage Domain type while importing it.

Change-Id: If3a082e0bddaad745788b9b166f2b17eff0fbd17
Bug-Url: https://bugzilla.redhat.com/1157240
Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
core: Set storage type as set in the paramteres.

1) Set the storage type of the storage after it was fetched from VDSM in
GetExistingStorageDomainListQuery
2) use getStorageDomainsList to be fetched without Storage Domains type.

Change-Id: I9a6f2f22b09de9daffde5e003528324237d6835f
Bug-Url: https://bugzilla.redhat.com/1157240
Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>