]> xenbits.xensource.com Git - libvirt.git/commit
virsh: add net-event command
authorEric Blake <eblake@redhat.com>
Sat, 15 Feb 2014 00:19:32 +0000 (17:19 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 20 Feb 2014 23:23:27 +0000 (16:23 -0700)
commitde87691ff0c793e2e96e45f1d5c3f38738354768
treea0707e727305f38460271d4c6a5716038597c637
parent99fa96c39075a56034055535a313b0590e8b09ec
virsh: add net-event command

Add 'virsh net-event --list' and 'virsh net-event [net] --event=name
[--loop] [--timeout]'.  Very similar to 'virsh event'.

* tools/virsh.pod (net-event): Document new command.
* tools/virsh-network.c (vshNetworkEventToString, vshNetEventData)
(vshEventLifecyclePrint, cmdNetworkEvent): New struct and
functions.

Signed-off-by: Eric Blake <eblake@redhat.com>
tools/virsh-network.c
tools/virsh.pod