Feature #1165

Enforce quotas

Added by Antony Chazapis over 12 years ago. Updated over 11 years ago.

Status:Closed Start date:09/16/2011
Priority:Medium Due date:
Assignee:Antony Chazapis % Done:

0%

Category:Pithos Spent time: -
Target version:-

Description

The interface to quotas is ready ('X-Container-Policy-...'), but limits are not enforced.

Associated revisions

Revision 6d0f82fe
Added by Antony Chazapis over 12 years ago

Report remaining bytes. Enforce account quota when setting container limits.

Refs #1165

Revision 6d0f82fe
Added by Antony Chazapis over 12 years ago

Report remaining bytes. Enforce account quota when setting container limits.

Refs #1165

Revision 1e7f9615
Added by Antony Chazapis over 12 years ago

Change middleware for quota.

Refs #1165

Revision 1e7f9615
Added by Antony Chazapis over 12 years ago

Change middleware for quota.

Refs #1165

Revision 5e7485da
Added by Antony Chazapis over 12 years ago

Merge policy into node. Needs database reset, or the following commands:

alter table policy rename to pre_policy;
create table if not exists policy
( node integer,
key text,
value text,
primary key (node, key)
foreign key (node)
references nodes(node)
on update cascade
on delete cascade );

insert into policy select n.node, p.key, p.value from nodes n, pre_policy p where n.path = p.path;
drop table pre_policy;

Refs #1165
Refs #1167

Revision 5e7485da
Added by Antony Chazapis over 12 years ago

Merge policy into node. Needs database reset, or the following commands:

alter table policy rename to pre_policy;
create table if not exists policy
( node integer,
key text,
value text,
primary key (node, key)
foreign key (node)
references nodes(node)
on update cascade
on delete cascade );

insert into policy select n.node, p.key, p.value from nodes n, pre_policy p where n.path = p.path;
drop table pre_policy;

Refs #1165
Refs #1167

Revision b2832c6a
Added by Antony Chazapis over 12 years ago

Add account policy. Set default policy from settings. Must change settings.py.

Refs #1165
Refs #1167

Revision b2832c6a
Added by Antony Chazapis over 12 years ago

Add account policy. Set default policy from settings. Must change settings.py.

Refs #1165
Refs #1167

Revision 647a5f48
Added by Antony Chazapis over 12 years ago

Merge account policy in api. Document.

Refs #1165
Refs #1167

Revision 647a5f48
Added by Antony Chazapis over 12 years ago

Merge account policy in api. Document.

Refs #1165
Refs #1167

Revision b9064632
Added by Antony Chazapis over 12 years ago

Update backend to support quota.

Refs #1165

Revision b9064632
Added by Antony Chazapis over 12 years ago

Update backend to support quota.

Refs #1165

Revision 5df6c6d1
Added by Antony Chazapis over 12 years ago

Add insufficient quota replies in frontend. Document.

Refs #1165

Revision 5df6c6d1
Added by Antony Chazapis over 12 years ago

Add insufficient quota replies in frontend. Document.

Refs #1165

History

#1 Updated by Antony Chazapis over 12 years ago

  • Assignee set to Antony Chazapis

#2 Updated by Antony Chazapis over 12 years ago

  • Status changed from New to Closed

#3 Updated by Antony Chazapis over 12 years ago

  • Target version changed from 0.8.1 to 0.7.9

#4 Updated by Vangelis Koukis over 11 years ago

  • Project changed from Pithos to Synnefo
  • Target version deleted (0.7.9)

#5 Updated by Vangelis Koukis over 11 years ago

  • Category set to Pithos

Also available in: Atom PDF