]> git.ipfire.org Git - thirdparty/libvirt.git/commit
link-state: virsh: Add wrapper commands for changing link state
authorPeter Krempa <pkrempa@redhat.com>
Tue, 6 Sep 2011 08:31:59 +0000 (16:31 +0800)
committerDaniel Veillard <veillard@redhat.com>
Tue, 6 Sep 2011 08:31:59 +0000 (16:31 +0800)
commitdc675f378975c364645101224cf589952df9a363
treef34260a7dc22a8e4b8b6eca1d12fd7fc5d531841
parente0a07bb1f214fccafee3940f18273bf4ba8946f7
link-state: virsh: Add wrapper commands for changing link state

Two new commands are added to virsh that wrap usage of
virDomainUpdateDeviceFlags for changing link state of domain's network
interfaces. These wrappers extract network devices's xml configuration
and modify the link state for easy manipulation from an user's perspective.

 - domif-setlink - set link state of a domains virtual network interface
 - domif-getlink - get link state

* tools/virsh.c   - Add functionality to virsh
* tools/virsh.pod - Manpage documentation
tools/virsh.c
tools/virsh.pod