Status

class qarnot.status.Status(json)[source]

Bases: object

The status object of the running pools and tasks. To retrieve the status of a pool, use:

  • my_pool.status
To retrieve the status of a task, use:
  • my_task.status

Note

Read-only class

__init__(json)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

download_progress = None
Type:float

Resources download progress to the instances.

execution_progress = None
Type:float

Task execution progress.

upload_progress = None
Type:float

Task results upload progress to the API.

instance_count = None
Type:int

Number of running instances.

download_time = None
Type:str

Resources download time to the instances.

download_time_sec = None
Type:float

Resources download time to the instances in seconds.

environment_time = None
Type:str

Environment time to the instances.

environment_time_sec = None
Type:float

Environment time to the instances in seconds.

execution_time = None
Type:str

Task execution time.

execution_time_sec = None
Type:float

Task execution time in seconds.

upload_time = None
Type:str

Task results upload time to the API.

upload_time_sec = None
Type:float

Task results upload time to the API in seconds.

wall_time = None
Type:str

Wall time of the task.

wall_time_sec = None
Type:float

Wall time of the task in seconds.

succeeded_range = None
Type:str

Successful instances range.

executed_range = None
Type:str

Executed instances range.

failed_range = None
Type:str

Failed instances range.

running_instances_info = None
Type:RunningInstancesInfo

Running instances information.

__repr__() <==> repr(x)[source]
class qarnot.status.RunningInstancesInfo(json)[source]

Bases: object

Running Instances Information

Note

Read-only class

__init__(json)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

per_running_instance_info = None
Type:list(PerRunningInstanceInfo)

Per running instances information.

timestamp = None
Type:str

Last information update timestamp.

average_frequency_ghz = None
Type:float

Average Frequency in GHz.

max_frequency_ghz = None
Type:float

Maximum Frequency in GHz.

min_frequency_ghz = None
Type:float

Minimum Frequency in GHz.

average_max_frequency_ghz = None
Type:float

Average Maximum Frequency in GHz.

average_cpu_usage = None
Type:float

Average CPU Usage.

cluster_power_indicator = None
Type:float

Cluster Power Indicator.

average_memory_usage = None
Type:float

Average Memory Usage.

average_network_in_kbps = None
Type:float

Average Network Input in Kbps.

average_network_out_kbps = None
Type:float

Average Network Output in Kbps.

total_network_in_kbps = None
Type:float

Total Network Input in Kbps.

total_network_out_kbps = None
Type:float

Total Network Output in Kbps.

__repr__() <==> repr(x)[source]
class qarnot.status.PerRunningInstanceInfo(json)[source]

Bases: object

Per Running Instance Information

Note

Read-only class

__init__(json)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

phase = None
Type:str

Instance phase.

instance_id = None
Type:int

Instance number.

max_frequency_ghz = None
Type:float

Maximum CPU frequency in GHz.

current_frequency_ghz = None
Type:float

Current CPU frequency in GHz.

cpu_usage = None
Type:float

Current CPU usage.

max_memory_mb = None
Type:int

Maximum memory size in MB.

current_memory_mb = None
Type:int

Current memory size in MB.

memory_usage = None
Type:float

Current memory usage.

network_in_kbps = None
Type:float

Network Input in Kbps.

network_out_kbps = None
Type:float

Network Output in Kbps.

progress = None
Type:float

Instance progress.

execution_time_sec = None
Type:float

Instance execution time in seconds.

execution_time_ghz = None
Type:float

Instance execution time GHz

cpu_model = None
Type:str

CPU model

active_forward = None

type: list(TaskActiveForward)

Active forwards list.

vpn_connections = None

type: list(TaskVpnConnection)

Vpn connection list.

__repr__() <==> repr(x)[source]
class qarnot.status.TaskActiveForward(json)[source]

Bases: object

Task Active Forward

Note

Read-only class

__init__(json)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

application_port = None
Type:int

Application Port.

forwarder_port = None
Type:int

Forwarder Port.

forwarder_host = None
Type:str

Forwarder Host.

bind_address = None
Type:str

Bind address of the listening socket on the forwarder host.

__repr__() <==> repr(x)[source]
class qarnot.status.TaskVpnConnection(json)[source]

Bases: object

Vpn Connection Information

Note

Read-only class

__init__(json)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

node_ip_address_cidr = None
Type:str

Vpn classless inter-domain routing address.

vpn_name = None
Type:str

Vpn name.

__repr__() <==> repr(x)[source]