summaryrefslogtreecommitdiffstats
path: root/docs/vswitch_test.sh
diff options
context:
space:
mode:
authorPaul Barrette <paul.barrette@windriver.com>2013-06-03 17:02:27 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-06-03 18:07:39 -0400
commit8499649a5f08e0be26ea6ef8a3feea5d97e80fa7 (patch)
tree1011104df21888bf1f8b042e03665135ebcf518c /docs/vswitch_test.sh
parent7c1e073e8cde367417ca59f37cb2f5af650eea6f (diff)
downloadmeta-virtualization-8499649a5f08e0be26ea6ef8a3feea5d97e80fa7.tar.gz
openvswitch: uprev to 1.10 and documentation update.
-Uprev to 1.10 -removed vswitch_test.sh -added openvswitch.txt. Signed-off-by: Paul Barrette <paul.barrette@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'docs/vswitch_test.sh')
-rwxr-xr-xdocs/vswitch_test.sh36
1 files changed, 0 insertions, 36 deletions
diff --git a/docs/vswitch_test.sh b/docs/vswitch_test.sh
deleted file mode 100755
index 63168e38..00000000
--- a/docs/vswitch_test.sh
+++ /dev/null
@@ -1,36 +0,0 @@
1#!/bin/sh
2
3# runqemu defaults for the first "guest"
4#
5my_inet4="192.168.7.2"
6my_gw="192.168.7.1"
7
8# create a bridge
9#
10ovs-vsctl add-br br-int
11
12# Add a physical interface to your virtual bridge for connectivity off box.
13# If your rootfs is nfs mounted (on eth0), you will die after attaching it
14# to the bridge.
15#
16ovs-vsctl add-port br-int eth0
17
18# Zero out your eth0 interface and slap it on the bridge interface.
19#
20ifconfig eth0 0
21ifconfig br-int ${my_inet4} netmask 255.255.255.0
22
23# Change your default route. If you don't do this, nothing will
24# be reachable.
25#
26route add default gw ${my_gw} br-int
27
28(You can then check that the connection works.)
29
30# The bridge configuration is persistant, so if something goes wrong
31# and you reboot, it will still be messed up. Destroy the bridge,
32# then add a route, or reboot.
33#
34ovs-vsctl del-br br-int
35ifconfig eth0 ${my_inet4}
36route add default gw ${my_gw} eth0