Runway#

class Runway(minimum_runway_days=None, cpu_runway_days=None, memory_runway_days=None, storage_runway_days=None, runway_start_date=None, *args, **kwargs)#

Bases: object

Runway in a scenario.

Parameters:
  • minimum_runway_days – (minimum_runway_days) Number of days the cluster will be able to sustain the existing and added workloads.

  • cpu_runway_days – (cpu_runway_days) Number of days the CPU can sustain the added and existing workload.

  • memory_runway_days – (memory_runway_days) Number of days the memory can sustain the added and existing workload.

  • storage_runway_days – (storage_runway_days) Number of days the storage can sustain the added and existing workload.

  • runway_start_date – (runway_start_date) The starting date of the usage, capacity, and effective capacity forecasts. It is used as the start-time in stats API to query scenario statistics.

property cpu_runway_days#

Number of days the CPU can sustain the added and existing workload.

Type:

int

property memory_runway_days#

Number of days the memory can sustain the added and existing workload.

Type:

int

property minimum_runway_days#

Number of days the cluster will be able to sustain the existing and added workloads.

Type:

int

property runway_start_date#

The starting date of the usage, capacity, and effective capacity forecasts. It is used as the start-time in stats API to query scenario statistics.

Type:

date

property storage_runway_days#

Number of days the storage can sustain the added and existing workload.

Type:

int

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model