The rsd_lib.resources.v2_4.node.node
Module¶
- class rsd_lib.resources.v2_4.node.node.AttachEndpointActionField(*args, **kwargs)¶
Bases:
CompositeField
- action_info = None¶
- action_info_path = <sushy.resources.base.Field object>¶
- target_uri = <sushy.resources.base.Field object>¶
- class rsd_lib.resources.v2_4.node.node.DetachEndpointActionField(*args, **kwargs)¶
Bases:
CompositeField
- action_info = None¶
- action_info_path = <sushy.resources.base.Field object>¶
- target_uri = <sushy.resources.base.Field object>¶
- class rsd_lib.resources.v2_4.node.node.Node(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None, root=None)¶
Bases:
Node
- persistent_memory_operation_on_delete = <sushy.resources.base.Field object>¶
This property is used to specify what operation should be performed on Intel OptaneTM DC Persistent Memory on ComposedNode DELETE Request: - PreserveConfiguration - SecureErase - OverwritePCD
- update(clear_tpm_on_delete=None, pm_on_delete=None)¶
Update properties of this composed node
- Parameters:
clear_tpm_on_delete – This is used to specify if TPM module should be cleared on composed node DELETE request.
pm_on_delete – This is used to specify what operation should be performed on Intel OptaneTM DC Persistent Memory on ComposedNode DELETE Request: - PreserveConfiguration - SecureErase - OverwritePCD
- Raises:
InvalidParameterValueError, if any information passed is invalid.
- class rsd_lib.resources.v2_4.node.node.NodeActionsField(*args, **kwargs)¶
Bases:
NodeActionsField
- attach_endpoint = <rsd_lib.resources.v2_4.node.node.AttachEndpointActionField object>¶
- detach_endpoint = <rsd_lib.resources.v2_4.node.node.DetachEndpointActionField object>¶
- class rsd_lib.resources.v2_4.node.node.NodeCollection(connector, path, redfish_version=None, registries=None, root=None)¶
Bases:
NodeCollection
- compose_node(name=None, description=None, processor_req=None, memory_req=None, remote_drive_req=None, local_drive_req=None, ethernet_interface_req=None, security_req=None, total_system_core_req=None, total_system_memory_req=None)¶
Compose a node from RackScale hardware
- Parameters:
name – Name of node
description – Description of node
processor_req – JSON for node processors
memory_req – JSON for node memory modules
remote_drive_req – JSON for node remote drives
local_drive_req – JSON for node local drives
ethernet_interface_req – JSON for node ethernet ports
security_req – JSON for node security requirements
total_system_core_req – Total processor cores available in composed node
total_system_memory_req – Total memory available in composed node
- Returns:
The location of the composed node
When the ‘processor_req’ is not none: it need a computer system contains processors whose each processor meet all conditions in the value.
When the ‘total_system_core_req’ is not none: it need a computer system contains processors whose cores sum up to number equal or greater than ‘total_system_core_req’.
When both values are not none: it need meet all conditions.
‘memory_req’ and ‘total_system_memory_req’ is the same.