Cluster Methods

API Methods for clusters.

cluster.info()

Return information for the specified cluster.

Parameters:cluster_name (String) – Name of the cluster. Cluster names are 1-64 characters A-Z, a-z, 0-9, -, . and _. Ensure this value has at most 64 characters.
Returns:a dictionary with the following keys:
name
String: Name of the cluster.
enabled:
Boolean: Whether the cluster is enabled or not.
private_class_c:
String: The network address (subnet mask 255.255.255.0) of the VLAN.
vlan_id:
Integer: The VLAN id the cluster is in.
cluster.list()

Returns a list of clusters.

Parameters:enabled (Boolean, Optional) – Only return enabled/disabled clusters.
Returns:a list of dictionaries where each is as described in cluster.info()

Previous topic

Bandwidth Methods

Next topic

Cluster Real Service Methods

This Page