#NEWLINE# def _get_quota_info( self , quota ) : #NEWLINE# #INDENT# cinder_quota = self . cinder_quotas . first ( ) #NEWLINE# neutron_quota = self . neutron_quotas . first ( ) #NEWLINE# quota_data = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for field in quotas . NOVA_QUOTA_FIELDS : #NEWLINE# #INDENT# quota_data [ field ] = int ( quota . get ( self ) . limit ) #NEWLINE# #UNINDENT# for field in quotas . CINDER_QUOTA_FIELDS : #NEWLINE# #INDENT# quota_data [ field ] = int ( cinder_quota . get ( field ) . limit ) #NEWLINE# #UNINDENT# for field in quotas . NEUTRON_QUOTA_FIELDS : #NEWLINE# #INDENT# quota_data [ field ] = int ( neutron_quota . get ( field ) . limit ) #NEWLINE# #UNINDENT# return quota_data