models.cluster_partition module¶
-
class
models.cluster_partition.
ClusterPartition
(host_name=None, id=None, name=None, node_ids=None, vips=None, vlan_ips=None, vlans=None)[source]¶ Bases:
object
Implementation of the ‘ClusterPartition’ model.
Provides details about a Cluster Partition.
- Attributes:
- host_name (string): Specifies that hostname that resolves to one or
more Virtual IP Addresses (VIPs).
- id (long|int): Specifies a unique identifier for the Cluster
Partition.
name (string): Specifies the name of the Cluster Partition. node_ids (list of long|int): Array of Node Ids. Specifies a list of
Node Ids that assigned to the Cluster Partition.
- vips (list of string): Array of VIPs. Specifies a list of Virtual IP
Addresses (VIPs) that route network traffic to the Cluster Partition.
- vlan_ips (list of string): Array of VLAN IPs. Specifies a list of
VLAN IP Addresses that route network traffic within certain VLANs to the Cluster Partition.
- vlans (list of Vlan): Array of VLANs. Specifies a list of VLANs for
the Cluster Partition.
-
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.