Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/s/a/sahara-2014.1/sahara/plugins/intel/client/services.py   sahara(Download)
 
        session_id = self.rest.post(url)['sessionID']
        return session.wait(self, session_id)
 
    def decommission_nodes(self, nodes, force=False):

src/s/a/sahara-2014.1/sahara/plugins/intel/client/nodes.py   sahara(Download)
 
        session_id = self.rest.post(url)['sessionID']
        return session.wait(self, session_id)
 
    def stop(self, nodes):

src/s/a/sahara-2014.1/sahara/plugins/intel/client/cluster.py   sahara(Download)
    def install_software(self, nodes):
        _nodes = [{'hostname': host} for host in nodes]
        url = '/cluster/%s/nodes/commands/installsoftware' % self.cluster_name
        session_id = self.rest.post(url, _nodes)['sessionID']
        return session.wait(self, session_id)