aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/share
diff options
context:
space:
mode:
authorDr Scofield2008-07-25 16:56:46 +0000
committerDr Scofield2008-07-25 16:56:46 +0000
commitb5f23b4c9ca33740830ae6637103c4f019bcd782 (patch)
treed04e497e7d331d4835608c02af25de7d60f98e20 /share
parent* disabling ODE unit tests again.. until the dllnotfound exception is resolv... (diff)
downloadopensim-SC_OLD-b5f23b4c9ca33740830ae6637103c4f019bcd782.zip
opensim-SC_OLD-b5f23b4c9ca33740830ae6637103c4f019bcd782.tar.gz
opensim-SC_OLD-b5f23b4c9ca33740830ae6637103c4f019bcd782.tar.bz2
opensim-SC_OLD-b5f23b4c9ca33740830ae6637103c4f019bcd782.tar.xz
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.
Diffstat (limited to 'share')
-rw-r--r--share/python/grid_info.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/python/grid_info.py b/share/python/grid_info.py
new file mode 100644
index 0000000..8a89328
--- /dev/null
+++ b/share/python/grid_info.py
@@ -0,0 +1,12 @@
1#!/usr/bin/python
2# -*- encoding: utf-8 -*-
3import xmlrpclib
4
5# XML-RPC URL (http_listener_port)
6gridServerURL = 'http://127.0.0.1:9000'
7
8# instantiate server object
9gridServer = xmlrpclib.Server(gridServerURL)
10
11# invoke admin_alert: requires password and message
12print gridServer.get_grid_info({})