Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / db @ 862afc75

Name Size
  fixtures
  migrations
  pools
__init__.py 1.9 kB
aes_encrypt.py 3.5 kB
fields.py 2.8 kB
models.py 39.7 kB
models_factory.py 9 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
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.

e0b9a688 12/17/2013 12:03 pm Dionysis Grigoropoulos

cyclades: Fix bugs in port creation

  • Fix the name of a port not being saved
  • Check the length of the name of a port is within acceptable limits
ba6ad346 12/17/2013 09:58 am Dionysis Grigoropoulos

cyclades: Add a function to check name legnth

  • Add a function logic/utils.py to check the length of a string and
    raise an API fault with the corresponding message.
  • Check the length of the name of servers/ports/networks/subnets
e9b5ecff 12/09/2013 03:19 pm Christos Stavrakakis

cyclades: Speedup db data migrations

View revisions

Also available in: Atom