aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/share/python/grid_info.py
blob: 8a89328730793509934880c310dcc1cf14cb50f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
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({})