GridInfo

The GridInfo protocol was suggested by mana janus to facilitate autoconfiguration of clients. With the GridInfo protocol a smart client only needs to have the URI of the user server or the standalone server and can then obtain parameters such as the welcome page, the helper URI (for the economy subsystem), the name of the grid and other information automatically.

Retrieving the GridInfo is just a simple HTTP GET call to /get_grid_info on either the standalone server's URL or on the grid's user server:

% GET http://127.0.0.1:9000/get_grid_info | xml_pp
<gridinfo>
  <login>http://127.0.0.1:9000/</login>
  <gridname>the lost continent of hippo</gridname>
  <mode>standalone</mode>
  <register>http://127.0.0.1/register</register>
  <platform>OpenSim</platform>
  <help>http://127.0.0.1/help</help>
  <about>http://127.0.0.1/about/</about>
  <welcome>http://127.0.0.1/welcome</welcome>
  <gridnick>hippogrid</gridnick>
  <password>http://127.0.0.1/password</password>
  <economy>http://127.0.0.1:9000/</economy>
</gridinfo>

which was “generated” by the following [GridInfo] section:

[GridInfo]
; login uri
login = http://127.0.0.1:9000/
; login page
welcome = http://127.0.0.1/welcome
; helper uri
economy = http://127.0.0.1:9000/
; web page of grid
about = http://127.0.0.1/about/
; account creation
register = http://127.0.0.1/register
; help
help = http://127.0.0.1/help
; password help
password = http://127.0.0.1/password
; long grid name
gridname = "the lost continent of hippo"
; short grid name
gridnick = "hippogrid"

Have a look at the option table in the OpenSim.ini section for all GridInfo options — note, that you can add additional keys there, they are automatically included in the response.

 
Connecté en tant que : Guest (Guest)
home/personnaliser/gridinfo.txt · Dernière modification: 2008/09/17 18:10 par Green Tamura
 

Espace Membre

Les nouveautés

Forum

Ordre: Nouveau Affichés Contributions
Dernières Contributions Postées
red arrowOPENSIM STANDALONE s..
 Par :  ECH
 Le  04 septembre 2010 - 04:38
 Affichés 154 Réponses 1
red arrowOpenSim - Server dé..
 Par :  ECH
 Le  11 août 2010 - 09:22
 Affichés 1076 Réponses 25
red arrowinstallation et hebe..
 Par :  XAV10
 Le  09 juillet 2010 - 05:13
 Affichés 605 Réponses 2
red arrowChanger la couleur d..
 Par :  ECH
 Le  03 juillet 2010 - 17:26
 Affichés 588 Réponses 3
red arrowinstalation opensim ..
 Par :  virtualfrance
 Le  02 juillet 2010 - 10:21
 Affichés 239 Réponses 1
red arrowImporter des modèle..
 Par :  Crabe05
 Le  01 juillet 2010 - 21:59
 Affichés 374 Réponses 4
red arrowProblème d'installa..
 Par :  Razgriz
 Le  01 juillet 2010 - 12:56
 Affichés 346 Réponses 11
red arrowErreur lancement Hip..
 Par :  TheShock
 Le  22 juin 2010 - 17:18
 Affichés 364 Réponses 2
red arrowChanger l'heure
 Par :  jeannot
 Le  09 juin 2010 - 14:14
 Affichés 312 Réponses 0
red arrowBug opensim 0.6.9 rc..
 Par :  ECH
 Le  20 mai 2010 - 08:11
 Affichés 715 Réponses 5

Who's Online

Visiteurs: 3