def dm_controller_dataset_create(dataset):

    try:
        dm_controller("dataset", "create", dataset)
        return True
    except:
        return False
Esempio n. 2
0
def dm_controller_solution_delete(solution):
    try:
        dm_controller(solution, delete, solution)
        return True
    except:
        return False
def dm_controller_dataset_read(dataset):
    try:
        dm_controller("dataset", "read", dataset)
        return True
    except:
        return False
Esempio n. 4
0
# Module Name      : node_user_read
# Module Purpose   : delete user from a node 
# Status           : Completed
# Parameters       : (node_user <node_user>)
# Returns          : ('node_user', 'delete', node_user)

# Module Author    : Abubaker Omer 1846553
# Start Date       : 24/03/2020
# End Date         : 24/03/2020
# Hours Spent      : 0.15

from  dmcontroller import  dm_controller

def  dm_controller_node_user_delete("user", "delete", node_user):
	dm_controller("user", "delete", node_user)




Esempio n. 5
0
# Module Name      : node_user_read
# Module Purpose   : modify the user of a node 
# Status           : Completed
# Parameters       : (node_user <node_user>)
# Returns          : ('node_user', 'update', node_user)

# Module Author    : Abubaker Omer 1846553
# Start Date       : 25/02/2020
# End Date         : 25/02/2020
# Hours Spent      : 0.15
from  dmcontroller import  dm_controller

def  dm_controller_node_user_update("user", "update", node_user):
	dm_controller("user", "update", node_user)






Esempio n. 6
0
def dm_controller_solution_Create(solution):
    try:
        dm_controller(solution, create, solution)
        return True
    except:
        return False
# Module Name      : node_user_read
# Module Purpose   : show the users of a node 
# Status           : Completed
# Parameters       : (node_user <node_user>)
# Returns          : ('node_user', 'read', node_user)
#
# Module Author    : Abubaker Omer 1846553
# Start Date       : 25/02/2020
# End Date         : 25/02/2020
# Hours Spent      : 0.15
from  dmcontroller import  dm_controller

def  dm_controller_node_user_read("user", "read", node_user):
	dm_controller("user", "read", node_user)






# Module Name      : node_user_create
# Module Purpose   : create a user to access a node
# Status           : Completed
# Parameters       : (node_user <node_user>)
# Returns          : ('node_user', 'create', node_user)
#
# Module Author    : Abubaker Omer 1846553
# Start Date       : 25/02/2020
# End Date         : 25/02/2020
# Hours Spent      : 0.15
from  dmcontroller import  dm_controller

def  dm_controller_node_user_creat("node_user", "create", node_user):
	dm_controller("node_user", "create", node_user)