#NEWLINE# @ operation #NEWLINE# def get_instance_ip_of_source_and_target( ctx , **_ ) : #NEWLINE# #INDENT# with update_storage ( ctx ) as data : #NEWLINE# #INDENT# data [ 'mock_operation_invocation' ] = data . get ( 'mock_operation_invocation' , [ ] ) #NEWLINE# data [ 'mock_operation_invocation' ] . append ( ( '{}_source' . format ( ctx . source . node . name ) , _ . source . instance . host_ip ) ) #NEWLINE# data [ 'mock_operation_invocation' ] . append ( ( '{}_target' . format ( ctx . target . node . name ) , ctx . target . instance . host_ip ) ) #NEWLINE# #UNINDENT# return True