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

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

src/s/y/synnefo-HEAD/snf-cyclades-app/synnefo/logic/management/commands/backend-add.py   synnefo(Download)
            pprint_table(self.stdout, table, attr)
 
            backend_mod.update_backend_resources(backend, resources)
            backend_mod.update_backend_disk_templates(backend)
 

src/s/y/synnefo-HEAD/snf-cyclades-app/synnefo/logic/callbacks.py   synnefo(Download)
    backend = Backend.objects.select_for_update().get(clustername=clustername)
    backend_mod.update_backend_disk_templates(backend)
    backend_mod.update_backend_resources(backend)
 
 

src/s/y/synnefo-HEAD/snf-cyclades-app/synnefo/logic/management/commands/backend-update-status.py   synnefo(Download)
    def handle(self, **options):
        for backend in Backend.objects.select_for_update()\
                                      .filter(offline=False):
            backend_mod.update_backend_disk_templates(backend)
            backend_mod.update_backend_resources(backend)

src/s/y/synnefo-HEAD/snf-cyclades-app/synnefo/logic/backend_allocator.py   synnefo(Download)
            log.debug("Updating resources of backend %r. Last Updated %r",
                      b, b.updated)
            backend_mod.update_backend_resources(b)