Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / db @ ff5edb80

Name Size
  fixtures
  migrations
  pools
__init__.py 1.9 kB
aes_encrypt.py 3.5 kB
fields.py 2.8 kB
models.py 36.8 kB
models_factory.py 8.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
ff5edb80 02/28/2014 01:00 pm Giorgos Korfiatis

Update Copyright for project-related changes

Update Copyright for files merged into develop in 2014 concerning the new
projects mechanism.

a6e6fe48 02/27/2014 04:16 pm Christos Stavrakakis

cyclades: Common function to get object by ID

Create common helper function, for command line tools, to get an object
from DB by it's ID, and raise the appropriate command error if the
object does not exist or the ID is invalid.

39f723aa 02/24/2014 06:58 pm Christos Stavrakakis

cyclades: Add 'public' attribute to ports

Extend ports (NetworkInterface model) with 'public' attribute, to
indicate that the port is connected to a public network without getting
the network from the DB. Add corresponding DB migration and update the
DB models factory....

4e3789fd 02/24/2014 03:33 pm Christos Stavrakakis

cyclades: Add list of subnet IDs to network model

Extend Network model with 'subnet_ids' attribute. This attribute is a
list with the IDs of the subnet that belong to this network and is
stored in DB as a comma seperated list of integers.

This information is already contained in the Subnet model. However, we...

b5780d85 02/13/2014 04:20 pm Giorgos Korfiatis

cyclades: Add field project in models

Add field `project' and initialize it to `userid' for all VMs, networks and
floating IPs. This means that all resources are assigned to the owner's base
project.

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.

View revisions

Also available in: Atom