Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / db @ 2eda9c61

Name Size
  fixtures
  migrations
  pools
__init__.py 1.9 kB
aes_encrypt.py 3.5 kB
fields.py 2.8 kB
models.py 41.2 kB
models_factory.py 9.4 kB
query.py 2.9 kB
tests.py 10.7 kB
utils.py 1.8 kB
views.py 26 Bytes

Latest revisions

# Date Author Comment
58194535 01/29/2014 03:57 pm Christos Stavrakakis

cyclades: Add 'disk_template' to Volumes

Also check GANETI_CLONE_PROVIDERS

910d960d 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Implement API for volume attachments

Extend /servers API with 'os-volume_attachments' endpoint, containing
API calls for attaching and detaching volumes to servers, and
listing/showing the volumes of a server.

5f90e24c 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Various fixes relative for volumes

  • Do not store source_{volume_id, image_id, snapshot_id} as seperate
    fields. Instead store them in the 'source' field, with a special prefix
    to indicate the source type.
  • Add 'origin' field to Volume model to contain the origin that will be...
d4617818 01/29/2014 03:52 pm Christos Stavrakakis

cyclades: Create DB models for 'volume' app

Create new database models for 'volume' app:
  • Volume
  • Snapshot
  • VolumeMetadata
  • SnapshotMetadata

Also add VolumeFactory and SnapshotFactory models factories.

62b76f38 01/22/2014 12:50 pm Christos Stavrakakis

cyclades: Extend flavors with 'allow_create' field

  • Add 'allow_create' field to Flavor DB model and the corresponding
    migration.
  • Extend API for flavors to return the 'SNF:allow_create' attribute
  • Update POST /servers API call to check that the flavor that is...
bdedfd9d 12/19/2013 05:22 pm Christos Stavrakakis

cyclades: Add 'userid' and 'public' to subnets

Extend 'Subnet' model with 'userid' and 'public' attributes. This is
required in order to avoid an expensive join when listing subnets. This
commit also includes a database migration for existing subnets.

5920f82c 12/19/2013 05:22 pm Christos Stavrakakis

cyclades: Add 'ipversion' to IPAddress model

744dced3 12/18/2013 07:17 pm Christos Stavrakakis

cyclades: Fix broken tests

Fix default values for DB model factories.

bf0cd43a 12/18/2013 07:17 pm Christos Stavrakakis

cyclades: Fix migration file

Fix migration that caused creation of Subnet for networks that did not
had enabled the 'dhcp' option.

fd74cfd3 12/17/2013 05:16 pm Christos Stavrakakis

cyclades: Add datetime fields to Subnet model

Add 'created' and 'updated' datetime fields in Subnet model.

View revisions

Also available in: Atom