[PATCH] xenserver: Delete ports by interface name.
[PATCH] xenserver: Delete ports by interface name.

From 7c79588e006eb28e51ca8b715e22abce0c81f5d4 Mon Sep 17 00:00:00 2001
Date: Mon, 22 Feb 2010 16:36:30 -0800
ovs-vsctl command "--if-exists del-port eth0" does nothing if eth0 is on
a bridge as part of a bond, because the bond's port name is not eth0 but
something else.  But interface-reconfigure needs to do that, so this commit
adds that ability to ovs-vsctl and modifies interface-reconfigure to use it.

Signed-off-by: Ben Pfaff <6f50513b21952446fbc8c95a8f361b7aa434b7c7@nicira.com>
Signed-off-by: Ian Campbell <9be92b3dbbd6611e3e4c9209fb3d04b4919e7cca@citrix.com>
---
 utilities/ovs-vsctl.8.in                           |   11 ++++
 utilities/ovs-vsctl.c                              |   55 +++++++++++++------
 ...ensource_libexec_InterfaceReconfigureVswitch.py |    6 +-
 3 files changed, 51 insertions(+), 21 deletions(-)

djs55/xcp-networkd,djs55/xcp-rrdd,simonjbeaumont/xcp-rrdd,robhoes/squeezed,sharady/xcp-networkd,koushikcgit/xcp-networkd,koushikcgit/xcp-rrdd,djs55/xcp-rrdd,djs55/squeezed,sharady/xcp-networkd,johnelse/xcp-rrdd,koushikcgit/xcp-rrdd,koushikcgit/xcp-networkd,djs55/xcp-networkd,johnelse/xcp-rrdd,koushikcgit/xcp-rrdd,simonjbeaumont/xcp-rrdd