- 23 Aug, 2013 2 commits
-
-
Christos Stavrakakis authored
Commit #c172f4a used the "size" attribute of images. This commit fixes mocked images of tests to contain this attribute.
-
Christos Stavrakakis authored
Update Cyclades, to pass as 'img_id' the hashmap('checksum') of the image, instead of the location URL. In that way, snf-image does not any access to the Pithos database.
-
- 21 Aug, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 20 Aug, 2013 2 commits
-
-
Christos Stavrakakis authored
In case hotplug is disabled, via GANETI_USE_HOTPLUG setting, network actions should be allowed only on STOPPED vms. This commit adds this check and a unittest for this case. Also it makes some other checks regarding actions and states of vms more strict. Finally, this commit changes the default value of GANETI_USE_HOTPLUG to True.
-
Christos Stavrakakis authored
-
- 19 Aug, 2013 1 commit
-
-
Christos Stavrakakis authored
Remove firewall tag from ganeti instance when disconnecting them from networks. Until now, this was not needed because a vm could not be disconnected from public networks. Since floating IPs, a vm may be dynamically be connected and disconnected to public networks, and so a hanging firewall tag may affect another NIC.
-
- 07 Aug, 2013 7 commits
-
-
Christos Stavrakakis authored
Import settings from django.conf instead of synnefo.
-
Christos Stavrakakis authored
Extend servers info API response with 'SNF:port_forwarding' attribute, describing port fowarding rules (DNAT) that are applied to vms. The description of such rules is done via the new CYCLADES_PORT_FORWARDING setting. This setting can be either a dictionary mapping to ports to tuples of (host, port), or a callable object that must return such a tuple. The caller will pass to the callable the following positional arguments, in the following order: * server_id: The ID of the VM in the DB * ip_address: The IPv4 address of the public VM NIC * fqdn: The FQDN of the VM * user: The UUID of the owner of the VM
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Extend the servers info API response with the 'SNF:fqdn' attribute, containg the vm's domain name in a DNS. This attribue is configurable by the 'CYCLADES_SERVERS_FQDN' setting. If this setting is set to None, then then the first public IPv4 or IPv6 address is returned.
-
Georgios D. Tsoukalas authored
-
Christos Stavrakakis authored
-
- 06 Aug, 2013 9 commits
-
-
Kostas Papadimitriou authored
handle the case where available resource quota is less than the corresponding active quota (for cpu, mem and disk resources).
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Dionysis Grigoropoulos authored
-
Christos Stavrakakis authored
Fix bugs in network-modify command, and specifically when modifying a network to a floating IP pool: * do not check availability of link in backends in which the network is already created. * check about the group list was working only with ganeti>=2.7 * fix wrong string formatting
-
Kostas Papadimitriou authored
prevent user from allocating new ip addresses if no available pools exist
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Check that IPv6 network netmask is /64, because this is imposed by the 'mac2eui64' utility that generates EUI-64 addresses from 48-bit MAC addresses. Refs #4201
-
Christos Stavrakakis authored
Move code for network parameters validation from 'api' module to 'logic'.
-
- 05 Aug, 2013 3 commits
-
-
Christos Stavrakakis authored
Commit 7cfc0ce moved code from webproject to snf_django. This commit fixes some stale imports that skipped renaming.
-
Christos Stavrakakis authored
Remove some hard-coded IDs from tests.
-
Christos Stavrakakis authored
snf-webproject contained the generic ListCommand, and because of this it had a dependency from snf-django-lib. This commit moves this command from snf-webproject to snf-django-lib and removes this dependency. Also, updates all imports of ListCommand. Refs #4041
-
- 26 Jul, 2013 1 commit
-
-
Christos Stavrakakis authored
Add option in snf-manage network-create command to create network in all backends.
-
- 25 Jul, 2013 3 commits
-
-
Christos Stavrakakis authored
Make all quotaholder commissions to have a name. Since, Cyclades does not store the association of a commission with a resource, we include the resource in the commission name.
-
Christos Stavrakakis authored
Make unicode method of VirtualMachine, Network and FloatingIP models more verbose.
-
Christos Stavrakakis authored
Update snf-manage network-create command to take a list of comma seperated backend IDs to create the network to.
-
- 24 Jul, 2013 9 commits
-
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Extend reconciliation mechanism, to detect instances with stale pending tasks, by looking if the corresponding job, 'vm.task_job_id', is still running in the Ganeti backend. Also refactor code that performed reconciliation for buildign vms, to get the Ganeti job from the already retrieved job list.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Set firewall profile per NIC, because since Floating IPs an instance can have more than one NICs in a public network. Extend the API call to take the NIC index as argument, and modify the Ganeti instance tags to be formated with the NIC index.
-
Christos Stavrakakis authored
Do not include the floating IP pools, to the available public networks when allocating an IPv4 address, when 'SNF:ANY_PUBLIC' option is used.
-
Christos Stavrakakis authored
Merge code from logic/networks.py and network management commands.
-
Christos Stavrakakis authored
Add a check when creating IP_LESS_ROUTED networks, that the connectivity link is not already used by another network.
-
Christos Stavrakakis authored
Add '--floating-ip-pool' option to network-modify management command, in order to convert a network to a floating IP pool. Conversation of a network to a floating IP pool requires the creation of the network to all Ganeti backends. Also, a check is added to to ensure that the link is available in the Ganeti backend. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr>
-
Christos Stavrakakis authored
Fix bug caused by wrong identation level. Modification of network in Ganeti should be performed only if 'add_reserved_ips' or 'remove_reserved_ips' options are used.
-
- 22 Jul, 2013 2 commits
-
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-