CA-105009: extending get_device_by_network to handle the case where bonds 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>
Merge pull request #10 from rdobson/ca-105009

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