Statistics
| Branch: | Tag: | Revision:

root / db @ 78d9b6b7

Name Size
  fixtures
  management
__init__.py 0 Bytes
admin.py 1.9 kB
bill_calculator.py 197 Bytes
charger.py 1.2 kB
credit_allocator.py 991 Bytes
db_controller.py 3.1 kB
models.py 12.7 kB
tests.py 7.1 kB
views.py 26 Bytes

Latest revisions

# Date Author Comment
78d9b6b7 02/10/2011 06:42 pm Vangelis Koukis

Private fields in VM model, updated fixtures

Updated names of fields pertaining to VM state in VirtualMachine model,
updated fixtures.

database.sqlite can be removed, use:

rm database.sqlite; python manage.py syncdb

to recreate it from fixtures.

21f59a5d 02/10/2011 12:35 pm Vangelis Koukis

Use zmq_recv() in dedicated thread in db_controller.

It seems Python can only do signal processing in the main thread.
If the main thread calls zmq_recv(), no exceptions get raised
when a SIGINT is received for example.

WIP:
This moves the zmq_recv() to a separate thread, while the main...

86221fd5 02/09/2011 09:31 am Panos Louridas

Fix path issue.

d08a5f6f 02/08/2011 11:32 pm Vangelis Koukis

What commit b4141604 should have contained.

The proper contents of commit b4141604 are included here.


b4141604 02/08/2011 06:21 pm Vangelis Koukis

Major fixes trying to integrate everything.

Most notable changes:
  • db/db_controller.py: Listens on 0mq, receives notifications from Ganeti, updates
    VM state in database calling methods of the VirtualMachine model.
  • Extended the VirtualMachine model:
    start_action() is to be called before submitting requests to Ganeti....
5abfb207 02/07/2011 11:56 pm Vassilios Karakoidas
  • Fix unit tests in db app
6ce6dee1 02/07/2011 06:57 pm Markos Gogoulos

added User ForeignKey on Image

a31ff6cb 02/07/2011 05:46 pm Markos Gogoulos

initialization of VirtualMachineGroup and VirtualMachineGroupHandler that lists/creates/deletes VirtualMachineGroups

these are groups of virtual machines for a User

61b80d9a 02/06/2011 10:48 pm Vassilios Karakoidas
  • Charger now works properly
bfd0754e 02/06/2011 01:05 am Vassilios Karakoidas

Add all custom commands

View revisions

Also available in: Atom