[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Ovirt-devel] [PATCH]: Set forward delay to 0 in "bundled" mode



When you are managing machines on a physical network, we build a bridge and then
plug a real eth device into that bridge.  However, by default there is a 15
second forwarding delay when we first add the device.  To get around this, add
"bridge setfd ovirtbr 0" right before adding the eth device to the bridge.  This
gets rid of the delay.

Signed-off-by: Chris Lalancette <clalance redhat com>
diff --git a/wui-appliance/create-wui-appliance.sh b/wui-appliance/create-wui-appliance.sh
index 650b515..b15cc76 100755
--- a/wui-appliance/create-wui-appliance.sh
+++ b/wui-appliance/create-wui-appliance.sh
@@ -247,6 +247,7 @@ if [ -n "$bridge" ]; then
     echo "Adding new bridge $bridge"
     TMPBRCTL=$(mktemp) || exit 1
     cat > $TMPBRCTL << EOF
+brctl setfd $BRIDGENAME 0
 brctl addif $BRIDGENAME $bridge # $BRIDGENAME
 ifconfig $bridge up # $BRIDGENAME
 EOF

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]