diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2012-12-18 23:09:59 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-12-21 10:16:07 +0000 |
commit | e84dc2603532f4577bd42846191a530f3abd2e48 (patch) | |
tree | a6171fe55e720787bde849285da32719cede57bf /nova/exception.py | |
parent | a359b644c1f28b9a2e24aecc9f6f8d6581354f0f (diff) | |
download | nova-e84dc2603532f4577bd42846191a530f3abd2e48.tar.gz nova-e84dc2603532f4577bd42846191a530f3abd2e48.tar.xz nova-e84dc2603532f4577bd42846191a530f3abd2e48.zip |
Refactor libvirt VIF classes to reduce duplicate code
Irrespective of the VIF driver used, some config parameters are
always identical (mac addr, NIC model). Move creation of the
vconfig.LibvirtConfigGuestInterface instance into a base class,
so VIF driver impls only need to provide their custom data.
Change-Id: I7c9d5357c8ceff6d5eb2c982a7420bc93a7266bf
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions