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
 
                project_id = self._get_uuid()
            changes = \
                {project_id: [(QIP, QADD, 1, None)]}
            self._check_quotas(changes)
            # Check that IP is IPv4
            if project not in changes:
                changes[project] = []
            changes[project].append((QIP, QREMOVE, 1, None))
        self._check_quotas(changes)