Add vSphere logic to determine volume_types.
The scan_for_attachements method needs to scan multiple files if they exist.
Create method to scan for volume detachement.
In create_volume method and on vsphere, verify that an existing volume type is provided.
- Under vSphere, rescan for added volumes.
- In get_current_devices, pass in an option to find attached devices using the API.
- Update get_next_device and device_letter_exclusions to use the device naming scheme for vSphere.
device_letter_exclusions should return an empty array for clouds with no drive letter exclusions.
- vSphere requires some manual tasks to inform the system when a volume has been added or removed.
- Fix bug in get_current_devices to return the correct value.
- Fix issue in get_next_device to return the correct device name.
Fixed typo.
Reading from the device that is not physically attached returns an error. Rescue the error and determine device is no longer attached.
Update rspec tests and address a few deprecation warnings.
Update rspec tests to use built-in matches.
Remove having a default volume type in vsphere if volume type is not provided.
Corrected the number of devices available for vsphere.
Updated comments.
Changed method arg for get_current_devices from string to symbol.
Following coding standard to use {} for single line blocks. [skip-ci]
Iteration after code review.
More comment details in scan_for_detachements.
Update rspec with vsphere conditions.
Coding standard fixes.