]> PlanetLab Administrative-Monitor API Documentation Introduction The PlanetLab Administrative-Monitor API (Admin-Mon) is the interface through which PLC administrators access the Admin-Mon API. Some functions are also accessible to users with lower privileges. But, all users must have an account in the monitored PLC
Authentication Authentication for operations is based on the identity of the connecting user. The standard PLCAPI authetication is used here.
Connection The Admin-Mon XMLRPC server listens at http://PLC_MONITOR_HOST:8082/XMLRPC/ The XMLRPC server can be accessed remotely using a standard Python XMLRPC shell.
An Example using the PLC and Admin-Mon API Access to the API is via standard XMLRPC. A simple example is below. import xmlrpclib auth = {'Username' : API_AUTH_USER, 'AuthMethod' : 'password', 'AuthString' : API_AUTH_PASSWORD} api = xmlrpclib.Server(API_SERVER, verbose=False, allow_none=True) if api.upAndRunning(): for i in api.getSiteStatus(auth): print i else: print "Admin-Mon API is not running."
PlanetLab API Methods &Methods;