X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=utilities%2Fovs-save;h=b46f98d3b1a39ef3592d2de2fca1aca7d1ecf32b;hb=fba6bd1d3f;hp=16ac87982434f1f86adcaef6a63b663c52210bce;hpb=cff78c8844bcce7c6b20fe30d56b5509232039d2;p=sliver-openvswitch.git diff --git a/utilities/ovs-save b/utilities/ovs-save index 16ac87982..b46f98d3b 100755 --- a/utilities/ovs-save +++ b/utilities/ovs-save @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (c) 2011 Nicira, Inc. +# Copyright (c) 2011, 2013 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -177,7 +177,7 @@ save_flows () { } ovs_vsctl () { - ovs-vsctl --no-wait --timeout=1 "$@" + ovs-vsctl --no-wait "$@" } save_ofports () @@ -191,7 +191,7 @@ save_ofports () count=0 for iface in `ovs_vsctl list-ifaces ${bridge}`; do ofport=`ovs_vsctl get interface ${iface} ofport` - [ "${count}" -eq 0 ] && cmd="ovs-vsctl --no-wait --timeout=1" + [ "${count}" -eq 0 ] && cmd="ovs-vsctl --no-wait" cmd="${cmd} -- --if-exists set interface "${iface}" \ ofport_request="${ofport}""