Skip to main content

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

Project description

Note: This project has been migrated to GitHub at https://github.com/mikespub/fgcp-client-api Please report any new issues there…

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

using XML-RPC API Version 2015-01-30

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 tlslite.utils or gdata.tlslite.utils to create the key signature, see https://pypi.python.org/pypi/tlslite-ng or https://pypi.python.org/pypi/tlslite 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.

Filename, size & hash SHA256 hash help File type Python version Upload date
fgcp_client_api-1.5.0-py2-none-any.whl (65.5 kB) Copy SHA256 hash SHA256 Wheel 2.7
fgcp-client-api-1.5.0.tar.gz (308.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page