clarify virsh net commands

Clarify that net-create deals with a transient virtual
network whereas net-define defines a persistent virtual
network definition and will create the network (xml)
definition file.

Clarify that net-destroy works with both transient and
persistent virtual networks.

Signed-off-by: Gene Czarcinski <gene@czarc.net>
This commit is contained in:
Gene Czarcinski 2013-03-16 13:36:32 -04:00 committed by Eric Blake
parent 476d8f975d
commit 2e1cd8900f

View File

@ -2034,19 +2034,20 @@ The I<--disable> option disable autostarting.
=item B<net-create> I<file> =item B<net-create> I<file>
Create a virtual network from an XML I<file>, see the documentation at Create a transient (temporary) virtual network from an
L<http://libvirt.org/formatnetwork.html> to get a description of the XML I<file> and instantiate (start) the network.
XML network format used by libvirt. See the documentation at L<http://libvirt.org/formatnetwork.html>
to get a description of the XML network format used by libvirt.
=item B<net-define> I<file> =item B<net-define> I<file>
Define a virtual network from an XML I<file>, the network is just defined but Define a persistent virtual network from an XML I<file>, the network is just
not instantiated. defined but not instantiated (started).
=item B<net-destroy> I<network> =item B<net-destroy> I<network>
Destroy (stop) a given virtual network specified by its name or UUID. This Destroy (stop) a given transient or persistent virtual network
takes effect immediately. specified by its name or UUID. This takes effect immediately.
=item B<net-dumpxml> I<network> [I<--inactive>] =item B<net-dumpxml> I<network> [I<--inactive>]