first cut at a GridInfo plugin (mantis #1825). Currently just spits

out everything in the [GridInfo] section :-D Also, not yet LLSD but
XmlRpc, LLSD via GET will follow. OpenSim.ini.example contains sample
values and explanation. Oh, and default values provided are 

       platform: OpenSim
       mode: standalone | grid

have fun.
This commit is contained in:
Dr Scofield
2008-07-25 16:56:46 +00:00
parent ddd2581d8c
commit b5f23b4c9c
4 changed files with 186 additions and 0 deletions

12
share/python/grid_info.py Normal file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/python
# -*- encoding: utf-8 -*-
import xmlrpclib
# XML-RPC URL (http_listener_port)
gridServerURL = 'http://127.0.0.1:9000'
# instantiate server object
gridServer = xmlrpclib.Server(gridServerURL)
# invoke admin_alert: requires password and message
print gridServer.get_grid_info({})