gnt-instance: new hypervisor parameter 'vif_type'
authorHelga Velroyen <helgav@google.com>
Mon, 29 Apr 2013 15:04:29 +0000 (17:04 +0200)
committerHelga Velroyen <helgav@google.com>
Tue, 30 Apr 2013 07:28:08 +0000 (09:28 +0200)
commit0544084580b272851247afb088e2714104f28314
treeca936321274a2dcfcd17c8b5e856c613763bb296
parent3e0c2a24a53823b36a2cd5f8a79393fcd9c998a1
gnt-instance: new hypervisor parameter 'vif_type'

This patch fixes issue 247. It empowers the user to specify
explicitly the vif type of a nic configuration of a Xen HVM
instance. This includes the option of setting it to '' on the
commandline, causing Ganeti to leave out the 'type' parameter
in the vif configuration completely.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/constants.py
lib/hypervisor/hv_xen.py