

def reboot_node(self, node):
    data = json.dumps({
        'action': 'reboot',
    })
    result = self.connection.request(('/my/machines/%s' % result.id), data=data, method='POST')
    return (result.status == httplib.ACCEPTED)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/joyent.py JoyentNodeDriver.reboot_node/VarMisuse@39/52 `node`->`result`