cloudmesh_client.comet package¶
Submodules¶
cloudmesh_client.comet.authenticate module¶
-
exception
cloudmesh_client.comet.authenticate.
AuthenticationException
[source]¶ Bases:
exceptions.Exception
cloudmesh_client.comet.cluster module¶
-
class
cloudmesh_client.comet.cluster.
Cluster
[source]¶ Bases:
object
-
ACTIVE_COMPUTESETS
= ['running', 'submitted', 'created']¶
-
CLUSTER_HEADER
= ['name', 'state', 'kind', 'type', 'mac', 'ip', 'cpus', 'cluster', 'RAM(M)', 'disk(G)', 'computeset', 'allocation', 'admin_state']¶
-
CLUSTER_HEADER_TABLE
= ['name', 'state', 'computeset', 'allocation', 'admin_state', 'mac', 'ip', 'cluster', 'kind', 'type', 'cpus', 'RAM(M)', 'disk(G)']¶
-
CLUSTER_HEADER_TABLE_CONCISE
= ['name', 'state', 'computeset', 'allocation', 'admin_state', 'mac', 'ip', 'cluster']¶
-
CLUSTER_HEADER_TABLE_STATE
= ['name', 'state', 'computeset', 'allocation', 'admin_state']¶
-
CLUSTER_ORDER
= ['name', 'state', 'kind', 'type', 'mac', 'ip', 'cpus', 'cluster', 'memory', 'disksize', 'active_computeset', 'allocation', 'admin_state']¶
-
CLUSTER_ORDER_TABLE
= ['name', 'state', 'active_computeset', 'allocation', 'admin_state', 'mac', 'ip', 'cluster', 'kind', 'type', 'cpus', 'memory', 'disksize']¶
-
CLUSTER_ORDER_TABLE_CONCISE
= ['name', 'state', 'active_computeset', 'allocation', 'admin_state', 'mac', 'ip', 'cluster']¶
-
CLUSTER_ORDER_TABLE_STATE
= ['name', 'state', 'active_computeset', 'allocation', 'admin_state']¶
-
CLUSTER_SORT_KEY
= ['name', 'state', 'kind', 'type', 'mac', 'ip', 'cpus', 'cluster', 'ram', 'disk', 'computeset', 'allocation', 'admin_state']¶
-
CLUSTER_TABLE_VIEW
= {'STATE': {'header': ['name', 'state', 'computeset', 'allocation', 'admin_state'], 'order': ['name', 'state', 'active_computeset', 'allocation', 'admin_state']}, 'FULL': {'header': ['name', 'state', 'computeset', 'allocation', 'admin_state', 'mac', 'ip', 'cluster', 'kind', 'type', 'cpus', 'RAM(M)', 'disk(G)'], 'order': ['name', 'state', 'active_computeset', 'allocation', 'admin_state', 'mac', 'ip', 'cluster', 'kind', 'type', 'cpus', 'memory', 'disksize']}, 'CONCISE': {'header': ['name', 'state', 'computeset', 'allocation', 'admin_state', 'mac', 'ip', 'cluster'], 'order': ['name', 'state', 'active_computeset', 'allocation', 'admin_state', 'mac', 'ip', 'cluster']}}¶
-
FINISHED_COMPUTESETS
= ['completed', 'failed']¶
-
MINS_PER_UNIT
= {'h': 60, 'm': 1, 'd': 1440, 'w': 10080}¶
-
N_ALLOCATIONS_PER_LINE
= 5¶
-
PENDING_COMPUTESETS
= ['queued', 'submitted', 'created']¶
-
SECS_PER_DAY
= 86400¶
-
STUCK_COMPUTESETS
= ['submitted', 'ending']¶
-
WALLTIME_MINS
= 2880¶
-
cloudmesh_client.comet.comet module¶
-
class
cloudmesh_client.comet.comet.
Comet
[source]¶ Bases:
object
-
AUTH_HEADER
= {'content-type': 'application/json'}¶
-
HEADER
= {'content-type': 'application/json'}¶
-
api_auth
= None¶
-
api_key
= None¶
-
api_secret
= None¶
-
api_version
= ''¶
-
auth_provider
= None¶
-
auth_uri
= '/rest-auth'¶
-
base_uri
= ''¶
-
endpoint
= ''¶
-
static
get
(url, headers=None, allow_redirects=True, data=None, authuser=None, authpass=None)[source]¶
-
static
http
(url, action='get', headers=None, data=None, authuser=None, authpass=None, files=None, md5=None, cacert=True, allow_redirects=True)[source]¶
-
local_auth_uri
= 'https://localhost:8443/nucleus/rest-auth'¶
-
local_base_uri
= 'https://localhost:8443/nucleus'¶
-
static
post
(url, headers=None, data=None, md5=None, files=None, cacert=True, allow_redirects=True)[source]¶
-
token
= None¶
-
tunnelled
= False¶
-
verify
= False¶
-