original_docstring: StartBulkVolumeWrite enables you to initialize a bulk volume write session on a specified volume. Only two bulk volume processes can run simultaneously on a volume. When you initialize the write session, data is written to a SolidFire storage volume from an external backup source. The external data is accessed by a web server running on an SF-series node. Communications and server
docstring: StartBulkVolumeWrite enables you to initialize a bulk volume write session on a specified volume. Only two bulk volume processes can run simultaneously on a volume. When you initialize the write session, data is written to a SolidFire storage volume from an external backup source. The external data is accessed by a web server running on an SF-series node. Communications and server
docstring_tokens: StartBulkVolumeWrite enables you to initialize a bulk volume write session on a specified volume . Only two bulk volume processes can run simultaneously on a volume . When you initialize the write session data is written to a SolidFire storage volume from an external backup source . The external data is accessed by a web server running on an SF - series node . Communications and server
code: def startbulkwrite(ctx,
             # Mandatory main parameter
             volumeid,
             # Mandatory main parameter
             format,
             # Optional main parameter
             script = None,
             # Optional main parameter
             scriptparameters = None,
             # Optional main parameter
             attributes = None):
      """StartBulkVolumeWrite enables you to initialize a bulk volume write session on a specified volume. Only two bulk volume processes can run simultaneously on a volume. When you initialize the write session, data is written to a SolidFire storage volume from an external backup source. The external data is accessed by a web server running on an SF-series node. Communications and server"""
      """interaction information for external data access is passed by a script running on the storage system."""
  
      
  
      cli_utils.establish_connection(ctx)
      
      
      
      
  
      kwargsDict = None
      if(scriptparameters is not None and scriptparameters != ()):
          try:
              kwargsDict = simplejson.loads(scriptparameters)
          except Exception as e:
              ctx.logger.error(e.__str__())
              exit(1)
      
  
      kwargsDict = None
      if(attributes is not None and attributes != ()):
          try:
              kwargsDict = simplejson.loads(attributes)
          except Exception as e:
              ctx.logger.error(e.__str__())
              exit(1)
      
  
      
  
      ctx.logger.info(""": """"""volumeid = """ + str(volumeid)+";"+"""format = """ + str(format)+";" + """script = """+str(script)+";" + """scriptparameters = """+str(kwargsDict)+";" + """attributes = """+str(kwargsDict)+""";"""+"")
      try:
          _StartBulkVolumeWriteResult = ctx.element.start_bulk_volume_write(volume_id=volumeid, format=format, script=script, script_parameters=kwargsDict, attributes=kwargsDict)
      except common.ApiServerError as e:
          ctx.logger.error(e.message)
          exit()
      except BaseException as e:
          ctx.logger.error(e.__str__())
          exit()
      if ctx.json:
          print(simplejson.dumps(simplejson.loads(_StartBulkVolumeWriteResult), indent=4))
          return
      else:
          cli_utils.print_result(_StartBulkVolumeWriteResult, ctx.logger, as_json=ctx.json, as_pickle=ctx.pickle, depth=ctx.depth, filter_tree=ctx.filter_tree)
code_tokens: def startbulkwrite ( ctx , volumeid , format , script = None , scriptparameters = None , attributes = None ) : """interaction information for external data access is passed by a script running on the storage system.""" cli_utils . establish_connection ( ctx ) kwargsDict = None if ( scriptparameters is not None and scriptparameters != ( ) ) : try : kwargsDict = simplejson . loads ( scriptparameters ) except Exception as e : ctx . logger . error ( e . __str__ ( ) ) exit ( 1 ) kwargsDict = None if ( attributes is not None and attributes != ( ) ) : try : kwargsDict = simplejson . loads ( attributes ) except Exception as e : ctx . logger . error ( e . __str__ ( ) ) exit ( 1 ) ctx . logger . info ( """: """ """volumeid = """ + str ( volumeid ) + ";" + """format = """ + str ( format ) + ";" + """script = """ + str ( script ) + ";" + """scriptparameters = """ + str ( kwargsDict ) + ";" + """attributes = """ + str ( kwargsDict ) + """;""" + "" ) try : _StartBulkVolumeWriteResult = ctx . element . start_bulk_volume_write ( volume_id = volumeid , format = format , script = script , script_parameters = kwargsDict , attributes = kwargsDict ) except common . ApiServerError as e : ctx . logger . error ( e . message ) exit ( ) except BaseException as e : ctx . logger . error ( e . __str__ ( ) ) exit ( ) if ctx . json : print ( simplejson . dumps ( simplejson . loads ( _StartBulkVolumeWriteResult ) , indent = 4 ) ) return else : cli_utils . print_result ( _StartBulkVolumeWriteResult , ctx . logger , as_json = ctx . json , as_pickle = ctx . pickle , depth = ctx . depth , filter_tree = ctx . filter_tree )
short_docstring: StartBulkVolumeWrite enables you to initialize a bulk volume write session on a specified volume.
short_docstring_tokens: StartBulkVolumeWrite enables you to initialize a bulk volume write session on a specified volume .
comment: # Mandatory main parameter$SEP$# Mandatory main parameter$SEP$# Optional main parameter$SEP$# Optional main parameter$SEP$# Optional main parameter$SEP$"""StartBulkVolumeWrite enables you to initialize a bulk volume write session on a specified volume. Only two bulk volume processes can run simultaneously on a volume. When you initialize the write session, data is written to a SolidFire storage volume from an external backup source. The external data is accessed by a web server running on an SF-series node. Communications and server"""$SEP$"""interaction information for external data access is passed by a script running on the storage system."""