Skip to content

Add management command to report total quotas - #325

Open
marcoagonzales007 wants to merge 1 commit into
nerc-project:mainfrom
marcoagonzales007:report-total-quotas
Open

Add management command to report total quotas#325
marcoagonzales007 wants to merge 1 commit into
nerc-project:mainfrom
marcoagonzales007:report-total-quotas

Conversation

@marcoagonzales007

Copy link
Copy Markdown

References #86

Adds a report_total_quotasmanagement command that sums all the quota values across active allocations.

Supports --cloud-type, --project-id, --per-project, and --format json|csv.

Quotas names are read from each resource's Available Quota Resources attribute
Rather than Allocation_Quota_attributes which only contains Quota_GPU now

Also added to unit tests to test against the command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant