git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'mainstream'
[sliver-openvswitch.git]
/
INSTALL.KVM
diff --git
a/INSTALL.KVM
b/INSTALL.KVM
index
09a8d67
..
aa7ab92
100644
(file)
--- a/
INSTALL.KVM
+++ b/
INSTALL.KVM
@@
-3,12
+3,12
@@
This document describes how to use Open vSwitch with the Kernel-based
Virtual Machine (KVM). This document assumes that you have read and
This document describes how to use Open vSwitch with the Kernel-based
Virtual Machine (KVM). This document assumes that you have read and
-followed INSTALL
.Linux
to get Open vSwitch setup on your Linux system.
+followed INSTALL to get Open vSwitch setup on your Linux system.
Setup
-----
Setup
-----
-First, follow the setup instructions in INSTALL
.Linux
to get a working
+First, follow the setup instructions in INSTALL to get a working
Open vSwitch installation.
KVM uses tunctl to handle various bridging modes, which you can
Open vSwitch installation.
KVM uses tunctl to handle various bridging modes, which you can
@@
-43,7
+43,7
@@
switch='br0'
ovs-vsctl del-port ${switch} $1
--------------------------------------------------------------------
ovs-vsctl del-port ${switch} $1
--------------------------------------------------------------------
-At the end of INSTALL
.Linux, it describes basic usage of creating
+At the end of INSTALL
, it describes basic usage of creating
bridges and ports. If you haven't already, create a bridge named
br0 with the following command:
bridges and ports. If you haven't already, create a bridge named
br0 with the following command:
@@
-58,7
+58,7
@@
Please refer to ovs-vsctl(8) for more details.
Next, we'll start a guest that will use our ifup and ifdown scripts.
Next, we'll start a guest that will use our ifup and ifdown scripts.
- % kvm -m 512 -net nic,maddr=00:11:22:EE:EE:EE -net \
+ % kvm -m 512 -net nic,ma
ca
ddr=00:11:22:EE:EE:EE -net \
tap,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown -drive \
file=/path/to/disk-image,boot=on
tap,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown -drive \
file=/path/to/disk-image,boot=on
@@
-69,7
+69,7
@@
guest will be able to communicate over that bridge.
To get some more information and for debugging you can use Open
vSwitch utilities such as ovs-dpctl and ovs-ofctl, For example:
To get some more information and for debugging you can use Open
vSwitch utilities such as ovs-dpctl and ovs-ofctl, For example:
- % ovs-dpctl show
br0
+ % ovs-dpctl show
% ovs-ofctl show br0
You should see tap devices for each KVM guest added as ports to
% ovs-ofctl show br0
You should see tap devices for each KVM guest added as ports to