Move common code in VMware nova, cinder and glance drivers into OSLO

Registered by Vipin Balachandran

There is lot of common code between VMware drivers for nova, cinder and glance; for e.g., session management and VIM API invocation code. The current plan is to move the following code in cinder into OSLO:
* session management in api.py
* vim api invocation code in api.py and vim.py
* utility methods defined in vim_util.py
* code for image transfer between glance and VMware servers defined in vmware_images.py, io_util.py and read_write_util.py

note: all file names referred here are located at cinder/volume/drivers/vmware

Blueprint information

Status:
Complete
Approver:
Doug Hellmann
Priority:
Medium
Drafter:
Vipin Balachandran
Direction:
Approved
Assignee:
Vipin Balachandran
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Doug Hellmann
Completed by
Doug Hellmann

Related branches

Sprints

Whiteboard

Proposed refactoring of VMwareAPISession and Vim here: http://lists.openstack.org/pipermail/openstack-dev/2014-February/026525.html
-- Matt Booth

Gerrit topic: https://review.openstack.org/#q,topic:bp/vmware-api,n,z

See:
    https://review.openstack.org/#/c/70761

Addressed by: https://review.openstack.org/74474
    Import necessary files from openstack.common

Addressed by: https://review.openstack.org/74620
    Move utility methods in VMware drivers to OSLO

Addressed by: https://review.openstack.org/74637
    Move VIM API client code in VMware drivers to OSLO

Addressed by: https://review.openstack.org/74641
    Move API invocation code in VMware drivers to OSLO

Addressed by: https://review.openstack.org/74642
    Move read/write handles in VMware drivers to OSLO

Addressed by: https://review.openstack.org/74643
    Move image transfer code in VMware drivers to OSLO

Addressed by: https://review.openstack.org/75039
    Add additional requirement for mulitple changes

----

This appears to be done. Please let me know if I missed a review! - dhellmann

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.