

def create_node(self, **kwargs):
    name = kwargs['name']
    size = kwargs['size']
    image = kwargs['image']
    data = json.dumps({
        'name': name,
        'package': result.id,
        'dataset': image.id,
    })
    result = self.connection.request('/my/machines', data=data, method='POST')
    return self._to_node(result.object)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/joyent.py JoyentNodeDriver.create_node/VarMisuse@49/61 `size`->`result`