cloudmesh_client.platform.virtual_cluster package¶
Submodules¶
cloudmesh_client.platform.virtual_cluster.cluster module¶
-
class
cloudmesh_client.platform.virtual_cluster.cluster.
Cluster
(*args, **kwargs)[source]¶ Bases:
cloudmesh_client.db.general.model.CLUSTER
-
assignFloatingIP
¶
-
category
¶
-
cloud
¶
-
cm
= <cloudmesh_client.db.CloudmeshDatabase.CloudmeshDatabase object>¶
-
cm_id
¶
-
count
¶
-
create
(sleeptime_s=5)[source]¶ Boot all nodes in this cluster
Parameters: sleeptime_s (float) – sleep this number of seconds between polling VMs for ACTIVE status
-
created_at
¶
-
enable_cross_ssh_login
(useFloating=True, keytype='rsa', bits=4096, comment='CM Cluster Cross-SSH')[source]¶ Enables each node to log into all other nodes of the cluster
-
flavor
¶
-
image
¶
-
key
¶
-
kind
¶
-
label
¶
-
list
()[source]¶ List the nodes in the cluster.
The type of the instance is determined by the provider.
Returns: the nodes of the cluster Return type: list
of instances
-
name
¶
-
project
¶
-
provider
¶
-
remove
(cm_id)[source]¶ Removes a node to the cluster, but otherwise leaves it intact.
See
delete()
to delete this clusterParameters: cm_id (int) – the node id of the instance to remove
-
secgroup
¶
-
specId
¶
-
type
¶
-
updated_at
¶
-
user
¶
-
username
¶
-