Statistics
| Branch: | Tag: | Revision:

root / logic / utils.py @ 2bf8d695

History | View | Annotate | Download (3.7 kB)

# Date Author Comment
6efeecee 07/07/2011 09:23 pm Faidon Liambotis

logic: import settings properly

Instead of importing synnefo.settings directly, import settings from
django.conf as it should.

48130e66 06/17/2011 01:10 pm Giorgos Gousios

License headers for various files

refs #581

7e8b41e7 04/18/2011 10:53 pm Vangelis Koukis

Add content in README.deploy, minor fixes

Add a draft description of the various services that need to be
running for a working Synnefo installation. Add documentation for ganeti-0mqd,
db_controller and vncauthproxy.

Fix language error in comment in logic/utils.py.

fc30c430 04/14/2011 12:17 pm Vangelis Koukis

Add docstring in get_rsapi_state()

Add improved documentation on how the API state is derived
based on the internal state of the VirtualMachine instance.

685b219e 04/02/2011 11:55 am Vangelis Koukis

Improve handling of server deletions

Improve handling of server deletions. * Have the API return a server's state as DELETED when
the deleted flag has been set in the VirtualMachine model.
This makes the server immediately invisible, instead of waiting...

fb381fbe 03/31/2011 02:48 pm Markos Gogoulos

fix bug with vm.backendjobstatus

VirtualMachine models has attribute backendjobstatus instead of
_backendjobstatus

234f8b07 03/31/2011 01:43 pm Vangelis Koukis

Fix breakage caused by the logic-refactoring merge

This commit fixes some breakage caused by the recent merge of
the logic-refactoring branch, mainly related to db/db_controller.py.

The main reason was the different value of import path, fixed by
making sure all imports are rooted in synnefo....

dfd19c2d 03/30/2011 09:47 pm Vassilios Karakoidas

All VirtualMachine fields are now pubic

  • Update VirtualMachine reference in all modules
  • Updated fixtures accordingly (and tests)
8d97deff 03/28/2011 03:53 pm Vassilios Karakoidas

Still refactoring, separating the logic and the ORM layer

  • Moved all tests (except one) into the logic app
  • Introduced (again) utils.py, moved miscellaneous functions there
  • models.py has now minimal functionality (ui->logic->db)
c8926262 03/22/2011 08:54 pm Vassilios Karakoidas

Test are now working for db, logic modules

  • Moved methods from utils.py -> credits.py to avoid
    circular dependency
22e52ede 03/22/2011 07:39 pm Vassilios Karakoidas

Internal method calculate_cost moved to utils.py

02feca11 03/22/2011 07:21 pm Vassilios Karakoidas

Move process_backend_msg to beckend.py

e3a99a08 03/22/2011 06:57 pm Vassilios Karakoidas

Moved id_from_instance_name static method to utils.py

92c53da1 03/22/2011 06:23 pm Vassilios Karakoidas

Refactored charge (from VM model) and fixed unit tests

  • remove backend_id (now it is inline in the model code)
  • charge now resides in credits.py (logic)
  • logic is now a proper django app
  • remove unused backend_id from handlers.py
  • moved unit tests from db -> logic module