models.create_physical_cluster_parameters module

class models.create_physical_cluster_parameters.CreatePhysicalClusterParameters(cluster_destroy_hmac_key=None, cluster_name=None, enable_cluster_destroy=None, ipmi_config=None, network_config=None, node_configs=None, encryption_config=None, metadata_fault_tolerance=None, ip_preference=None)[source]

Bases: object

Implementation of the ‘CreatePhysicalClusterParameters’ model.

Specifies the parameters needed for creation of a new Cluster.

Attributes:
cluster_destroy_hmac_key (string): Specifies HMAC secret key that will

be used to validate OTP used for destroy request. This is b32 format of the HMAC key. This should only be set/modified during cluster creation.

cluster_name (string): Specifies the name of the new Cluster. enable_cluster_destroy (bool): Specifies if cluster destroy op is

enabled on this cluster. This should only be set/modified during cluster creation.

encryption_config (EncryptionConfiguration): Specifies the parameters

the user wants to use when configuring encryption for the new Cluster.

ip_preference (int): Specifies IP preference. ipmi_config (IpmiConfiguration): Specifies the parameters for

configuration of IPMI. This is only needed for physical clusters.

metadata_fault_tolerance (int): Specifies the metadata fault

tolerance.

network_config (NetworkConfiguration): Specifies all of the parameters

needed for network configuration of the new Cluster.

node_configs (list of PhysicalNodeConfiguration): Specifies the

configuration for the nodes in the new cluster.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.