Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit 195a2b42 authored by Cyril Rohr's avatar Cyril Rohr
Browse files

cluster 'date_of_arrival' is changed to 'created_at', which is an HTTP date

parent 593aeb2a
# Synopsis
This repository contains the reference data of Grid5000. The raw data is located in the "data" directory. You may change or add files by hand, but you could also use a specific generator called "grid5000.rb", which is available in the "generators" directory. Given one or more input files that describe in Ruby the data you want to add, it will generate the raw json files, directories and hard links needed.
=== Synopsis ===
This repository contains the reference data of Grid5000. The raw data is located in the "data" directory. You may change or add files by hand, but you could also use a specific generator called "grid5000.rb", which is available in the "generators" directory. Given one or more input files that describe (using the Ruby language) the data you want to add, it will generate the raw json files, directories and hard links needed.
# Getting started
Right now, the easiest way to get started is to look at some existing input files in the "generators/input" directory. There you can see how you define sites, clusters, nodes and environments programmatically. Then you can create or change an existing input file and run it in simulation mode (your changes won't be applied but you'll see what will be changed).
=== Getting started ===
Right now, the easiest way to get started is to look at some existing input files in the "generators/input" directory. There you can see how you can define sites, clusters, nodes and environments programmatically. Then you can create a new file or change an existing one and run it in simulation mode:
$ ruby grid5000.rb input/*.rb -s
Your changes won't be applied but you'll see what would have been changed. Thus, the simulation mode is useful to review your changes before committing and check the ruby syntax of the input files.
Run the "grid5000.rb" script (in /generators) without options ($ ruby grid5000.rb) to see how to use it.
After each modification to the repository, you should commit your changes with a meaningful message, so that people can easily track them. Your commits should also be site-specific, or even cluster-specific. Try to avoid putting a lot of changes in only one commit.
=== Apply your changes to the master repository ===
After each modification to the repository, you should immediately commit your changes with a meaningful message, so that people can easily understand what has changed. Your commits should also be site-specific, or even cluster-specific to avoid merge conflicts. Try to avoid putting a lot of changes in only one commit.
Since users will make queries such as: "give me the description of that site at this date", the time between the date of the commit and the effective replication of the changes to the APIs must be as low as possible.
That's why, right after your commit, you should push your changes to the remote master repository. Please not that commits whose committed date is older than 60 seconds will be rejected (please check that your system clock is correctly synchronized with a time server). Modifications are replicated every minute to the APIs.
# Authors
Cyril Rohr, cyril.rohr@irisa.fr
\ No newline at end of file
{
"contact": "cyril.rohr@irisa.fr",
"description": "Returns the access policy for a particular service accessed by a given user.",
"doc": "\/authorization\/doc",
"name": "Authorization",
"type": "service",
"uid": "authorization",
"uri": "\/authorization"
}
\ No newline at end of file
{
"description": "Manages the creation\/deletion and update of job sets.",
"doc": "\/jobsets\/doc",
"name": "Jobsets",
"policies": {
"DELETE": {
"admin_groups": "CT",
"authorized_groups": "rennes,grenoble,bordeaux,toulouse,sophia,orsay,nancy,lille,lyon",
"user_must_be_owner": true
},
"GET": {
"admin_groups": "CT",
"authorized_groups": "rennes,grenoble,bordeaux,toulouse,sophia,orsay,nancy,lille,lyon",
"user_must_be_owner": true
},
"POST": {
"admin_groups": "CT",
"authorized_groups": "rennes,grenoble,bordeaux,toulouse,sophia,orsay,nancy,lille,lyon",
"user_must_be_owner": true
},
"PUT": {
"admin_groups": "CT",
"authorized_groups": "rennes,grenoble,bordeaux,toulouse,sophia,orsay,nancy,lille,lyon",
"user_must_be_owner": true
}
},
"type": "service",
"uid": "jobsets",
"uri": "\/jobsets"
}
\ No newline at end of file
{
"contact": "bruno.bzeznik@imag.fr",
"description": null,
"doc": null,
"name": "OAR",
"type": "service",
"uid": "oar",
"uri": "\/oar-site"
}
\ No newline at end of file
{
"contact": "cyril.rohr@irisa.fr",
"description": "Returns the status of a given resource.",
"doc": "\/statuses\/doc",
"name": "Statuses",
"type": "service",
"uid": "statuses",
"uri": "\/statuses"
}
\ No newline at end of file
{
"date_of_arrival": 1222812000,
"created_at": "Tue, 30 Sep 2008 22:00:00 GMT",
"model": "Bull R422-E1",
"type": "cluster",
"uid": "genepi"
......
{
"date_of_arrival": null,
"created_at": null,
"model": "IBM eServer 326m",
"type": "cluster",
"uid": "chicon"
......
{
"date_of_arrival": null,
"created_at": null,
"model": "Altix Xe 310",
"type": "cluster",
"uid": "chinqchint"
......
{
"date_of_arrival": null,
"created_at": null,
"model": "IBM eServer 326m",
"type": "cluster",
"uid": "chti"
......
{
"date_of_arrival": null,
"created_at": null,
"misc": "deployment unavailable because reboot instruments are not enough dependable.",
"model": "IBM eServer 326",
"type": "cluster",
......
{
"date_of_arrival": 1101902400,
"created_at": "Wed, 01 Dec 2004 12:00:00 GMT",
"misc": "bios: 1.36 \/ bcm: 1.20.9 \/ bmc: 1.46",
"model": "IBM eServer 325",
"type": "cluster",
......
{
"date_of_arrival": 1151755200,
"created_at": "Sat, 01 Jul 2006 12:00:00 GMT",
"model": "Sun Fire V20z",
"type": "cluster",
"uid": "sagittaire"
......
{
"date_of_arrival": 1172577600,
"created_at": "Tue, 27 Feb 2007 12:00:00 GMT",
"model": "HP ProLiant DL140G3",
"type": "cluster",
"uid": "grelon"
......
{
"date_of_arrival": 1130846400,
"created_at": "Tue, 01 Nov 2005 12:00:00 GMT",
"model": "HP ProLiant DL145G2",
"type": "cluster",
"uid": "grillon"
......
{
"date_of_arrival": null,
"created_at": null,
"misc": "bios:1.28\/bcm:1.20.17\/bmc:1.10\/rsaII:1.00",
"model": "IBM eServer 326m",
"type": "cluster",
......
{
"date_of_arrival": null,
"created_at": null,
"misc": "bios:1.28\/bcm:1.20.17\/bmc:1.10\/rsaII:1.00",
"model": "IBM eServer 326m",
"type": "cluster",
......
{
"created_at": 1188597600,
"created_at": "Fri, 31 Aug 2007 22:00:00 GMT",
"model": "Dell PowerEdge 1950",
"type": "cluster",
"uid": "paramount"
......
{
"created_at": 1164927600,
"created_at": "Thu, 30 Nov 2006 23:00:00 GMT",
"model": "Dell PowerEdge 1950",
"type": "cluster",
"uid": "paraquad"
......
{
"created_at": 1108681200,
"created_at": "Thu, 17 Feb 2005 23:00:00 GMT",
"model": "IBM eServer 325",
"type": "cluster",
"uid": "azur"
......
{
"created_at": 1149199200,
"created_at": "Thu, 01 Jun 2006 22:00:00 GMT",
"model": "Sun Fire X4100",
"type": "cluster",
"uid": "helios"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment