cloudmesh_client.db.general package

Submodules

cloudmesh_client.db.general.model module

class cloudmesh_client.db.general.model.BATCHJOB(**kwargs)[source]

Bases: cloudmesh_client.db.CloudmeshDatabase.CloudmeshMixin, sqlalchemy.ext.declarative.api.Base

category
cluster
cm_id
cmd
created_at
dir
group
job_id
kind
label
name
nodes
output_file
project
provider
queue
sbatch_file_path
time
type
updated_at
user
class cloudmesh_client.db.general.model.CLUSTER(name=None, specId=None, cloud=None, count=None, username=None, image=None, flavor=None, key=None, secgroup=None, assignFloatingIP=True)[source]

Bases: cloudmesh_client.db.CloudmeshDatabase.CloudmeshMixin, sqlalchemy.ext.declarative.api.Base

This is a proxy for the main implementation, given in :module:`cloudmesh_client.cloud.cluster`.

The implementation is split from the definitions in order to avoid recursive dependencies. If the implementation of various methods were done withing this class, various helper functions would need to be imported (eg :module:`cloudmesh_client.cloud.vm`). These module import :module:`cloudmesh_client.db.CloudmeshDatabase`, which import the various models modules. When this happens, the error that is an ImportError for CloudmeshDatabase.

When modifying, add attributes to this class, then update the implementation in subclass.

assignFloatingIP
category
cloud
cm_id
count
created_at
flavor
image
key
kind
label
name
project
provider
secgroup
specId
type
updated_at
user
username
class cloudmesh_client.db.general.model.DEFAULT(**kwargs)[source]

Bases: cloudmesh_client.db.CloudmeshDatabase.CloudmeshMixin, sqlalchemy.ext.declarative.api.Base

table to store default values

if the category is “global” it is meant to be a global variable

todo: check if its global or general

category
cm_id
created_at
kind
label
name
project
provider
type
updated_at
user
value
class cloudmesh_client.db.general.model.GROUP(**kwargs)[source]

Bases: cloudmesh_client.db.CloudmeshDatabase.CloudmeshMixin, sqlalchemy.ext.declarative.api.Base

category
cm_id
created_at
kind
label
member
name
project
provider
species
type
updated_at
user
class cloudmesh_client.db.general.model.KEY(**kwargs)[source]

Bases: cloudmesh_client.db.CloudmeshDatabase.CloudmeshMixin, sqlalchemy.ext.declarative.api.Base

category
cm_id
comment
created_at
fingerprint
is_default
kind
label
name
project
provider
source
type
updated_at
uri
user
value
class cloudmesh_client.db.general.model.LAUNCHER(**kwargs)[source]

Bases: cloudmesh_client.db.CloudmeshDatabase.CloudmeshMixin, sqlalchemy.ext.declarative.api.Base

table to store default values

if the category is “global” it is meant to be a global variable

todo: check if its global or general

category
cm_id
created_at
kind
label
name
parameters
project
provider
source
type
updated_at
user
class cloudmesh_client.db.general.model.RESERVATION(**kwargs)[source]

Bases: cloudmesh_client.db.CloudmeshDatabase.CloudmeshMixin, sqlalchemy.ext.declarative.api.Base

category
cm_id
created_at
description
end_time
hosts
kind
label
name
project
provider
start_time
type
updated_at
user
class cloudmesh_client.db.general.model.SECGROUPRULE(**kwargs)[source]

Bases: cloudmesh_client.db.CloudmeshDatabase.CloudmeshMixin, sqlalchemy.ext.declarative.api.Base

category
cidr
cm_id
created_at
fromPort
group
kind
label
name
project
protocol
provider
toPort
type
updated_at
user
uuid
class cloudmesh_client.db.general.model.SPECIFICATION(name, type, spec)[source]

Bases: cloudmesh_client.db.CloudmeshDatabase.CloudmeshMixin, sqlalchemy.ext.declarative.api.Base

A SPECIFICATION consists of a JSON definition of some object along with a name and type fields

category
cm_id
created_at
get()[source]
kind
label
name
project
provider
spec
type
update(**kwargs)[source]
updated_at
user
class cloudmesh_client.db.general.model.VAR(**kwargs)[source]

Bases: cloudmesh_client.db.CloudmeshDatabase.CloudmeshMixin, sqlalchemy.ext.declarative.api.Base

table to store peristant variable values

category
cm_id
created_at
kind
label
name
project
provider
type
updated_at
user
value
class cloudmesh_client.db.general.model.WORKFLOW(**kwargs)[source]

Bases: cloudmesh_client.db.CloudmeshDatabase.CloudmeshMixin, sqlalchemy.ext.declarative.api.Base

table to store default values

if the category is “global” it is meant to be a global variable

todo: check if its global or general

category
cm_id
created_at
dependency
description
kind
label
location
name
project
provider
status
threads
type
updated_at
user

Module contents