NodeResourceConfig#

class NodeResourceConfig(num_vcpus=None, memory_size_bytes=None, data_disk_size_bytes=None, container_ext_id=None, *args, **kwargs)#

Bases: object

Node resource configuration.

Parameters:
  • num_vcpus – (num_vcpus) Number of Vcpus for a given node in cluster.

  • memory_size_bytes – (memory_size_bytes) Memory for a given node in cluster.

  • data_disk_size_bytes – (data_disk_size_bytes) Data disk size for a given node in cluster.

  • container_ext_id – (container_ext_id) ExtId for the container on which Node storage has to be hosted on.

property container_ext_id#

ExtId for the container on which Node storage has to be hosted on.

Type:

str

property data_disk_size_bytes#

Data disk size for a given node in cluster.

Type:

int

property memory_size_bytes#

Memory for a given node in cluster.

Type:

int

property num_vcpus#

Number of Vcpus for a given node in cluster.

Type:

int

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model