diff options
| author | Devananda van der Veen <devananda.vdv@gmail.com> | 2013-01-08 09:39:37 -0800 |
|---|---|---|
| committer | Devananda van der Veen <devananda.vdv@gmail.com> | 2013-01-08 09:39:37 -0800 |
| commit | fd1d9015495713f33f8a2b9ca226f9bc2f4068b3 (patch) | |
| tree | b1e0a553ac8f4b7fcbecdbf8bb366cf8cdbb3cb3 /nova | |
| parent | 356c08bfc4b12c8e82f4cbd5d7e96a075106532d (diff) | |
| download | nova-fd1d9015495713f33f8a2b9ca226f9bc2f4068b3.tar.gz nova-fd1d9015495713f33f8a2b9ca226f9bc2f4068b3.tar.xz nova-fd1d9015495713f33f8a2b9ca226f9bc2f4068b3.zip | |
Fix baremetal VIFDriver
Commit Id287f7e661 removed the nova/virt/vif.py file and the VIFDriver
base class, and erroneously stated in its commit message that baremetal
driver did not use it. This patch repeats the work of that earlier patch
by removing the import of nova.virt.vif from baremetal/vif_driver.py.
blueprint general-bare-metal-provisioning-framework
Change-Id: Ifac9510a72a028dc5d3574148f3c4a6410b1d249
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/virt/baremetal/vif_driver.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/virt/baremetal/vif_driver.py b/nova/virt/baremetal/vif_driver.py index 2dc03410b..08e68c250 100644 --- a/nova/virt/baremetal/vif_driver.py +++ b/nova/virt/baremetal/vif_driver.py @@ -18,14 +18,13 @@ from nova import exception from nova.openstack.common import cfg from nova.openstack.common import log as logging from nova.virt.baremetal import db as bmdb -from nova.virt.vif import VIFDriver CONF = cfg.CONF LOG = logging.getLogger(__name__) -class BareMetalVIFDriver(VIFDriver): +class BareMetalVIFDriver(object): def _after_plug(self, instance, network, mapping, pif): pass |
