- 13 Feb, 2014 16 commits
-
-
Giorgos Korfiatis authored
The API is responsible to provide valid data to the backend.
-
Giorgos Korfiatis authored
Add a management command that directly modifies an initialized project.
-
Giorgos Korfiatis authored
Since a user can now specify the project where a resource is assigned, user-provided data do reach the quotaholder. A NotFound response is thus not necessarily an internal error; the user may just not be a member of the input project. Query the quotaholder to find out whether this is the case and, if so, raise BadRequest.
-
Giorgos Korfiatis authored
Add optional parameter `project' in API calls that create VMs, networks, and floating IPs. If missing, user's base project is assumed (same uuid as the user).
-
Giorgos Korfiatis authored
Add issue_commission wrapper for assigning resources to a new project.
-
Giorgos Korfiatis authored
Both issue_one_commission and the new call issue_commission_generic act as wrappers on top of _issue_commission. They create the appropriate project-level provisions, based on the original ones provided by the astakosclient user.
-
Giorgos Korfiatis authored
Add field `project' and initialize it to `userid' for all VMs, networks and floating IPs. This means that all resources are assigned to the owner's base project.
-
Giorgos Korfiatis authored
Remove functionality from management commands `quota' and `user-modify' for setting base quota. They will now be handled through projects.
-
Giorgos Korfiatis authored
Also add option to delete project and user holdings that do not correspond to actual astakos entities.
-
Giorgos Korfiatis authored
Update quota code to take into account the differentiated sources. There is no more need to lock the user when updating quota; locking the project is now adequate. Update quota listing in management commands; introduce option --quota in project-show.
-
Giorgos Korfiatis authored
Recreate quota holdings for all initialized projects and memberships.
-
Giorgos Korfiatis authored
Add flag `initialized' on ProjectMembership. It is set to true once a user is accepted. It is used to distinguish users that have registered project quota (but may have been removed since then).
-
Giorgos Korfiatis authored
Make base project along with the user with the same uuid. Enable the project upon user acceptance.
-
Giorgos Korfiatis authored
Every user is associated with a special-purpose `base' project. Its mission is to manage the user's base quota.
-
Giorgos Korfiatis authored
Field project_capacity now requires a value; field project_application was mistakenly set nullable.
-
Giorgos Korfiatis authored
-
- 12 Feb, 2014 6 commits
-
-
Giorgos Korfiatis authored
A project entry will contain all information needed to operate a project. An application will store just the information provided by the applicant.
-
Giorgos Korfiatis authored
None will from now on denote a missing field of the application. Use empty string for missing string and the conventional max int (2**63-1) for a missing limit.
-
Giorgos Korfiatis authored
We need bigint in order to represent infinite as 2**63-1.
-
Giorgos Korfiatis authored
Add field `project_default' in resources. This will serve as a skeleton to fill project quota (both project-level and member-level limits) for resources not specified by the application. The field is initialized by consulting the default base quota (field `uplimit'): It is set to inf if uplimit is inf, otherwise it is set to zero.
-
Giorgos Korfiatis authored
Each resource grant that a project provides is now also associated with a project-level limit. This is set by consulting the existing user-level limit and the max members allowed. If the latter limit is not set, we consider the project's current number of active members.
-
Giorgos Korfiatis authored
Introduce field `uuid'; use it to refer to projects in the API and the management commands.
-
- 10 Feb, 2014 7 commits
-
-
Giorgos Korfiatis authored
A private project can only be accessed by its owner and its members. No user can join the project; but the owner can enroll members.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Introduce generic notify functions that consult a dict for a given action.
-
Giorgos Korfiatis authored
-
Kostas Papadimitriou authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Handle explicitly key paths as lists of keys. This allows the key to be any python object, as is the case in python dicts. Provide utility unpack() to convert from a string representation to a list of keys. It assumes that a key is either a string or an integer (if it looks like one).
-
- 07 Feb, 2014 1 commit
-
-
Ilias Tsitsimpis authored
When cloning the pithos webclient, snf-ci tries to checkout a branch with the same name as the synnefo one (if such branch exists). To do so it gets the list of all branches using the 'git branch' command. But 'git branch' uses the pager and so the command's output is filled with garbage. This patch fixes that by telling git to not use the pager.
-
- 03 Feb, 2014 3 commits
-
-
Dimitris Aragiorgis authored
Enable eventd during prepare() so that after restarting it, init script will not fail. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr>
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
- 01 Feb, 2014 1 commit
-
-
Sofia Papagiannaki authored
-
- 31 Jan, 2014 1 commit
-
-
Ilias Tsitsimpis authored
This patch fixes a problem with burnin where burnin couldn't delete a floating IP if it was attached to a port, by destroying the port first.
-
- 30 Jan, 2014 3 commits
-
-
Olga Brani authored
-
Giorgos Korfiatis authored
Conflicts: snf-deploy/snfdeploy/__init__.py version
-
Dionysis Grigoropoulos authored
* Check if the user specified an invalid disk/container format when registering an image. * Check if the user provided a valid disk/container format when updating a registered image. * Check if the user provided an image ID when registering/updating an image. * Check if the store type is within acceptable values. * Properly handle unicode user input
-
- 29 Jan, 2014 2 commits
-
-
Dionysis Grigoropoulos authored
-
Christos Stavrakakis authored
s/lib/util
-