CA-40910: Only copy physical PIFs on pool join
CA-40910: Only copy physical PIFs on pool join

On pool join, any bonds or VLANs on the joining host are supposed to be ignored. When the host reboots after the join, it will inherit the bond/VLAN setup from the pool master. Therefore, Bond and VLAN objects are not copied from the joining host to the pool. However, bond and VLAN master PIFs are, with is not good. This patch fixes that.

Signed-off-by: Rob Hoes <8783b3376fb07d39edffc8d7da68a6de3874a7e6@citrix.com>

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