On 09/19/2012 12:08 PM, Laine Stump wrote:
This new virsh command uses the new virNetworkUpdate() API to modify
an existing network definition, and optionally have those
modifications take effect immediately without restarting the network.
An example usage:
virsh net-update add-last ip-dhcp-host \
Missing $net between the 'net-update' and 'add-last' args.
--xml "<host mac='00:11:22:33:44:55'
ip='192.168.122.45'/>" \
--live --config
If you like, you can instead put the xml into a file, and call like
this:
virsh net-update add-last ip-dhcp-host \
Likewise (I stopped checking past this point).
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org