Statistics
| Branch: | Tag: | Revision:

root / db @ 67679131

Name Size
  fixtures
  management
__init__.py 0 Bytes
admin.py 1.9 kB
bill_calculator.py 197 Bytes
charger.py 616 Bytes
credit_allocator.py 975 Bytes
db_controller.py 4.3 kB
models.py 11.7 kB
tests.py 954 Bytes
views.py 26 Bytes

Latest revisions

# Date Author Comment
10532027 04/12/2011 10:33 am Constantinos Venetsanopoulos

Added Image Metadata (OS, kernel) in fixtures

44e6ec18 04/07/2011 09:45 pm Vangelis Koukis

Fix broken db_test_data.json wrt to Image model

Removing the description field from the Image model
and moving it to ImageMetadata broke the fixtures in
db_test_data.json and the associated tests of the db app.

Tests for api, db, logic run properly.

76ba77c1 04/05/2011 08:54 pm Vangelis Koukis

Fix bugs in api/server.py:create_server()

Fix bugs in server creation, in api/server.py:create_server().
More specifically: * Make sure to save() the vm object before calling vm.backend_id * Delete the vm instance if the RAPI call fails for any reason * Use different variable names for the server name at the API level...

498728a8 04/05/2011 08:02 pm Vangelis Koukis

Fix Image fixtures, remove size attribute

Fix the fixtures for the Image model, removing references
to the size attribute, which no longer exists in the Image model
since commit 838c404d4.

Also fix unloadable fixtures, by removing stray comma chars
in JSON.

432fc8c3 04/05/2011 01:21 pm Giorgos Verigakis

Add metadata support in Images

Removed description and size from Image model.

f7cac984 04/04/2011 11:52 pm Markos Gogoulos

add description and size as metadata on db/fixtures/images

85bb192a 04/04/2011 12:55 pm Georgios Gousios

Fix order of test data to ensure proper insertion

This fixes an issue with DBs with proper referential integrity (e.g.
MySQL) where a VM cannot be inserted prior to an Image that is
referenced from it.

73b2b65e 04/01/2011 07:36 pm Vassilios Karakoidas

Added comment regarding VirtualMachine model

b46e0e43 03/31/2011 02:40 pm Georgios Gousios

Fix typo, spotted by vkoukis

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....

View revisions

Also available in: Atom