cloudsubmit module¶
-
class
cloudsubmit.
EC2Instance
(**kwargs)¶ Bases:
object
-
classmethod
beginStartingInstance
(aws_connection, instance_type, license_category, houdini_version, server_machine='127.0.0.1')¶
-
classmethod
beginStartingMultipleInstances
(aws_connection, num_machines, instance_type, license_category, houdini_version, server_machine)¶
-
classmethod
findRunningInstanceWithMachineName
(aws_connection, machine_name)¶
-
classmethod
getAllInstances
(aws_connection)¶
-
isRunning
()¶
-
refresh
()¶
-
classmethod
startInstanceAndWaitUntilRunning
(aws_connection, machine_description, instance_type, license_category, houdini_version, server_machine='127.0.0.1')¶
-
status
()¶ Return the instance status (“running”, “starting”, etc.), or None if nothing is known about the instance. Note that if the instance status is “terminated”, this method returns None.
-
terminate
()¶
-
userData
()¶
-
classmethod
-
exception
cloudsubmit.
ExitThread
¶ Bases:
exceptions.Exception
-
class
cloudsubmit.
HTTPRequestHandler
¶ Bases:
hjsonrpc.RPCRequestHandler
-
do_GET
()¶
-
redirectTo
(url)¶
-
-
class
cloudsubmit.
RPCService
¶ Bases:
object
-
addDownloadedFrame
(project_name, frame_number, local_frame_path)¶
-
addProject
(project_name)¶
-
cloudRegion
()¶
-
cloudServerTerminated
(error)¶
-
getCloudServerMachine
()¶
-
getStatus
()¶
-
isRunning
()¶
-
isStalled
()¶
-
playFilesForProject
(job_id)¶
-
queueProject
(project_parms_path)¶
-
quit
()¶
-
setIdForProject
(project_name, job_id)¶
-
setLaunching
(is_launching)¶
-
setStalled
(is_stalled)¶
-
setState
(project_name, state, size_description='', fraction_complete=0.0, estimated_remaining_time='', frames_remaining=0)¶
-
suggestProjectName
(requested_project_name)¶
-
terminateCloudInstances
()¶
-
timeToAutoShutdown
()¶
-
-
class
cloudsubmit.
RobustConnection
(conn, conn_desc, method_name=None)¶
-
cloudsubmit.
getConnection
()¶ Return a connection to the local cloud submission process’s RPC server.
Return None if the cloudsubmit process isn’t running.
-
cloudsubmit.
openBrowser
()¶ Open a web browser pointing to this cloud submission process.
-
cloudsubmit.
start
(project_parms_path, temp_file_with_key, debug, verbose)¶ Start an RPC server in one thread, launch the local render monitor and open a browser window to it from another thread, and submit the job to the cloud and download the output from this thread.
-
cloudsubmit.
startWithSysArgs
()¶