Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / db / migrations @ adc46059

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 12.4 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.2 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
0048_network_mac_prefix.py 13.1 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.4 kB
0053_auto__del_bridgepool__del_macprefixpool.py 12.6 kB
0054_auto__add_ippooltable__add_field_network_pool.py 13.2 kB
0055_data_migrate_ip_pools.py 13.7 kB
0056_auto__del_field_network_reservations.py 12.4 kB
__init__.py 0 Bytes

Latest revisions

# Date Author Comment
fdc94944 09/20/2012 12:14 pm Christos Stavrakakis

Refactor IP pools

Treat IP pool the same way as bridge and mac-prefix pools. The pool is
removed from the Network table and moved to an IPPoolTable containing the
IP pools for all networks. Also added support for external reservations.

Migration files for transfering the pool to the new tables are included....

03992c72 09/19/2012 01:16 pm Christos Stavrakakis

Refactor bridge and mac-prefix pool tables

Redesign the implementation of pools and map mac-prefix and bridge pools
to that design.

Each pool type is mapped to a table in the database, and each row of
that table is a pool of that type. All pool tables must contain the...

7cfbbf32 09/07/2012 05:36 pm Christos Stavrakakis

New method for creating BackendNetwork entries

Create a new method to the Network model, in order to create the
BackendNetwork entries tha correspond to this network. Also remove
the custom save method, since when multiple public network will be
supported, we want them to be correlated with specific backends.

601ce073 07/27/2012 09:26 pm Christos Stavrakakis

Fix bug in migration file

Do not allocate a bridge from the pool for deleted networks.

d0411c0a 07/27/2012 02:57 pm Christos Stavrakakis

Fix migration files

Fix south migration files. In data migrations, access the Models from
the orm, instead importing Models from synnefo.db. This is necessary as
the orm provides access to the version of the models that existed when
the migration file was created.

3165f027 07/27/2012 02:57 pm Christos Stavrakakis

Implement MAC Prefix Management

In order to guarantee uniqueness of MAC address accross all backends,
synnefo assignes a unique mac prefix to each network in each backend.

A mac-prefix of 20 bits, which is picked from the MacPrefixPool, is
assigned to each Network. The mac-prefix of the network in each...

4e5e8cc9 07/26/2012 06:29 pm Christos Stavrakakis

Warning about missing setting to migration file

18151abe 07/24/2012 02:27 pm Christos Stavrakakis

Fix bugs in migration files

2a8a60d5 07/23/2012 11:49 am Christos Stavrakakis

Increase the size of backend password_hash

77f0fa63 07/23/2012 11:49 am Christos Stavrakakis

Implement IP management

Delegate IP management to synnefo, in order to be able to allocate IP
addresses accross multiple Ganeti backends. This is achieved by creating a
Pool of IPs for each Network, in the form of a bitarray, which is stored
in the DB as a base64 string....

View revisions

Also available in: Atom