get_preferred_device_link
Description:
Get the preferred device link matching a given filter and platform.
The filter matches against attributes on the link, not the device.
Parameters:
this |
the deployment entity |
filter |
a device metadata filter |
Returns:
a device, or NULL |