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/projects_tests.py   synnefo(Download)
 
from synnefo_tools.burnin.common import Proper
from synnefo_tools.burnin.cyclades_common import CycladesTests, \
    QADD, QREMOVE, MB, GB, QDISK, QVM, QRAM, QCPU
 
        changes = \
            {old_project:
                [(QDISK, QREMOVE, flavor['disk'], GB),
                 (QVM, QREMOVE, 1, None),
                 (QRAM, QREMOVE, flavor['ram'], MB),
                 (QCPU, QREMOVE, flavor['vcpus'], None)],
             new_project:
                [(QDISK, QADD, flavor['disk'], GB),