BonFIRE logo and link to main BonFIRE site

Previous topic

Using the BonFIRE Testbeds

Next topic

Resource Usage API v1.0

This Page

Quota and UsageΒΆ

Every experiment group in BonFIRE has got a quota for the allowed storage and compute resource usage. See the resource accounting page for more details about how each of these are accounted for.

On all the testbeds, you can see what is your current quota usage and limitations by issuing a request to the ‘account’ resource. Here is how you would do it, for the IBBT testbed for instance:

crohr@parachute:~ $ curl -kni https://api.bonfire-project.eu/locations/be-ibbt/account
HTTP/1.1 200 OK
Date: Thu, 01 Mar 2012 15:42:25 GMT
Server: thin 1.2.11 codename Bat-Shit Crazy
Allow: GET,OPTIONS,HEAD
Content-Type: application/vnd.bonfire+xml; charset=utf-8
ETag: "e53e922c85f002c7b549227f35d36e67"
Cache-Control: max-age=0, private, must-revalidate
X-UA-Compatible: IE=Edge,chrome=1
X-Runtime: 0.933386
Vary: Authorization,Accept
Connection: close
Transfer-Encoding: chunked

<?xml version="1.0" encoding="UTF-8"?>
<account xmlns="http://api.bonfire-project.eu/doc/schemas/occi" href="/locations/be-ibbt/account">
  <id>10</id>
  <name>crohr</name>
  <quota>
    <storage>409600</storage>
  </quota>
  <usage>
    <storage>0</storage>
  </usage>
  <link rel="parent" href="/locations/be-ibbt" type="application/vnd.bonfire+xml"/>
  <link rel="self" href="/locations/be-ibbt/account" type="application/vnd.bonfire+xml"/>
</account>

Unit is MB.