@classmethod
    @log_deprecated_resource_type
    def transform(cls, clients, resource_config):
        resource_id = resource_config.get("id")
        if not resource_id:
            novaclient = clients.nova()
            resource_id = _id_from_name(resource_config=resource_config,
                                        resources=novaclient.flavors.list(),
                                        typename="flavor")
        return resource_id
Transform the resource config to id.
dataset/ETHPy150Open openstack/rally/rally/task/types.py/FlavorResourceType.transform