Remove bond-slave filter from PIF.scan
Remove bond-slave filter from PIF.scan

This filter uses sysfs to find out whether an interface is a bond slave. This does not work when the openvswitch backend is used. Besides, it does not seem to be necessary (anymore?) anyway.

PIF.scan creates a new PIF for each interface it finds if this interface is physical and there is no PIF with the same MAC. The slave interfaces always have the same MAC as the bond master PIF (bridging backend) or their "real" MACs as stored in their PIFs (openvswitch backend). Therefore, when a bond is in effect, the MACs of all bond slaves have corresponding PIFs in the DB, so PIF.scan won't create new ones.

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

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