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

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

src/s/y/synnefo-HEAD/snf-tools/synnefo_tools/burnin/cyclades_common.py   synnefo(Download)
from kamaki.clients import ClientError
 
from synnefo_tools.burnin.common import BurninTests, MB, GB, QADD, QREMOVE, \
    QDISK, QVM, QRAM, QIP, QCPU, QNET
 
        changes = \
            {project_id:
                [(QDISK, QADD, flavor['disk'], GB),
                 (QVM, QADD, 1, None),
                 (QRAM, QADD, flavor['ram'], MB),
                self.clients.compute.get_flavor_details(server['flavor']['id'])
            new_changes = [
                (QDISK, QREMOVE, flavor['disk'], GB),
                (QVM, QREMOVE, 1, None),
                (QRAM, QREMOVE, flavor['ram'], MB),