modified CCL_compute_device_list to also be able to return network
devices