def hotplug_cpu(self, cpu, online):
        if isinstance(cpu, int):
            cpu = 'cpu{}'.format(cpu)
        status = 1 if online else 0
        sysfile = '/sys/devices/system/cpu/{}/online'.format(cpu)
        self.set_sysfile_value(sysfile, status)
:param http_code: HTTP status code.
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/common/linux/device.py/BaseLinuxDevice.hotplug_cpu--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/cloudsigma.py/CloudSigmaError.__init__