Statistics
| Branch: | Tag: | Revision:

root / db @ eae0a59a

Name Size
  fixtures
  management
__init__.py 0 Bytes
admin.py 1.9 kB
bill_calculator.py 197 Bytes
charger.py 572 Bytes
credit_allocator.py 967 Bytes
db_controller.py 4.2 kB
models.py 19.8 kB
tests.py 1.8 kB
views.py 26 Bytes

Latest revisions

# Date Author Comment
eae0a59a 03/08/2011 04:25 am Dimitris Moraitis

partial auto-refresh

7afe1874 03/05/2011 05:12 pm Christos Psaltis

set self.suspended to false when starting vm

34a619ae 03/04/2011 10:06 am Vangelis Koukis

Make owner a not null ForeignKey in VirtualMachine

Make owner a required, not null foreign key in VirtualMachine.
Also fix fixtures and the implementation of POST /servers to include
a proper owner value (everything gets to be owned by the single SynnefoUser...

4ffb82dc 03/03/2011 08:24 pm Vassilios Karakoidas

Fixed a minor bug in models.py

  • Fixed a minor bug in model VirtualMachine
  • Added two notes in README
c58091a6 03/03/2011 06:49 pm Vangelis Koukis

Fix db/db_controller.py bug triggering 0mq bug

Fix db/db_controller.py bug triggering 0mq assertion failure
in ganeti-0mqd, by forcing unique ZMQ_IDENTITY strings for each
db_controller instance.

The identity string is built using the hostname where db_controller...

f53a9423 03/03/2011 05:49 pm Vangelis Koukis

Add independent fixtures for the Image model

Add independent fixtures for the Image model in db/fixtures/images.json,
no dependencies from VirtualMachine instances.

8707738f 03/03/2011 03:15 pm Vangelis Koukis

Add README.DB, minor fixes to fixtures

Add new file README.DB with instructions for PostgreSQL and MySQL setups.
Modify fixtures to include definition of Images in definition of VMs
(vms.json), ensuring referential integrity.

a0d4498a 03/03/2011 01:09 pm Vangelis Koukis

Remove user field from SynnefoUser, minor fixes

Remove the "user" ForeignKey() field from the SynnefoUser model, since
we do not use Django's auth mechanism.
More specifically: * remove user ForeignKey() field * update fixtures for initial data, DB and API tests...

bc9c872b 03/03/2011 12:20 pm Vangelis Koukis

Revert breakage caused by _update_state() commits

Try to revert the breakage caused by commits * dac4356407c446943ff029d1fe931516f3ba4c07 * 27816aaeab44c059466834a556a78931e5b0a9ee * 3ca38a07a0d23fd9bec0c4bc423df863dcf6509c

which caused self.save() to be called in VirtualMachine.__init__()...

3ca38a07 03/02/2011 06:03 pm Vassilios Karakoidas

Many fixes and refactoring in models

  • Simplified code in VirtualMachine._update_state()
  • Added comments in Flavor._get_costs() and other model methods

View revisions

Also available in: Atom