def deviceResponse(args): log.msg('device Respone received: ', args) uDB_instance = uDB() # node = Compute_Manager() #if node.get_compute_node_list(username='******') == False: # node.add_compute_node_list(username="******", containerName="/pedantic_euclid") # handle the device response uDB_instance.updateDeviceResponse(args)
def containerStatus(args): log.msg('Container status: ', args) uDB_instance = uDB() # handle the status updates #uDB_instance.addComputeNode(args) #node = Compute_Manager() #if node.get_compute_node_list(username='******') == False: # node.add_compute_node_list(username="******", containerName="/pedantic_euclid") # handle the device response uDB_instance.updateContainerStatus(args)
def cpuInfo(args): log.msg('CPU Info: ', args) uDB_instance = uDB() # handle the cpu info updates uDB_instance.updateCPUinfo(**args)
def containerStatus(args): log.msg('Container status: ', args) uDB_instance = uDB() # handle the status updates uDB_instance.updateContainerStatus(args)
def deviceResponse(args): log.msg('Respone received: ', args) uDB_instance = uDB() # handle the device response uDB_instance.updateDeviceResponse(args)
def onHeartbeat(args): uDB_instance = uDB() # handle heartbeat uDB_instance.deviceReg(args)
def onHeartbeat(args): print("#####################heartbeat############################") print(args) uDB_instance = uDB() # handle heartbeat uDB_instance.deviceReg(args)