def add_worker(self, wid, core, scheduler=None): request = bess_msg.AddWorkerRequest() request.wid = wid request.core = core request.scheduler = scheduler or '' return self._request('AddWorker', request)
def add_worker(self, wid, core): request = bess_msg.AddWorkerRequest() request.wid = wid request.core = core return self._request('AddWorker', request)