diff --git a/tools/virsh.pod b/tools/virsh.pod index 0212e7a011..ee8e6d0a00 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -2507,51 +2507,79 @@ Likewise, I<--shareable> is an alias for I<--mode shareable>. [[[I<--live>] [I<--config>] | [I<--current>]] | [I<--persistent>]] [I<--target target>] [I<--mac mac>] [I<--script script>] [I<--model model>] [I<--inbound average,peak,burst,floor>] [I<--outbound average,peak,burst>] -[I<--print-xml>] +[I<--managed>] [I<--print-xml>] + +Attach a new network interface to the domain. + +B can be one of the: + +=over 4 + +I to indicate connection via a libvirt virtual network, + +I to indicate connection via a bridge device on the host, -Attach a new network interface to the domain. I can be -I to indicate connection via a libvirt virtual network, or -I to indicate connection via a bridge device on the host, or I to indicate connection directly to one of the host's network -interfaces or bridges. I indicates the source of the -connection (the name of a network, or of a bridge device, or the -host's network interfaces or bridges). I is used to specify -the tap/macvtap device to be used to connect the domain to the -source. Names starting with 'vnet' are considered as auto-generated -and are blanked out/regenerated each time the interface is attached. -I specifies the MAC address of the network interface; if a MAC +interfaces or bridges, + +=back + +B indicates the source of the connection. The source depends +on the type of the interface: + +=over 4 + +I name of the virtual network, + +I the name of the bridge device, + +I the name of the host's interface or bridge, + +=back + +B<--target> is used to specify the tap/macvtap device to be used to +connect the domain to the source. Names starting with 'vnet' are +considered as auto-generated and are blanked out/regenerated each +time the interface is attached. + +B<--mac> specifies the MAC address of the network interface; if a MAC address is not given, a new address will be automatically generated (and stored in the persistent configuration if "--config" is given on -the commandline). I