From: Bastian Blank Subject: Re: [PATCH] hotplug: add openvswitch script Date: Thu, 18 Apr 2013 15:42:42 +0200 Message-ID: <20130418134242.GA22153@waldi.eu.org> References: <1366285840-26601-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1366285840-26601-1-git-send-email-ian.campbell@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: george.dunlap@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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. Bastian -- There's a way out of any cage. -- Captain Christopher Pike, "The Menagerie" ("The Cage"), stardate unknown.