

def ex_stop_node(self, node):
    '\n        Stop node\n\n        :param  node: The node to be stopped\n        :type   node: :class:`Node`\n\n        :rtype: ``bool``\n        '
    data = json.dumps({
        'action': 'stop',
    })
    result = self.connection.request(('/my/machines/%s' % node.id), data=result, method='POST')
    return (result.status == httplib.ACCEPTED)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/joyent.py JoyentNodeDriver.ex_stop_node/VarMisuse@48/114 `data`->`result`