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

2012-09-20 Thread Laine Stump
On 09/20/2012 12:55 PM, Eric Blake wrote: > On 09/20/2012 09:05 AM, 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. >> >>

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

2012-09-20 Thread Eric Blake
On 09/20/2012 09:05 AM, 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 mynet

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

2012-09-20 Thread Laine Stump
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 mynet add-last ip-dhcp-host \ "" \ --live --config If yo

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

2012-09-20 Thread Daniel P. Berrange
On Wed, Sep 19, 2012 at 12:32:18PM -0600, Eric Blake wrote: > 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 restartin

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

2012-09-19 Thread Eric Blake
On 09/19/2012 06:04 PM, Laine Stump wrote: >>> +{"xml", VSH_OT_BOOL, 0, N_("xml is specified directly on >>> commandline")}, >>> +{"file", VSH_OT_BOOL, 0, N_("file containing xml is specified on >>> commandline")}, >>> +{"xmldata", VSH_OT_DATA, VSH_OFLAG_REQ, >>> + N_("complete x

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

2012-09-19 Thread Eric Blake
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-la

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

2012-09-19 Thread Laine Stump
On 09/19/2012 02:32 PM, Eric Blake wrote: > 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. >> >>

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

2012-09-19 Thread Eric Blake
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. > > + > +static const vshCmdOptDef opts_network_upd

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

2012-09-19 Thread Laine Stump
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 \ --xml "" \ --live --config If yo