def update_conn_info(conn_info, connector, lookup_service):
 init_targ_map = build_initiator_target_map(connector, conn_info['data']['target_wwn'], lookup_service)
 if init_targ_map:
  conn_info['data']['initiator_target_map'] = init_targ_map

def update_conn_info ( conn_info , connector , lookup_service ) : init_targ_map = build_initiator_target_map ( connector , conn_info [ 'data' ] [ 'target_wwn' ] , lookup_service ) if init_targ_map : conn_info [ 'data' ] [ 'initiator_target_map' ] = init_targ_map
set wwn mapping list to the connection info .