xenserver: Delete ports by interface name.
authorBen Pfaff <blp@nicira.com>
Tue, 23 Feb 2010 00:36:30 +0000 (16:36 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 23 Feb 2010 17:51:44 +0000 (09:51 -0800)
commit7c79588e006eb28e51ca8b715e22abce0c81f5d4
treec647c7a608d1b20728d62ec855699a064b077533
parent3b1acc9955fa9c595f6b9e41999aa40041c7b049
xenserver: Delete ports by interface name.

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 <blp@nicira.com>
utilities/ovs-vsctl.8.in
utilities/ovs-vsctl.c
xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py