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

add()[source]

Boots a new instance and adds it to this cluster

add_key(public_key)[source]

Adds an ssh public key to the 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
delete(force=False)[source]

Delete this cluster and all component nodes

delete_key()[source]
disable_cross_ssh_login()[source]
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
classmethod from_name(name)[source]
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
modify()[source]

Modifies the cluster

name
project
provider
remove(cm_id)[source]

Removes a node to the cluster, but otherwise leaves it intact.

See delete() to delete this cluster

Parameters:cm_id (int) – the node id of the instance to remove
remove_key(public_key)[source]

Removes an ssh public key from the cluster

resume()[source]

Resumes the cluster

secgroup
specId
suspend()[source]

Suspends the cluster

terminate()[source]

Terminates the cluster

type
updated_at
user
username

Module contents