jkoelker / quark

This is my fork, Quark is now at https://github.com/rackerlabs/quark
Apache License 2.0
0 stars 2 forks source link

importutils -> drivers pattern could use some cleanup #136

Closed MattDietz closed 9 years ago

MattDietz commented 11 years ago

Now that we're refactoring the plugin, keep repeating patterns like

from neutron.openstack.common import importutils
from oslo.config import cfg

CONF = cfg.CONF
ipam_driver = (importutils.import_class(CONF.QUARK.ipam_driver))()

Let's clean that up