Entity#

class Entity(entity_description=None, location_info=None, target_version=None, last_updated_time=None, device_id=None, group_uuid=None, entity_details=None, child_entities=None, available_versions=None, sub_entities=None, cluster_ext_id=None, hardware_vendor=None, entity_class=None, entity_model=None, entity_type=None, entity_version=None, hardware_family=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: EntityBaseModel

Details of an LCM entity.

Parameters:
  • entity_description (min=1 chars, max=256 chars) – (entity_description) Description of an LCM entity.

  • location_info – (location_info)

  • target_version (min=1 chars, max=128 chars) – (target_version) The requested update version of an LCM entity.

  • last_updated_time – (last_updated_time) UTC date and time in RFC-3339 format when the task was last updated.

  • device_id (min=1 chars, max=128 chars) – (device_id) Unique identifier of an LCM entity e.g. “HDD serial number”.

  • group_uuid – (group_uuid) UUID of the group that this LCM entity is part of.

  • entity_details – (entity_details) Detailed information for the LCM entity. For example, firmware entities contain additional information about NIC and so on.

  • child_entities – (child_entities) Component information for the payload based entity.

  • available_versions – (available_versions) List of available versions for an LCM entity to update.

  • sub_entities – (sub_entities) A list of sub-entities applicable to the entity.

  • cluster_ext_id – (cluster_ext_id) Cluster uuid on which the resource is present or operation is being performed.

  • hardware_vendor (min=1 chars, max=256 chars) – (hardware_vendor) Hardware vendor information.

property available_versions#

List of available versions for an LCM entity to update.

Type:

list[ AvailableVersion ]

property child_entities#

Component information for the payload based entity.

Type:

list[ str ]

property cluster_ext_id#

Cluster uuid on which the resource is present or operation is being performed.

Type:

str

property device_id#

Unique identifier of an LCM entity e.g. “HDD serial number”.

Type:

str

property entity_description#

Description of an LCM entity.

Type:

str

property entity_details#

Detailed information for the LCM entity. For example, firmware entities contain additional information about NIC and so on.

Type:

list[ KVPair ]

property group_uuid#

UUID of the group that this LCM entity is part of.

Type:

str

property hardware_vendor#

Hardware vendor information.

Type:

str

property last_updated_time#

UTC date and time in RFC-3339 format when the task was last updated.

Type:

datetime

property location_info#
Type:

LocationInfo

property sub_entities#

A list of sub-entities applicable to the entity.

Type:

list[ EntityBaseModel ]

property target_version#

The requested update version of an LCM entity.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model