Skip to content

Commit

Permalink
prune allocation default options
Browse files Browse the repository at this point in the history
  • Loading branch information
claire-peters committed Aug 11, 2023
1 parent ffd68c4 commit 19273cf
Showing 1 changed file with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def handle(self, *args, **options):
# ('CLOUD_USAGE_NOTIFICATION', 'Yes/No', False, True),
# ('Core Usage (Hours)', 'Int', True, False),
# ('Accelerator Usage (Hours)', 'Int', True, False),
# ('Cloud Storage Quota (TB)', 'Float', True, False),
# ('EXPIRE NOTIFICATION', 'Yes/No', False, True),
# ('freeipa_group', 'Text', False, False),
# ('Is Course?', 'Yes/No', False, True),
Expand All @@ -63,15 +64,11 @@ def handle(self, *args, **options):
# ('slurm_user_specs_attriblist', 'Text', False, True),
# ('Storage Quota (GB)', 'Int', False, False),
# ('Storage_Group_Name', 'Text', False, False),
# ('Tier 0 - $50/TB/yr', 'Text', False, False),
# ('Tier 1 - $250/TB/yr', 'Text', False, False),
# ('Tier 2 - $100/TB/yr', 'Text', False, False),
# ('Tier 3 - $8/TB/yr', 'Text', False, False),
# ('Tier 0', 'Text', False, False),
# ('Tier 1', 'Text', False, False),
# ('Tier 2', 'Text', False, False),
# ('Tier 3', 'Text', False, False),

# ('SupportersQOS', 'Yes/No', False, False),
# ('SupportersQOSExpireDate', 'Date', False, False),
):
AllocationAttributeType.objects.get_or_create(name=name, attribute_type=AttributeType.objects.get(
name=attribute_type), has_usage=has_usage, is_private=is_private)
AllocationAttributeType.objects.get_or_create(
name=name,
attribute_type=AttributeType.objects.get(name=attribute_type),
has_usage=has_usage, is_private=is_private
)

0 comments on commit 19273cf

Please sign in to comment.