#NEWLINE# def get_vm_by_flavor( self , flavor ) : #NEWLINE# #INDENT# '\n            Returns vm with flavor provided from this node\n        ' #NEWLINE# for vm_obj in self . vms . values ( ) : #NEWLINE# #INDENT# if ( vm_obj . flavor == flavor ) : #NEWLINE# #INDENT# return vm_obj