Nova Commands for Domain Quota Management

Registered by VINOD KUMAR

Nova Commands for using Domain Quota Driver to manage the quotas at domain, project and user level. This blue print defines the necessary Nova Commands to use the domain quota driver APIs as described in (https://blueprints.launchpad.net/nova/+spec/domain-quota-driver-api)

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
VINOD KUMAR
Direction:
Needs approval
Assignee:
None
Definition:
Drafting
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
VINOD KUMAR

Related branches

Sprints

Whiteboard

Following commands have been added to nova for Domain Quota Management

$> nova domain-quota-show

List the quotas for a domain/tenant/user.

Positional arguments:
  <domain-id> ID of domain to list the quotas for.

Optional arguments:
  --tenant <tenant-id> ID of tenant to list the quotas for.
  --user <user-id> ID of user to list the quotas for.

$> nova domain-quota-defaults
List the default quotas for a domain.

Positional arguments:
  <domain-id> ID of domain to list the default quotas for.

$> nova domain-quota-delete
Delete quota for a domain/tenant/user so their quota will Revert back to
default.

Positional arguments:
  <domain-id> ID of domain to delete quota for.

Optional arguments:
  --tenant <tenant-id> ID of tenant to delete quota for.
  --user <user-id> ID of user to delete quota for.

$> nova domain-quota-update
Update the quotas for a domain/tenant/user.

Positional arguments:
  <domain-id> ID of domain to set the quotas for.

Optional arguments:
  --tenant <tenant-id> ID of tenant to set the quotas for.
  --user <user-id> ID of user to set the quotas for.
  --instances <instances>
                        New value for the "instances" quota.
  --cores <cores> New value for the "cores" quota.
  --ram <ram> New value for the "ram" quota.
  --floating-ips <floating-ips>
                        New value for the "floating-ips" quota.
  --fixed-ips <fixed-ips>
                        New value for the "fixed-ips" quota.
  --metadata-items <metadata-items>
                        New value for the "metadata-items" quota.
  --injected-files <injected-files>
                        New value for the "injected-files" quota.
  --injected-file-content-bytes <injected-file-content-bytes>
                        New value for the "injected-file-content-bytes" quota.
  --injected-file-path-bytes <injected-file-path-bytes>
                        New value for the "injected-file-path-bytes" quota.
  --key-pairs <key-pairs>
                        New value for the "key-pairs" quota.
  --security-groups <security-groups>
                        New value for the "security-groups" quota.
  --security-group-rules <security-group-rules>
                        New value for the "security-group-rules" quota.

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

(?)

Work Items

Work items:
Nova Commands: DONE
Tests Included: DONE

This blueprint contains Public information 
Everyone can see this information.