[libvirt] [PATCH] virsh: new net-update command

Eric Blake eblake at redhat.com
Thu Sep 20 00:06:12 UTC 2012


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 at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120919/233bdaef/attachment-0001.sig>


More information about the libvir-list mailing list