#NEWLINE# def cleanup( self , context , volume_id ) : #NEWLINE# #INDENT# if self . connected_volume : #NEWLINE# #INDENT# self . iscsi . disconnect_volume ( self . connected_volume . target , self . connected_volume . iqn , self . connected_volume . lun ) #NEWLINE# #UNINDENT# if self . created_masking_view : #NEWLINE# #INDENT# volume = self . cinder_db . get_cinder_volume ( volume_id ) #NEWLINE# self . emc . delete_masking_view ( self . created_masking_view , volume )