Feature #2944

PR #849: network model selection for libvirt

Added by Jeremy Kitchen over 4 years ago. Updated over 4 years ago.

Status:Closed
Priority:Normal
Assigned To:Jeremy Kitchen
Category:VM management
Target version:1.3.0
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-

Description

https://github.com/theforeman/foreman/pull/849

I added support to libvirt VM creation to specify a network model.

As stated, I did this because I needed it. The list is currently hardcoded, not something I like, if need be I can extract the hardcoded list to a Setting.

In my own foreman, it's actually currently a text field, but I think a dropdown would be better.

Associated revisions

Revision 422535a4
Added by Jeremy Kitchen over 4 years ago

fixes #2944 - nic type selection for libvirt

defaults to 'virtio'

I needed this in my own setup because virtio was being buggy and would
crash my apt mirror VM. switching to e1000 fixed.

I don't particularly care for the device models being hardcoded. I would
of course prefer that it be queried from the libvirt itself, but I don't
see a way to do that.

History

#1 Updated by Lukas Zapletal over 4 years ago

  • Category set to VM management
  • Status changed from New to Ready For Testing
  • Assigned To set to Jeremy Kitchen
  • Target version set to 1.3.0

#2 Updated by Anonymous over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF