ComputeNodeItem#

class ComputeNodeItem(node_uuid=None, block_id=None, node_position=None, hypervisor_ip=None, ipmi_ip=None, digital_certificate_map_list=None, hypervisor_hostname=None, model=None, *args, **kwargs)#

Bases: object

Compute node details.

Parameters:
  • node_uuid – (node_uuid) UUID of the host.

  • block_id – (block_id) Rackable unit Id in which node resides.

  • node_position – (node_position) Position of a node in a rackable unit.

  • hypervisor_ip – (hypervisor_ip)

  • ipmi_ip – (ipmi_ip)

  • digital_certificate_map_list – (digital_certificate_map_list) List of objects containing digital_certificate_base64 and key_management_server_uuid fields for key management server.

  • hypervisor_hostname (max=64 chars) – (hypervisor_hostname) Name of the host.

  • model – (model) Rackable unit model type.

property block_id#

Rackable unit Id in which node resides.

Type:

str

property digital_certificate_map_list#

List of objects containing digital_certificate_base64 and key_management_server_uuid fields for key management server.

Type:

list[ DigitalCertificateMapReference ]

property hypervisor_hostname#

Name of the host.

Type:

str

property hypervisor_ip#
Type:

IPAddress

property ipmi_ip#
Type:

IPAddress

property model#

Rackable unit model type.

Type:

str

property node_position#

Position of a node in a rackable unit.

Type:

str

property node_uuid#

UUID of the host.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model