Skip to main content

Client API Library for the Fujitsu Global Cloud Platform (FGCP)

Project description

using XML-RPC API Version 2012-02-18

Using this library

If you already have access to the Fujitsu Global Cloud Platform (FGCP), have a look at the demo script:

**Usage:** fgcp_demo.py [pem_file] [region]

If not, register on one of the Service Portals from the list below. Afterwards, you can access your resources via command-line scripts, web interfaces etc. as you prefer.

# Connect with your client certificate to region 'uk'
from fgcp.resource import FGCPVDataCenter
vdc = FGCPVDataCenter('client.pem', 'uk')

# Do typical resource actions
vsystem = vdc.get_vsystem('Python API Demo System')
vsystem.show_status()
for vserver in vsystem.vservers:
        result = vserver.backup(wait=True)
...

Note: this client API library provides higher-level Client Methods, intermediate Resource Actions and lower-level API Commands.

Fujitsu Global Cloud Platform (FGCP)

http://mikespub.net/fgcp_client_api.png

Service Portal:

Requirements

This module uses gdata.tlslite.utils to create the key signature, see http://code.google.com/p/gdata-python-client/ for download and installation

Note: to convert your .p12 or .pfx client certificate to unencrypted PEM format, you can use the following ‘openssl’ command:

openssl pkcs12 -in UserCert.p12 -out client.pem -nodes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fgcp-client-api, version 1.3.2
Filename, size File type Python version Upload date Hashes
Filename, size fgcp_client_api-1.3.2-py2.7.egg (103.3 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size fgcp-client-api-1.3.2.zip (378.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page