def ex_stop_node(self, node):
        data = json.dumps({'action': 'stop'})
        result = self.connection.request('/my/machines/%s' % (node.id),
                                         data=data, method='POST')
        return result.status == httplib.ACCEPTED
Stop node
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/joyent.py/JoyentNodeDriver.ex_stop_node