- 13 Feb, 2014 24 commits
-
-
Giorgos Korfiatis authored
Add support in resource-modify for changing the project_default.
-
Giorgos Korfiatis authored
Remove interactive operations, rename default-quota to base-default.
-
Giorgos Korfiatis authored
Report quota change when moving across accounts or across containers assigned to different projects.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Sofia Papagiannaki authored
Introduce ``project`` container policy. The value of this policy denotes the project from which the container quota originate. Further changes: * domain argument in get_{account|container|object}_meta backend methods has become optional unless user defined metadata are requested * the pithos frontend does not query anymore the astakosclient for the account usage; this is handled by the backend methods
-
Giorgos Korfiatis authored
Add API calls to assign a VM, network, or floating IP to a new project.
-
Giorgos Korfiatis authored
Make sure that issue_commission handles a single provision per (holder, source, resource) tuple by merging similar provisions.
-
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 2 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
-