Refactor the managers for datastores

Registered by Peter Stachowski

There is a large amount of boiler-plate code in each datastore manager. As more managers are added, the time involved in maintaining all this code will continue to grow. To alleviate this, a base manager class needs to be created where all common code can reside.

Within the context of this refactor, the issue with having instances flip in-and-out of BUILD state can be addressed properly. In the absence of a base class, this would have to be implemented in each datastore, potentially leading to bugs in one datastore that don't exist in another.

Blueprint information

Status:
Complete
Approver:
Craig Vyvial
Priority:
High
Drafter:
Peter Stachowski
Direction:
Approved
Assignee:
Peter Stachowski
Definition:
Approved
Series goal:
Accepted for mitaka
Implementation:
Implemented
Milestone target:
milestone icon mitaka-1
Started by
Craig Vyvial
Completed by
Nikhil Manchanda

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/datastore-manager-refactor,n,z

Addressed by: https://review.openstack.org/234461
    Refactor the datastore manager classes

Addressed by: https://review.openstack.org/234462
    Refactor the datastore manager classes (more)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.