From: Ian Campbell Subject: Re: [PATCH] hotplug: add openvswitch script Date: Thu, 18 Apr 2013 14:50:21 +0100 Message-ID: <1366293021.19111.18.camel@zakaz.uk.xensource.com> References: <1366285840-26601-1-git-send-email-ian.campbell@citrix.com> <20130418134242.GA22153@waldi.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130418134242.GA22153@waldi.eu.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Bastian Blank Cc: George Dunlap , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Thu, 2013-04-18 at 14:42 +0100, Bastian Blank wrote: > On Thu, Apr 18, 2013 at 12:50:40PM +0100, Ian Campbell wrote: > > + ovs-vsctl --timeout=30 -- --if-exists del-port $dev -- add-port "$bridge" $dev $tag_arg $trunk_arg $vif_details > > + ovs-vsctl --timeout=30 -- --if-exists del-port $dev > > There is some error handling missing. Not sure how to do that correctly. Possibly should either call fatal on error or use the do_or_die helper?