def get_network_set(conn, namefilter=''):
    """ Returns a set of the networks in the cloud with namefilter matching """
    net_set = { net.name for net in conn.network.networks()
            if namefilter in net.name }
    return net_set