convert virt drivers to fully dynamic loading
Progress on bp:virt-driver-cleanup This series of patches converts the virt drivers to loading via importutils making it possible to add a virt driver without changing core code. It deprecates the use of connection_type in favor of a full driver name in compute_driver. Based on email thread with Vish and Jay Pipes on approaches to do this. Change-Id: I48366ec7efc7b095859988e5e6ac5a853b98b8a7
This commit is contained in:
@@ -260,7 +260,7 @@ class ProxyBareMetalTestCase(test.TestCase):
|
||||
self.mox.ReplayAll()
|
||||
|
||||
# Code under test
|
||||
conn = proxy.get_connection(True)
|
||||
conn = proxy.ProxyConnection(True)
|
||||
# TODO(mikalstill): this is not a very good fake instance
|
||||
info = conn.get_info({'name': 'instance-00000001'})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user