diff options
| author | Sean Dague <sdague@linux.vnet.ibm.com> | 2012-06-14 17:06:48 -0400 |
|---|---|---|
| committer | Sean Dague <sdague@linux.vnet.ibm.com> | 2012-06-14 17:15:24 -0400 |
| commit | 1fb23610eb47e4b6d181901fff59b4b30ac2aaad (patch) | |
| tree | 89dd03b30a9bb7f33a351523920900176bcfadba /openstack/common/plugin | |
| parent | 23d78dddf216cba0471b092fa615e6da6b1b4ebb (diff) | |
| download | oslo-1fb23610eb47e4b6d181901fff59b4b30ac2aaad.tar.gz oslo-1fb23610eb47e4b6d181901fff59b4b30ac2aaad.tar.xz oslo-1fb23610eb47e4b6d181901fff59b4b30ac2aaad.zip | |
add import_object_ns function
To support bp:virt-driver-cleanup, there is a desire to have shorter
driver strings (i.e. libvirt.LibvirtDriver instead of
nova.virt.libvirt.LibvirtDriver). One way to support this is with
a new import_object variant that takes a namespace to load from.
If the code fails to load the driver in the prefered namespace it
will also try loading the full driver path, before throwing an
exception.
Change-Id: Ib97c92f38685ca89f29890f8015fc413acc744f8
Diffstat (limited to 'openstack/common/plugin')
0 files changed, 0 insertions, 0 deletions
