From 2089aed03c56d1ecf641f93e4b691cb8e961ce8c Mon Sep 17 00:00:00 2001 From: Jose Saldana Date: Wed, 11 May 2016 12:43:12 +0200 Subject: [PATCH] Update init_ovs.sh To set up the bridge br0 after creating it. --- scripts_start_ap_odin/script_start_ovs.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts_start_ap_odin/script_start_ovs.sh b/scripts_start_ap_odin/script_start_ovs.sh index 1181040..404d887 100644 --- a/scripts_start_ap_odin/script_start_ovs.sh +++ b/scripts_start_ap_odin/script_start_ovs.sh @@ -55,6 +55,11 @@ ovs-vswitchd tcp:$MYIP:$TCP_PORT_OVS --pidfile=ovs-vswitchd.pid --overwrite-pidf # Create the bridge and pass in some configuration options $VSCTL add-br $SW + +# In OpenWrt 15.05 the bridge is created down +ifconfig $SW up + +#optional: define the version of OpenFlow to be used #$VSCTL set bridge $SW protocols=OpenFlow10 #Configure the switch to have an OpenFlow Controller. This will contact the controller.