- 13 May, 2013 11 commits
-
-
Giorgos Korfiatis authored
Refs #3530 Use the same utility function as astakos-quota. Update the latter to a SynnefoCommand.
-
Giorgos Korfiatis authored
Refs #3717 Replace instances of DateField in ProjectMembership and ProjectMembershipHistory.
-
Giorgos Korfiatis authored
This reverts commit 7ce770be9fd9668fff4088eff2421cbeb0cc311e. Update astakos tests to use membership id.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Do not create private networks when adding a new backend. Since, "lazy networks" this is no longer needed.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Implement "lazy networks", which are not created to all Ganeti backends upon creation, but only when an instance that resides in a Ganeti is connected to that network. Update 'create_network' to create the Network object in DB without creating network in Ganeti, or correspoding BackendNetwork entries. The state of the Network becomes 'ACTIVE' upon creation, instead of 'PENDING' that was until now. Also, update 'delete_network' function to delete the network only from the backends that it is not in 'DELETED' state. The state of the network will become 'DELETED' only when all corresponding backend networks become 'DELETED' (including offline backends). Extend code that connects a VM to a network to check if the network already exists and is in 'ACTIVE' state in the Ganeti backend that hosts the VM. If not, it will create the network and then connect the VM (using Ganeti chained-jobs to ensure correct ordering of jobs). Update 'reconcile-networks' management command to work with lazy networks. Specifically, do not check if private networks exist in all backends. Update 'network-add' management command to create the network in the Ganeti, only if a backend is specified. Finally, when using Ganeti chained-jobs to impose ordering of jobs, do not depend only on 'success' of a job, but also on 'error' and 'cancel'. This is needed to cover case that a job fails (e.g. create network) because the resource already exists.
-
Christos Stavrakakis authored
Conflicts: docs/dev-guide.rst
-
Christos Stavrakakis authored
Update create/remove management commands to issue commission when needed.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
- 10 May, 2013 9 commits
-
-
Sofia Papagiannaki authored
If option parameter ``usage`` is passed then the response should contain also the resource presentation information (as it used to be in the past)
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
Replace all AstakosCallpoint references
-
Sofia Papagiannaki authored
User request.user field (set by user_for_token decorator)
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
user_for_token after successful user authentication sets the request user attribute The wrapped methods no more need the ``user`` argument: they can get the token holder by the request object
-
Sofia Papagiannaki authored
Refs: #3340
-
- 09 May, 2013 11 commits
-
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Fix race condition in one of Astakos tests.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Do not user 'assertItemsEqual' method of unittest is only supported in python 2.7. Also, some arguments have been renamed.
-
Christos Stavrakakis authored
Search based on 'person__id' and not 'id'.
-
Sofia Papagiannaki authored
-
Christos Stavrakakis authored
Mock 'resolve_commissions' call.
-
Christos Stavrakakis authored
Use 'urljoin' to compute the 'config_url' parameter.
-
Constantinos Venetsanopoulos authored
Minor Conflict: docs/cyclades-api-guide.rst
-
Constantinos Venetsanopoulos authored
-
- 08 May, 2013 6 commits
-
-
Giorgos Korfiatis authored
add_member, remove_member were not used.
-
Giorgos Korfiatis authored
Left-justifying resulted in long wrapped empty lines, when a value exceeded the line size.
-
Giorgos Korfiatis authored
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
Always return services that exist in database. If a known service exists use the predefined presentation data as base dict upon which we build up the returned info by merging the data stored in service model and the ASTAKOS_SERVICE_META entry if exists for the corresponding service.
-
Giorgos Korfiatis authored
-
- 02 May, 2013 3 commits
-
-
Kostas Papadimitriou authored
using basestring also handles unicode objects
-
Kostas Papadimitriou authored
- Removed /userdata/quota view in respect of astakos quotas api delegate views served in the same urls used by astakos api (/astakos/api/quotas, /astakos/api/resources). Base url is configurable using the UI_ACCOUNTS_API_URL (defaults to /astakos/api). - Refactored quotas js client to use backbone Collection/Model mechanisms. - Refresh quotas using the common api update mechanism used by vms and networks (deprecated UI_QUOTAS_UPDATE_INTERVAL setting) - Extended main view initialization steps to include quotas/resources loading before the initial layout renedring
-
Giorgos Korfiatis authored
-