def get_network_profiles(self, context, filters=None, fields=None):
        if (context.is_admin or
            not cfg.CONF.ml2_cisco_n1kv.restrict_network_profiles):
            return self._get_collection(context, n1kv_models.NetworkProfile,
                                        self._make_network_profile_dict,
                                        filters=filters, fields=fields)
        return self._get_network_collection_for_tenant(context.session,
                                                       n1kv_models.
                                                       NetworkProfile,
                                                       context.tenant_id)
Gets a given URL from the Munki server.
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/ml2/drivers/cisco/n1kv/network_profile_service.py/NetworkProfile_db_mixin.get_network_profiles--crossover with--dataset/ETHPy150Open munki/munki/code/client/munkilib/updatecheck.py/getResourceIfChangedAtomically