[PATCH] vswitch: interface-reconfigure: bring down physical interfaces
[PATCH] vswitch: interface-reconfigure: bring down physical interfaces

From df9a459ab60259b88610ac781889f69b73fbffad Mon Sep 17 00:00:00 2001
Date: Thu, 25 Feb 2010 16:15:13 +0000
This should be done when bringing down the last PIF which uses a
datapath in order to account for VLAN PIFs sharing a datapath.

The logic in bring_down() already acounts for this requirement by
clearing the dp variable if the datapath is still required so if we
get as far as deconfiguring that datapath then it is also correct to
bring down the physical devices.

With unit test suite update by Ben Pfaff.

Signed-off-by: Ian Campbell <9be92b3dbbd6611e3e4c9209fb3d04b4919e7cca@citrix.com>
---
 ...ensource_libexec_InterfaceReconfigureVswitch.py |    7 +++++++
 2 files changed, 17 insertions(+), 0 deletions(-)

Frezzle/xen-api,anoobs/xen-api,euanh/xen-api,djs55/xen-api,euanh/xen-api,salvocambria/xen-api,jjd27/xen-api,koushikcgit/xen-api,cheng-z/xen-api,simonjbeaumont/xen-api,thomassa/xen-api,djs55/xen-api,rafalmiel/xen-api,vasilenkomike/xen-api,agimofcarmen/xen-api,euanh/xen-api,robertbreker/xen-api,cheng-z/xen-api,euanh/xen-api,koushikcgit/xen-api,ravippandey/xen-api,djs55/xen-api,agimofcarmen/xen-api,rafalmiel/xen-api,huizh/xen-api,ravippandey/xen-api,guard163/xen-api,simonjbeaumont/xen-api,jjd27/xen-api,cheng-z/xen-api,srowe/xen-api,cheng--zhang/xen-api,koushikcgit/xen-api,huizh/xen-api,ravippandey/xen-api,ravippandey/xen-api,robertbreker/xen-api,robertbreker/xen-api,srowe/xen-api,salvocambria/xen-api,Frezzle/xen-api,djs55/xen-api,agimofcarmen/xen-api,guard163/xen-api,cheng--zhang/xen-api,thomassa/xen-api,huizh/xen-api,thomassa/xen-api,robertbreker/xen-api,rafalmiel/xen-api,thomassa/xen-api,cheng--zhang/xen-api,cheng-z/xen-api,agimofcarmen/xen-api,Frezzle/xen-api,vasilenkomike/xen-api,rafalmiel/xen-api,guard163/xen-api,huizh/xen-api,koushikcgit/xen-api,euanh/xen-api,anoobs/xen-api,simonjbeaumont/xen-api,cheng--zhang/xen-api,jjd27/xen-api,cheng--zhang/xen-api,salvocambria/xen-api,djs55/xen-api,agimofcarmen/xen-api,Frezzle/xen-api,koushikcgit/xen-api,srowe/xen-api,guard163/xen-api,salvocambria/xen-api,srowe/xen-api,vasilenkomike/xen-api,anoobs/xen-api,thomassa/xen-api,ravippandey/xen-api,cheng-z/xen-api,guard163/xen-api,huizh/xen-api,anoobs/xen-api,robertbreker/xen-api,vasilenkomike/xen-api,salvocambria/xen-api,Frezzle/xen-api,simonjbeaumont/xen-api,robertbreker/xen-api,jjd27/xen-api,vasilenkomike/xen-api,srowe/xen-api,jjd27/xen-api,euanh/xen-api,djs55/xen-api,vasilenkomike/xen-api,koushikcgit/xen-api,anoobs/xen-api,simonjbeaumont/xen-api,jjd27/xen-api,rafalmiel/xen-api,simonjbeaumont/xen-api,thomassa/xen-api,agimofcarmen/xen-api,anoobs/xen-api,guard163/xen-api,cheng--zhang/xen-api,rafalmiel/xen-api,huizh/xen-api,ravippandey/xen-api,cheng--zhang/xen-api,salvocambria/xen-api,cheng-z/xen-api,cheng-z/xen-api