Relay Server for the Fujitsu Global Cloud Platform (FGCP)

The FGCP Relay Server can be used when your current script environment does not support connections with client certificates, like e.g. on Google App Engine.

In order to use this Relay Server, you will need to have a relay script running on some other server, so that it can establish the client certificate connection for you. A basic example is provided in the tests/cgi-bin/ directory.

Then you can simply specify that you want to connect to the region 'relay=https://...' in your scripts, instead of using a real region 'uk', 'de' etc.

Example: [see tests/test_*.py for more examples]

# Connect without valid client certificate to region 'relay=http://...'
from fgcp.resource import FGCPVDataCenter
relay = ''
vdc = FGCPVDataCenter('client.pem', 'relay=%s' % relay)

# Set your private key for the signature here (PEM string)

# Do typical actions on resources
vsystem = vdc.get_vsystem('Demo System')
#for vserver in vsystem.vservers:
#    result = vserver.backup(wait=True)
# See tests/ for more examples

Note: this client API library also provides a Test Server for local library tests, without needing access or registration to the Fujitsu Global Cloud Platform.

Content: index  ClientMethods.html  ResourceActions.html  APICommands.html  ClassDiagrams.html  TestServer.html  RelayServer.html  LibcloudDriver.html  REST_API.html  pydoc fgcp  pydoc fgcp.libcloud  pydoc tests