StratusLab / client

Command Line Interface (CLI) for StratusLab cloud services
Apache License 2.0
2 stars 1 forks source link

create interface for volume management #91

Closed loomis closed 11 years ago

loomis commented 11 years ago

The current PersistentDisk class doesn't provide a mechanism for swapping out different implementations of a volume management. This is needed in order to do a transition from the current persistent disk service to using the CIMI implementation.

The factory pattern should be used instead. This allows different concrete classes implementing an interface to be used.