Displaying 2 results from an estimated 2 matches for "virnetworkdefupdate".
2014 Aug 05
2
possible to dynamically set/add network domain name?
trying to use virsh net-update to add a domain name
libvirt-1.1.3.5-2.fc20.x86_64
sudo virsh net-update default add domain "<domain name='test'/>" --live
--config
error: this function is not supported by the connection driver: can't
update 'domain' section of network 'default'
is it possible to add a domain using net-update?
2014 Aug 06
0
Re: possible to dynamically set/add network domain name?
...til their DHCP lease expires and they have to renew (assuming that the
guest's lease renewal code is intelligent enough to notice that the
domain has changed).
If the above is acceptable, and you're interesting in adding support for
that much of the functionality, the function to change is
virNetworkDefUpdateDomain() (higher level functions are already setup to
handle restarting dnsmasq). You could follow the examples of other
virNetworkDefUpdate*() functions in the same file.