yahoo/Openstack-DevstackPy — Issue #66: Subclasses vs distro specifics
Author: harlowja
Created: 2012-03-08 01:51:00+00:00
State: open

In some places certain small tables are used for distrobution specific actions.

For example:

https://github.com/yahoo/Openstack-DevstackPy/blob/master/devstack/components/db.py#L41
or
https://github.com/yahoo/Openstack-DevstackPy/blob/master/devstack/components/nova.py#L199
....

Blah!
Maybe for these we should have a common base class (that has the common stuff)
and then a subdir of components for each distro ie components/rhel6/ that has the specifics.

Then in https://github.com/yahoo/Openstack-DevstackPy/blob/master/devstack/progs/common.py#L140 which is used to get the instance class the distro there can be used (if provided) to get the specific class.