- 29 Nov, 2013 1 commit
-
-
Christos Stavrakakis authored
Since the size of IP pools is not automatically computed by the size of corresponding subnet, the data migration must add sizes to all existing IP pools.
-
- 06 Nov, 2013 1 commit
-
-
Christos Stavrakakis authored
Before implementing the Neutron API, each network had one IP pool that contained the whole subnet CIDR. This changed since now we have multiple IP Pools(with base and offset attributes) per network and this IP pools do not contain the network, broadcast and gateway addreeses. This commit fixes an old migration to add 'base' and 'offset' attribute to all IP pool objects, and adds an extra step to old and not-initialized pools in order to externally reserve those addresses.
-
- 09 Oct, 2013 2 commits
-
-
Christos Stavrakakis authored
Migrate attributes from old Network model to new Subnet model.
-
Christos Stavrakakis authored
Add Subnet model containing Layer-3 characteristics for networks. Also, extend IPPoolTable object to hold a reference to the Subnet that the pool belongs to. Signed-off-by:
Dionysis Grigoropoulos <dgrig@grnet.gr>
-
- 07 Oct, 2013 1 commit
-
-
Christos Stavrakakis authored
Add a unique constraint to NetworkInterface model. This constraint asserts that the same IPv4 address from the same network will no be assigned to more than one NICs.
-
- 01 Oct, 2013 1 commit
-
-
Christos Stavrakakis authored
Extend 'Backend' models with 'disk_template' attribute, that contains the list of disk templates that are available in each backend.
-
- 10 Sep, 2013 1 commit
-
-
Christos Stavrakakis authored
Change 'index' field of NIC model to be optional, because the index of building NICs is unknown. Also, change all API responses to return only the active NICs.
-
- 22 Jul, 2013 1 commit
-
-
Christos Stavrakakis authored
-
- 02 Jul, 2013 1 commit
-
-
Christos Stavrakakis authored
Add migration file for floating IPs and VM task state.
-
- 31 May, 2013 1 commit
-
-
Christos Stavrakakis authored
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.
-
- 21 May, 2013 1 commit
-
-
Christos Stavrakakis authored
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. * Do not use hotplug at Xen backends, since it is not implemented. * Support different 'hvparams' for Xen and KVM backends. Update GANETI_CREATEINSTNACE_KWARGS setting to hold 'hvparams' for both Xen and KVM. * When getting instance console, check 'serial_console' hvparam only for Xen instances. Refs #3772
-
- 30 Apr, 2013 1 commit
-
-
Christos Stavrakakis authored
* 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. Also add the corresponding database migrations.
-
- 22 Mar, 2013 1 commit
-
-
Christos Stavrakakis authored
Use "ACTIVE" as NIC's default state, to avoid addding a data migration.
-
- 21 Mar, 2013 1 commit
-
-
Christos Stavrakakis authored
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. This drawback of this approach is that if the Ganeti hooks never run (building ERROR), Cyclades will never associate the IPv4 address with a machine and therefore this address will never be released. This commit fixes this issue by creating the VM's public NIC in DB when creating the server. Also the NetworkInterface model is extended with a 'state' field to indicate if the NIC is active or still building. Finally, the corresponding API calls are modified in order to return only 'ACTIVE' NICs.
-
- 04 Dec, 2012 1 commit
-
-
Dimitris Aragiorgis authored
-
- 26 Nov, 2012 1 commit
-
-
Christos Stavrakakis authored
-
- 23 Oct, 2012 1 commit
-
-
Kostas Papadimitriou authored
-
- 08 Aug, 2012 1 commit
-
-
Kostas Papadimitriou authored
Initial commit for VirtualMachineDiagnostics model and the corresponding south migrations script.
-
- 27 Jul, 2012 1 commit
-
-
Christos Stavrakakis authored
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.
-
- 23 Jul, 2012 7 commits
-
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
- Extend the Network model with fields for holding the IPv6 subnet and gateway. - Update network API methods. - Modify ganeti hooks to return IPv6 address for all network interfaces. IPv6 is now derived from the IPv6 subnet of the network in Ganeti, instead of the old setting (PUBLIC_IPV6_PREFIX) - Remove obsolete setting (`PUBLIC_IPV6_PREFIX`) - Update management commands for IPv6
-
Christos Stavrakakis authored
Use cipher to encrypt the passwords of the Ganeti backends in the DB. Encryption/decryption is based on a configurable key, defined by the ENCRYPTION_KEY setting. After modifying this setting, synnefo will be unable to decrypt already stored passwords, and passwords must be re-entered, using 'snf-manage backend-modify' command and restaring the server. A migration file is responsible for initially encrypting already stored passwords.
-
Christos Stavrakakis authored
Extend NetworkInterface model with a dirty bit, indicating whether the index of the NIC is consistent with the one in Ganeti. This flag is set when deleting a NIC, and is switched off after processing the notification from Ganeti. Removing a NIC with the dirty bit on is not allowed.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Since Ganeti version 2.6, Ganeti is aware of private networks. We take advantage of this by propagating network handling to Ganeti. Network model is expanded to include information about the type of network (public routed, physical vlan, private filtered), subnet, gateway, dhcp, link and mac_prefix. - Update Network Model and delete NetworkLink model - Create MacPrefixPool and BridgePool models - Default constant settings for MacPrefix management
-
Christos Stavrakakis authored
- Create Backend model holding info about credentials, status and resources - Add Backend as foreign key to VirtualMachine - Create a cache of Backend clients (RAPI) for better performance
-
- 06 Jun, 2012 1 commit
-
-
Christos Stavrakakis authored
Update all modules which are interacting with the RabbitMQ messaging system to use the AMQPClient in order to use highly available queues in active/active mode. Extend messages to include a unique identifier in order to handle duplication of messages and out of order delivery. The timestamp of the event that the message is describing is chosen for this. Extend VirtualMachine model with 'backendtime' field to hold the timestamp described above.
-
- 07 Mar, 2012 1 commit
-
-
Kostas Papadimitriou authored
Fixes some flavor constrains issues
-
- 08 Feb, 2012 1 commit
-
-
Giorgos Verigakis authored
-
- 03 Feb, 2012 1 commit
-
-
Giorgos Verigakis authored
-
- 27 Jan, 2012 1 commit
-
-
Giorgos Verigakis authored
* Added middleware to authenticate with Astakos * Removed more legacy code * Deleted Image and ImageMetadata models Tests and admin still pending.
-
- 23 Jan, 2012 1 commit
-
-
Giorgos Verigakis authored
Also remove aai and helpdesk apps
-
- 24 Nov, 2011 1 commit
-
-
Kostas Papadimitriou authored
since more than one packages exist in repository root
-
- 18 Nov, 2011 1 commit
-
-
Kostas Papadimitriou authored
-
- 21 Jun, 2011 1 commit
-
-
Georgios Gousios authored
-
- 20 Jun, 2011 1 commit
-
-
Giorgos Verigakis authored
list_images now returns images that either match the owner, or that are marked as public. Fixes #555 Database migration needed.
-
- 14 Jun, 2011 1 commit
-
-
Georgios Gousios authored
-
- 03 Jun, 2011 1 commit
-
-
Vangelis Koukis authored
Merge branches api-current and ui-0.4: * Fix merge conflicts * Fix minor bug in reconciliation mgmt command * Add comments in settings.py.dist * minor PEP8 fixes
-
- 11 May, 2011 1 commit
-
-
Georgios Gousios authored
-
- 03 May, 2011 1 commit
-
-
Giorgos Verigakis authored
Refs #409
-