def get_vm_by_flavor(self, flavor):
        for vm_obj in self.vms.values():
            if vm_obj.flavor == flavor:
                return vm_obj
Returns vm with flavor provided from this node
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/condensation/node.py/Node.get_vm_by_flavor