Bug 1403349

Summary: RFE: option to set static DNS/DHCP mapping for VM in <network> XML
Product: [Community] Virtualization Tools Reporter: Peter Tselios <tselios.petros>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, gscrivan, ibaldo
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-26 18:26:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Peter Tselios 2016-12-09 19:03:55 UTC
Description of problem:
Currently there is no way to manage DNS & DHCP reservations from virt-manager. 

Version-Release number of selected component (if applicable):
All

How reproducible:
Always

Steps to Reproduce:
1. Create a new VM. 
2. Power cycle the VM
3. Restart livbrtd

Actual results:
VMs get a new IP. If you want to reserve an IP/Hostname, you need to manually add it in the desired network.

Expected results:
I believe it would ideal to have an option (check box?) when we create/edit a VM to reserve a DHCP. 

Additional info:

Comment 1 Cole Robinson 2019-06-15 18:35:30 UTC
Thanks for the suggestion. The next version of virt-manager will have an option to manually edit the <network> XML in the UI, so there's at least a manual way to type in dns/dhcp mappings. I do think it's worth considering adding a simpler way to do this though, maybe from the VM details 'network' page.

Comment 2 Cole Robinson 2020-01-26 18:26:43 UTC
I think the XML editor has to be sufficient here. Given current virt-manager dev resources I don't expect there to be any explicit UI added for this.
Closing as CURRENTRELEASE