Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions app/demo_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,6 @@ def _init_state(self):
access=_ro,
filesystem="gpfs-homes",
performance_tier="medium",
quota_bytes=40 * 1024**3,
available_bytes=28 * 1024**3,
purge_policy_days=None,
shared=False,
),
Expand All @@ -433,8 +431,6 @@ def _init_state(self):
access=_rw,
filesystem="lustre-scratch",
performance_tier="high",
quota_bytes=20 * 1024**4,
available_bytes=14 * 1024**4,
purge_policy_days=30,
shared=False,
),
Expand All @@ -444,8 +440,6 @@ def _init_state(self):
access=_rw,
filesystem="gpfs-project",
performance_tier="medium",
quota_bytes=2 * 1024**4,
available_bytes=1024**4,
purge_policy_days=None,
shared=True,
),
Expand All @@ -455,8 +449,6 @@ def _init_state(self):
access=_rw,
filesystem="gpfs-cfs",
performance_tier="medium",
quota_bytes=10 * 1024**4,
available_bytes=8 * 1024**4,
purge_policy_days=120,
shared=True,
),
Expand All @@ -471,8 +463,6 @@ def _init_state(self):
access=_rw,
filesystem="hpss",
performance_tier="tape",
quota_bytes=None,
available_bytes=None,
purge_policy_days=None,
shared=False,
),
Expand All @@ -487,8 +477,6 @@ def _init_state(self):
access=_rw,
filesystem="gpfs-homes",
performance_tier="medium",
quota_bytes=40 * 1024**3,
available_bytes=28 * 1024**3,
purge_policy_days=None,
shared=False,
),
Expand All @@ -498,8 +486,6 @@ def _init_state(self):
access=_rw,
filesystem="lustre-scratch",
performance_tier="high",
quota_bytes=20 * 1024**4,
available_bytes=14 * 1024**4,
purge_policy_days=30,
shared=False,
),
Expand All @@ -509,8 +495,6 @@ def _init_state(self):
access=_rw,
filesystem="gpfs-project",
performance_tier="medium",
quota_bytes=2 * 1024**4,
available_bytes=1024**4,
purge_policy_days=None,
shared=True,
),
Expand All @@ -520,8 +504,6 @@ def _init_state(self):
access=_rw,
filesystem="gpfs-cfs",
performance_tier="medium",
quota_bytes=10 * 1024**4,
available_bytes=8 * 1024**4,
purge_policy_days=120,
shared=True,
),
Expand All @@ -531,8 +513,6 @@ def _init_state(self):
access=_ro,
filesystem="gpfs-cfs",
performance_tier="medium",
quota_bytes=None,
available_bytes=None,
purge_policy_days=None,
shared=True,
),
Expand All @@ -542,8 +522,6 @@ def _init_state(self):
access=_rw,
filesystem="tmpfs",
performance_tier="high",
quota_bytes=512 * 1024**3,
available_bytes=480 * 1024**3,
purge_policy_days=7,
shared=False,
),
Expand Down Expand Up @@ -1083,8 +1061,6 @@ async def get_locations(
path=self._resolve_path(m.path, user, code),
filesystem=m.filesystem,
performance_tier=m.performance_tier,
quota_bytes=m.quota_bytes,
available_bytes=m.available_bytes,
purge_policy_days=m.purge_policy_days,
shared=m.shared,
access=m.access,
Expand Down
10 changes: 0 additions & 10 deletions app/routers/storage/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,6 @@ class StorageInstance(BaseModel):
description="Performance tier classification (high / medium / low / tape)",
example="high",
)
quota_bytes: int | None = Field(
default=None,
description="Total quota in bytes (None = unlimited or unknown)",
example=5000000000000,
)
available_bytes: int | None = Field(
default=None,
description="Available bytes remaining within the quota",
example=4200000000000,
)
purge_policy_days: int | None = Field(
default=None,
description="Days of inactivity before automatic purge; None means no purge policy",
Expand Down
Loading