#NEWLINE# def get_initial( self ) : #NEWLINE# #INDENT# volume_type = self . get_object ( ) #NEWLINE# vol_type_id = self . kwargs [ 'type_id' ] #NEWLINE# cur_qos_spec_id = None #NEWLINE# cur_qos_spec_name = None #NEWLINE# qos_spec = self . find_current_qos_spec_association ( vol_type_id ) #NEWLINE# if qos_spec : #NEWLINE# #INDENT# cur_qos_spec_id = volume_type . id #NEWLINE# cur_qos_spec_name = qos_spec . name #NEWLINE# #UNINDENT# return { #NEWLINE# #INDENT# 'type_id' : vol_type_id , #NEWLINE# 'name' : getattr ( volume_type , 'name' , None ) , #NEWLINE# 'cur_qos_spec_id' : cur_qos_spec_id , #NEWLINE# 'cur_qos_spec_name' : cur_qos_spec_name , #NEWLINE# 'qos_specs' : self . get_qos_specs ( ) , #NEWLINE# #UNINDENT# }