CA-105009: extending get_device_by_network to handle the case where bond...

...s are in use. Previously we failed to assign a static IP to interfaces connected to a bond due to not following the bond metadata described in the PIF. This is so that we can determine which physical interface is being used.

Signed-off-by: Rob Dobson <rob@rdobson.co.uk>