#NEWLINE# def _get_instance_type( self , name ) : #NEWLINE# #INDENT# instance_types = { #NEWLINE# #INDENT# 'm1.tiny' : dict ( memory_mb = 512 , vcpus = 1 , local_gb = 0 , flavorid = 1 ) , #NEWLINE# 'm1.small' : dict ( memory_mb = 2048 , vcpus = 1 , local_gb = 20 , flavorid = 2 ) , #NEWLINE# 'm1.medium' : dict ( memory_mb = 4096 , vcpus = 2 , local_gb = 40 , flavorid = 3 ) , #NEWLINE# 'm1.large' : dict ( memory_mb = 8192 , vcpus = 4 , local_gb = 80 , flavorid = 4 ) , #NEWLINE# 'm1.xlarge' : dict ( memory_mb = 16384 , vcpus = 8 , local_gb = 160 , flavorid = 5 ) , #NEWLINE# #UNINDENT# } #NEWLINE# return instance_types [ self ]