GitHub user abhinandanprateek opened a pull request:
https://github.com/apache/cloudstack/pull/689
Quota master
This pull request is for quota service implementation, divided into
following two commits:
1. Quota server side implementation
a. Quota Framework plugin containing Daos
b. Quota database plugin for quota APIs
3. Quota Usage server enhancements
2. Quota UI plugin
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shapeblue/cloudstack quota-master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/689.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #689
----
commit 230b6f4bb81f4eeb314ac02b3fd338b24b7fb359
Author: Abhinandan Prateek <[email protected]>
Date: 2015-08-13T06:12:30Z
CLOUDSTACK-8592: Implement Quota service
Quota service while allowing for scalability will make sure that the cloud
is
not exploited by attacks, careless use and program errors. To address this
problem, we propose to employ a quota-enforcement service that allows
resource
usage within certain bounds as defined by policies and available quotas for
various entities. Quota service extends the functionality of usage server
to
provide a measurement for the resources used by the accounts and domains
using a
common unit referred to as cloud currency in this document. It can be
configured
to ensure that your usage wonât exceed the budget allocated to
accounts/domain
in cloud currency. It will let user know how much of the cloud resources
he is
using. It will help the cloud admins, if they want, to ensure that a user
does
not go beyond his allocated quota. Per usage cycle if a account is found to
be
exceeding its quota then it is locked. Locking an account means that it
will not
be able to initiat e a new resource allocation request, whether it is more
storage or an additional ip. Needless to say quota service as well as any
action
on the account is configurable.
FS:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Quota+Service+-+FS
Signed-off-by: Rohit Yadav <[email protected]>
commit c78fb351bdd199a77aba8f4f0b1578711c696bfb
Author: Rohit Yadav <[email protected]>
Date: 2015-08-13T06:15:21Z
CLOUDSTACK-8592: Implement UI Plugin for Quota Service
Signed-off-by: Rohit Yadav <[email protected]>
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---