Home - mikespub/fgcp-client-api GitHub Wiki
Client API library for the Fujitsu Cloud Service S5 (*)
using XML-RPC API Version 2015-01-30
(*) aka Fujitsu Cloud IaaS Trusted Public S5 (TPS5) or Fujitsu Global Cloud Platform (FGCP)
Note: this cloud service has been around for 8+ years and is being fazed out in favor of the Fujitsu Cloud Service K5
Using this library
If you already have access to the Fujitsu Cloud Service S5, 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 actions on resources
vsystem = vdc.get_vsystem('Demo System')
vsystem.show_status()
#for vserver in vsystem.vservers:
# result = vserver.backup(wait=True)
#...
# See tests/test_resource.py for more examples
Note: this client API library provides higher-level Client Methods, intermediate Resource Actions and lower-level API Commands.
You can also register FGCP as a Third Party Driver and access it using the Apache Libcloud APIs.
Fujitsu Global Cloud Platform (FGCP)
Service Portal
- for Australia and New Zealand: https://globalcloud.fujitsu.com.au/
- for Central Europe (CEMEA&I): https://globalcloud.de.fujitsu.com/
- for Japan (East): https://oviss.jp.fujitsu.com/
- for Japan (West): https://oviss2.jp.fujitsu.com/
- for Singapore, Malaysia, Indonesia, Thailand and Vietnam: https://globalcloud.sg.fujitsu.com/
- for the UK and Ireland (North): https://globalcloud.uk.fujitsu.com/
- for the UK and Ireland (East): https://globalcloud2.uk.fujitsu.com/
- for the Americas: http://globalcloud.us.fujitsu.com/
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 file to unencrypted PEM format, you can use the following 'openssl' command:
openssl pkcs12 -in UserCert.p12 -out client.pem -nodes