parameters: (file_path_list, remote_ip, user, password, dest_dir, no_delete=None)
docstring: Copy files to remote node and remove local files
docstring_summary: Copy files to remote node and remove local files
docstring_tokens: Copy files to remote node and remove local files
function: def deploy_ca_certs(file_path_list, remote_ip, user, password, dest_dir, no_delete=None):
          """
          Copy files to remote node and remove local files
          """
          CommonTools.remote_mkdir_with_mode(
              dest_dir, Constant.AUTH_COMMON_DIR_STR, remote_ip, user, password)
  
          for file_path in file_path_list:
              dest_file_path = os.path.join(dest_dir, os.path.basename(file_path))
              status, output = CommonTools.remote_copy_files(
                  remote_ip, user, password, file_path, dest_file_path)
              if status != 0:
                  raise Exception(Errors.EXECUTE_RESULT['gauss_0406'] % (remote_ip, output))
              g.logger.debug('Successfully copy [%s] to remote node[%s]' % (file_path, remote_ip))
          if no_delete:
              file_path_list = [file for file in file_path_list if file not in no_delete]
          CommonTools.remove_files(file_path_list)
function_tokens: def deploy_ca_certs ( file_path_list , remote_ip , user , password , dest_dir , no_delete = None ) : CommonTools . remote_mkdir_with_mode ( dest_dir , Constant . AUTH_COMMON_DIR_STR , remote_ip , user , password ) for file_path in file_path_list : dest_file_path = os . path . join ( dest_dir , os . path . basename ( file_path ) ) status , output = CommonTools . remote_copy_files ( remote_ip , user , password , file_path , dest_file_path ) if status != 0 : raise Exception ( Errors . EXECUTE_RESULT [ 'gauss_0406' ] % ( remote_ip , output ) ) g . logger . debug ( 'Successfully copy [%s] to remote node[%s]' % ( file_path , remote_ip ) ) if no_delete : file_path_list = [ file for file in file_path_list if file not in no_delete ] CommonTools . remove_files ( file_path_list )