[networking] Collect a list of active network namespaces.

Useful in Openstack environments.