History | View | Annotate | Download (11.2 kB)
cyclades: Skip enforcing projects if users specified
If list of users to check is given, we should not report violations onprojects, because this may affect non-specified users.
snf_django: Use option groups in SynnefoCommand
Extend SynnefoCommand to use option groups to distinguish between commonand command-specific options, by overriding the 'create_parser' method.The command specific options must be declared in the'command_option_list' attribute of the SynnefoCommand. Also, we use a...
cyclades: Fix list objects in enforce
Convert set back to list, because the code further down requires anindexable object.
cyclades: Enforce quota per project
Take project into account when checking and enforcing quota violations. Addoption to restrict check to a certain project.
Catch EOF in astakos/quota commands
Abort operation when raw_input raises an EOFError.
Fix stdout/stderr write in astakos/quota commands
Write actual command output and user prompts to stdout; error and progressmessages to stderr.
cyclades: Set shutdown timeout when enforcing quota
Provide option `--shutdown-timeout' in management command to force a VMshutdown.
cyclades: Exclude users from quota enforcement
cyclades: Limit quota enforcement operations
Add option in enforce-resources-cyclades to specify the maximum number ofoperations to perform per backend.
Also ensure that quota are always checked in the same order.
cyclades: Enforce quota
Introduce command enforce-resources-cyclades, which checks for quotaviolations and applies actions to enforce the limits. By default, itoperates only on these resources: cpu, ram, floating_ip.