Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / db / migrations @ 1cfd5d4d

Name Size
0001_initial.py 17.7 kB
0002_aai_fields.py 10 kB
0003_auto__add_network.py 10.4 kB
0004_auto__add_field_image_backend_id__add_field_image_format.py 9.9 kB
0005_auto__add_invitations.py 10.8 kB
0006_auto__add_networkinterface.py 13.3 kB
0007_auto__add_field_synnefouser_auth_token_expires__chg_field_synnefouser_.py 10.9 kB
0008_auto__chg_field_image_format__chg_field_image_backend_id.py 10 kB
0009_auto__chg_field_network_owner.py 10.8 kB
0010_auto__add_networklink.py 11.7 kB
0011_auto__chg_field_networkinterface_ipv4.py 11.4 kB
0012_auto__del_field_networklink_network.py 11.2 kB
0013_auto__add_field_networklink_network.py 11.7 kB
0014_auto__add_field_synnefouser_auth_token_expires.py 13.2 kB
0015_auto__add_field_image_public.py 11.5 kB
0016_auto__add_field_synnefouser_max_invitations.py 13 kB
0017_auto__add_field_invitations_level.py 13.1 kB
0018_auto__add_field_virtualmachine_buildpercentage.py 13.1 kB
0019_auto__add_field_synnefouser_state.py 15.1 kB
0020_auto__add_field_flavor_deleted.py 13.4 kB
0021_auto__add_unique_together.py 13.7 kB
0022_auto__add_field_flavor_disk_template.py 13.6 kB
0023_auto__add_field_virtualmachine_imageid.py 13.6 kB
0024_string_image_ids.py 13.5 kB
0025_auto__del_field_virtualmachine_sourceimage.py 13.6 kB
0026_auto__del_unique_flavor_disk_ram_cpu__add_unique_flavor_disk_ram_cpu_d.py 13.9 kB
0027_auto__del_legacy_fields.py 14.8 kB
0028_auto__del_disk__add_field_userid.py 11.3 kB
0029_remove_user.py 10 kB
0030_auto__del_synnefouser__del_field_virtualmachine_owner__del_field_image.py 10.7 kB
0031_auto__del_imagemetadata__del_unique_imagemetadata_meta_key_image__del_.py 8.3 kB
0032_auto__del_unique_flavor_disk_ram_cpu__add_unique_flavor_disk_ram_cpu_d.py 6.8 kB
0033_auto__chg_field_networklink_available__add_field_virtualmachine_backen.py 8 kB
0034_auto__add_backend__add_field_virtualmachine_backend_hash__add_field_vi.py 10.3 kB
0035_default_backend.py 8.8 kB
0036_auto__add_bridgepool__add_macprefixpool__add_field_network_backendtime.py 15.7 kB
0037_network_migration.py 11.8 kB
0038_auto__del_networklink__del_field_network_netlink__chg_field_network_li.py 10.9 kB
0039_auto__add_backendnetwork__del_field_network_backendtime__del_field_net.py 14.4 kB
0040_auto__chg_field_networkinterface_index.py 10.8 kB
0041_auto__add_field_networkinterface_dirty.py 10.9 kB
0042_auto__del_field_backend_password__add_field_backend_password_hash.py 10.9 kB
0043_encrypt_passwords.py 11.3 kB
0044_auto__add_field_network_subnet6__add_field_network_gateway6.py 11.4 kB
0045_auto__chg_field_networkinterface_mac__add_field_network_reservations.py 11.5 kB
0046_auto__chg_field_backend_password_hash.py 11.3 kB
0047_auto__chg_field_networkinterface_mac__add_unique_networkinterface_mac_.py 12.7 kB
0049_not_null_mac_prefix.py 11.4 kB
0050_auto__add_unique_backendnetwork_network_backend.py 11.5 kB
0051_auto__add_bridgepooltable__add_macprefixpooltable.py 13.9 kB
0052_migrate_pool_entries.py 15.6 kB
0053_auto__del_bridgepool__del_macprefixpool.py 12.6 kB
0054_auto__add_ippooltable__add_field_network_pool.py 13.2 kB
0056_auto__del_field_network_reservations.py 12.4 kB
0057_auto__add_virtualmachinediagnostic.py 13.9 kB
0058_auto__chg_field_networkinterface_dirty__chg_field_virtualmachine_delet.py 17.2 kB
0059_auto__add_quotaholderserial__add_field_virtualmachine_serial__add_fiel.py 15.3 kB
0060_auto__del_field_network_type__add_field_network_flavor__add_field_netw.py 15.2 kB
0061_network_flavors.py 15.6 kB
0062_auto__add_field_networkinterface_state__chg_field_networkinterface_mac.py 14.9 kB
0063_auto__add_field_quotaholderserial_accept__add_field_quotaholderserial_.py 15.1 kB
0064_serials.py 14.9 kB
0065_auto__del_field_quotaholderserial_rejected__del_field_quotaholderseria.py 14.9 kB
0066_add_iv.py 18.2 kB
0067_auto__add_field_backend_hypervisor.py 14.6 kB
0068_auto__add_field_network_drained.py 14.7 kB
__init__.py 0 Bytes

Latest revisions

# Date Author Comment
6dafedf6 05/31/2013 05:12 pm Christos Stavrakakis

cyclades: Add 'drained' flag to Network

Extend Network model with the 'drained' attribute, to indicate whether a
network should be used in public IP allocation when creating servers.
This option is only useful for public networks.

bd87213f 05/21/2013 02:07 pm Christos Stavrakakis

cyclades: Sypport backends with Xen hypervisor

Support Ganeti backends with Xen hypervisor:
  • Extend 'Backend' model with the 'hypervisor' attribute, which
    currently can be 'kvm' or 'xen'. Use 'kvm' as default value to
    easy database migration. Also add the corresponding schema migration....
e4ce2d35 05/15/2013 06:35 pm Christos Stavrakakis

cyclades: fix db migration

Migration 0066 should not run on a fresh installation.

3dbd9457 05/15/2013 05:05 pm Christos Stavrakakis

cyclades: Make cyclades work with pycrypto==2.6

In PyCrypto 2.6, it is mandatory to use an IV of 16 bytes when using AES
encryption. This commit updates 'aes_encrypt' module to use a random IV.
Also, a data migration is required to re-encrypt the old passwords, as...

97fffe10 04/30/2013 05:05 pm Christos Stavrakakis

Refactor QuotaHolder serial model

  • Merge 'accepted' and 'rejected' field to 'accept' field.
  • Add 'resolved' field, indicating whether this commission has been
    accepted/rejected to Quotaholder
  • Remove custom save() method. Handle 'pending' field manually....
ef54eee4 03/22/2013 02:19 pm Christos Stavrakakis

Fix NIC's default state

Use "ACTIVE" as NIC's default state, to avoid addding a data migration.

939d71dd 03/21/2013 05:05 pm Christos Stavrakakis

Create public NIC when creating VM

Until now, a server's public NetworkInterface was not created in the DB
until the arrival of the message from Ganeti hooks. However, the IPv4
address of the NIC is reserved before sending the OP_INSTANCE_CREATE
job to Ganeti....

1ef9dac4 12/04/2012 04:51 pm Dimitris Aragiorgis

Migration files for network types

b8b676a1 11/26/2012 05:58 pm Christos Stavrakakis

Add migration file for quotaholderserial

190d155f 11/09/2012 03:51 pm Christos Stavrakakis

Add indexes to VirtualMachine and Network

Add indexes to VirtualMachine userid and deleted columns
Add indexes to Network userid, deleted and public columns

View revisions

Also available in: Atom