def _worker_ctl(worker, lbn, vwa, profile='default'):
 cmd = {'cmd': 'update', 'mime': 'prop', 'w': lbn, 'sw': worker, 'vwa': vwa}
 return (_do_http(cmd, profile)['worker.result.type'] == 'OK')

def _worker_ctl ( worker , lbn , vwa , profile = 'default' ) : cmd = { 'cmd' : 'update' , 'mime' : 'prop' , 'w' : lbn , 'sw' : worker , 'vwa' : vwa } return ( _do_http ( cmd , profile ) [ 'worker.result.type' ] == 'OK' )
enable/disable/stop a worker .