fgcp.resource
index
resource.py

Resource Actions on the Fujitsu Global Cloud Platform (FGCP)
 
Example: [see tests/test_resource.py for more examples]
 
# 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('Python API Demo System')
vsystem.show_status()
for vserver in vsystem.vservers:
    result = vserver.backup(wait=True)
...

 
Modules
       
time

 
Classes
       
__builtin__.object
FGCPElement
FGCPResource
FGCPAddressRange
FGCPBackup
FGCPDiskImage
FGCPEfm
FGCPFirewall
FGCPLoadBalancer
FGCPEventLog
FGCPFWDirection
FGCPFWDns
FGCPFWLogOrder
FGCPFWNATRule
FGCPFWPolicy
FGCPImageSoftware
FGCPInformation
FGCPPerformanceInfo
FGCPPublicIP
FGCPSLBCCACert
FGCPSLBCause
FGCPSLBErrorPeriod
FGCPSLBErrorStats
FGCPSLBGroup
FGCPSLBServerCert
FGCPSLBTarget
FGCPServerType
FGCPServerTypeCPU
FGCPServerTypeDisk
FGCPUnknown
FGCPUsageInfo
FGCPUsageInfoProduct
FGCPVDataCenter
FGCPVDisk
FGCPVNic
FGCPVServer
FGCPVServerImage
FGCPVSysDescriptor
FGCPVSystem
FGCPResponse
fgcp.FGCPError(exceptions.Exception)
FGCPResourceError

 
class FGCPAddressRange(FGCPResource)
    
Method resolution order:
FGCPAddressRange
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
add()
create_pool()
delete()

Data and other attributes defined here:
from_ip = None
range = None
to_ip = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPBackup(FGCPResource)
    
Method resolution order:
FGCPBackup
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
destroy(self)
get_timeval(self)
getparentid(self)
restore(self, wait=None)

Data and other attributes defined here:
backupId = None
backupTime = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
getid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPDiskImage(FGCPResource)
    
Method resolution order:
FGCPDiskImage
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
list_servertypes(self)
list_softwares(self)
register(self)
unregister(self)
update(self, *args, **kwargs)

Data and other attributes defined here:
creatorName = None
description = None
diskimageId = None
diskimageName = None
licenseInfo = None
osName = None
osType = None
registrant = None
servertypes = None
size = None
softwares = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPEfm(FGCPResource)
    
Method resolution order:
FGCPEfm
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
apply_update(self)
backup(self, wait=None)
create(self, wait=None)
destroy(self)
get_backup(self, backup)
get_child_object(self)
get_config_handler(self)
get_update_info(self)
list_backups(self, timeZone=None, countryCode=None)
restore(self, backup, wait=None)
retrieve(self)
revert_update(self)
start(self, wait=None)
status(self)
stop(self, wait=None)
update(self, *args, **kwargs)
update_config_handler(self)

Data and other attributes defined here:
backups = None
creator = None
efmId = None
efmName = None
efmType = None
firewall = None
loadbalancer = None
slbVip = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
setparent(self, parent)
show_output(self, text='')
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPElement(__builtin__.object)
     Methods defined here:
__init__(self, **kwargs)
__repr__(self)
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPEventLog(FGCPResource)
    
Method resolution order:
FGCPEventLog
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
entryDate = None
expiry = None
message = None
startDate = None
title = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPFWDirection(FGCPResource)
    
Method resolution order:
FGCPFWDirection
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
getid(self)

Data and other attributes defined here:
acceptable = None
from_zone = None
maxPolicyNum = None
policies = None
prefix = None
to_zone = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPFWDns(FGCPResource)
    
Method resolution order:
FGCPFWDns
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
primary = None
secondary = None
type = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPFWLogOrder(FGCPResource)
    
Method resolution order:
FGCPFWLogOrder
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
__init__(self, **kwargs)

Data and other attributes defined here:
from_zone = None
prefix = None
to_zone = None
value = None

Methods inherited from FGCPResource:
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPFWNATRule(FGCPResource)
    
Method resolution order:
FGCPFWNATRule
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
privateIp = None
publicIp = None
snapt = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPFWPolicy(FGCPResource)
    
Method resolution order:
FGCPFWPolicy
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
action = None
dst = None
dstPort = None
dstService = None
dstType = None
id = None
log = None
protocol = None
src = None
srcPort = None
srcType = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPFirewall(FGCPEfm)
    
Method resolution order:
FGCPFirewall
FGCPEfm
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
get_dns(self)
get_limit_policies(self, from_zone=None, to_zone=None)
get_log(self, num=100, orders=None)
get_nat_rules(self)
get_policies(self, from_zone=None, to_zone=None)
list_nat_rules(self)
list_policies(self)
set_dns(self, dnstype='AUTO', primary=None, secondary=None)
set_nat_rules(self, rules=None)
set_policies(self, log='On', policies=None)

Data and other attributes defined here:
backout = None
category = None
comment = None
configUpdateExist = None
currentVersion = None
directions = None
dns = None
efmType = 'FW'
firmUpdateExist = None
latestVersion = None
log = None
nat = None
updateDate = None

Methods inherited from FGCPEfm:
apply_update(self)
backup(self, wait=None)
create(self, wait=None)
destroy(self)
get_backup(self, backup)
get_child_object(self)
get_config_handler(self)
get_update_info(self)
list_backups(self, timeZone=None, countryCode=None)
restore(self, backup, wait=None)
retrieve(self)
revert_update(self)
start(self, wait=None)
status(self)
stop(self, wait=None)
update(self, *args, **kwargs)
update_config_handler(self)

Data and other attributes inherited from FGCPEfm:
backups = None
creator = None
efmId = None
efmName = None
firewall = None
loadbalancer = None
slbVip = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
setparent(self, parent)
show_output(self, text='')
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPImageSoftware(FGCPResource)
    
Method resolution order:
FGCPImageSoftware
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
category = None
id = None
license = None
name = None
officialVersion = None
patch = None
support = None
version = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPInformation(FGCPResource)
    
Method resolution order:
FGCPInformation
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
entryDate = None
expiry = None
message = None
seqno = None
startDate = None
title = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPLoadBalancer(FGCPEfm)
    
Method resolution order:
FGCPLoadBalancer
FGCPEfm
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
add_cca(self, ccacertNum, filePath)
add_cert(self, certNum, filePath, passphrase)
add_group(self, **kwargs)
Usage:
loadbalancer = vsystem.get_loadbalancer('SLB1')
vserver1 = vsystem.get_vserver('WebApp1')
vserver2 = vsystem.get_vserver('WebApp2')
# add single group
loadbalancer.add_group(id=10, protocol='http', targets=[vserver1, vserver2])
clear_error_stats(self)
clear_load_stats(self)
delete_cca(self, ccacertNum)
delete_cert(self, certNum, force=None)
delete_group(self, groupId)
Usage:
loadbalancer = vsystem.get_loadbalancer('SLB1')
# list all groups
groups = loadbalancer.list_groups()
for group in groups:
    if group.protocol != 'http':
        continue
    # delete single group
    loadbalancer.delete_group(group.id)
    break
get_cert_list(self, certCategory=None, detail=None)
get_error_stats(self)
get_group(self, groupId)
get_load_stats(self)
get_rules(self)
list_ccacerts(self, detail=None)
list_groups(self)
list_servercerts(self, detail=None)
release_cert(self, certNum)
set_cert(self, certNum, groupId)
set_rules(self, groups=None, force=None, webAccelerator=None)
Usage:
loadbalancer = vsystem.get_loadbalancer('SLB1')
# get all rules
rules = loadbalancer.get_rules()
# adapt the group list
new_groups = []
for group in rules.groups:
    ...
    new_groups.append(group)
# update all rules
result = loadbalancer.set_rules(groups=new_groups, force=None, webAccelerator=None)
start_maintenance(self, groupId, ipAddress, time=None, unit=None)
stop_maintenance(self, groupId, ipAddress)

Data and other attributes defined here:
backout = None
category = None
ccacerts = None
comment = None
configUpdateExist = None
currentVersion = None
efmType = 'SLB'
errorStatistics = None
firmUpdateExist = None
groups = None
ipAddress = None
latestVersion = None
loadStatistics = None
servercerts = None
srcPort = None
srcType = None
updateDate = None
webAccelerator = None

Methods inherited from FGCPEfm:
apply_update(self)
backup(self, wait=None)
create(self, wait=None)
destroy(self)
get_backup(self, backup)
get_child_object(self)
get_config_handler(self)
get_update_info(self)
list_backups(self, timeZone=None, countryCode=None)
restore(self, backup, wait=None)
retrieve(self)
revert_update(self)
start(self, wait=None)
status(self)
stop(self, wait=None)
update(self, *args, **kwargs)
update_config_handler(self)

Data and other attributes inherited from FGCPEfm:
backups = None
creator = None
efmId = None
efmName = None
firewall = None
loadbalancer = None
slbVip = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
setparent(self, parent)
show_output(self, text='')
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPPerformanceInfo(FGCPResource)
    
Method resolution order:
FGCPPerformanceInfo
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
cpuUtilization = None
diskReadRequestCount = None
diskReadSector = None
diskWriteRequestCount = None
diskWriteSector = None
nicInputByte = None
nicInputPacket = None
nicOutputByte = None
nicOutputPacket = None
recordTime = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPPublicIP(FGCPResource)
    
Method resolution order:
FGCPPublicIP
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
allocate(self)
attach(self, wait=None)
detach(self, wait=None)
free(self, wait=None)
get_attributes(self, refresh=None)
retrieve(self, refresh=None)
status(self)

Data and other attributes defined here:
address = None
v4v6Flag = None
vsysId = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPResource(FGCPElement)
    Generic FGCP Resource
 
 
Method resolution order:
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPResourceError(fgcp.FGCPError)
    Exception class for FGCP Resource Errors
 
 
Method resolution order:
FGCPResourceError
fgcp.FGCPError
exceptions.Exception
exceptions.BaseException
__builtin__.object

Methods defined here:
__init__(self, status, message, resource=None)
__str__(self)

Data descriptors inherited from fgcp.FGCPError:
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message

 
class FGCPResponse(FGCPElement)
    FGCP Response
 
 
Method resolution order:
FGCPResponse
FGCPElement
__builtin__.object

Methods defined here:
__repr__(self)

Methods inherited from FGCPElement:
__init__(self, **kwargs)
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPSLBCCACert(FGCPResource)
    
Method resolution order:
FGCPSLBCCACert
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
ccacertNum = None
description = None
detail = None
issuer = None
subject = None
validity = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPSLBCause(FGCPResource)
    
Method resolution order:
FGCPSLBCause
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
before = None
cat = None
current = None
status = None
today = None
total = None
yesterday = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPSLBErrorPeriod(FGCPResource)
    
Method resolution order:
FGCPSLBErrorPeriod
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
before = None
current = None
today = None
yesterday = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPSLBErrorStats(FGCPResource)
    
Method resolution order:
FGCPSLBErrorStats
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
list_groups(self)

Data and other attributes defined here:
groups = None
period = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPSLBGroup(FGCPResource)
    
Method resolution order:
FGCPSLBGroup
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
set_defaults(self)

Data and other attributes defined here:
balanceType = None
causes = None
certNum = None
id = None
interval = None
maxConnection = None
monitorType = None
port1 = None
port2 = None
protocol = None
recoveryAction = None
retryCount = None
targets = None
timeout = None
uniqueRetention = None
uniqueType = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPSLBServerCert(FGCPResource)
    
Method resolution order:
FGCPSLBServerCert
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
certNum = None
detail = None
groupId = None
issuer = None
subject = None
validity = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPSLBTarget(FGCPResource)
    
Method resolution order:
FGCPSLBTarget
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
ipAddress = None
now = None
peak = None
port1 = None
port2 = None
serverId = None
serverName = None
status = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPServerType(FGCPResource)
    
Method resolution order:
FGCPServerType
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
list_disks(self)

Data and other attributes defined here:
chargeType = None
comment = None
cpu = None
disks = None
expectedUsage = None
id = None
label = None
memory = None
name = None
price = None
productId = None
productName = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPServerTypeCPU(FGCPResource)
    
Method resolution order:
FGCPServerTypeCPU
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
cpuArch = None
cpuPerf = None
numOfCpu = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPServerTypeDisk(FGCPResource)
    
Method resolution order:
FGCPServerTypeDisk
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
diskSize = None
diskType = None
diskUsage = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPUnknown(FGCPResource)
    
Method resolution order:
FGCPUnknown
FGCPResource
FGCPElement
__builtin__.object

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPUsageInfo(FGCPResource)
    
Method resolution order:
FGCPUsageInfo
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
list_products(self)

Data and other attributes defined here:
products = None
vsysId = None
vsysName = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPUsageInfoProduct(FGCPResource)
    
Method resolution order:
FGCPUsageInfoProduct
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
productName = None
unitName = None
usedPoints = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPVDataCenter(FGCPResource)
    FGCP VDataCenter
 
 
Method resolution order:
FGCPVDataCenter
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
__init__(self, key_file=None, region=None, verbose=0, debug=0)
Use the same PEM file for SSL client certificate and RSA key signature
 
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
add_addressrange(self, pipFrom, pipTo)
create_addresspool(self, pipFrom=None, pipTo=None)
create_vsystem(self, vsysName, vsysdescriptor, wait=None)
delete_addressrange(self, pipFrom, pipTo)
destroy_vsystem(self, vsysName, wait=None)
get_diskimage(self, diskimageName)
get_eventlog(self, all=None, timeZone=None, countryCode=None)
get_information(self, all=None, timeZone=None, countryCode=None)
get_publicip(self, publicipAddress)
get_servertype(self, servertypeName)
get_vsysdescriptor(self, vsysdescriptorName)
get_vsystem(self, vsysName)
get_vsystem_design(self, vsystem=None)
get_vsystem_usage(self, vsysNames=None)
list_addressranges(self)
list_diskimages(self, vsysdescriptor=None, category='GENERAL')
list_publicips(self)
list_servertypes(self, diskimage=None)
list_vsysdescriptors(self)
list_vsystems(self)
show_vsystem_status(self, sep='\t')
show_vsystem_usage(self, vsysNames=None)
status(self)

Data and other attributes defined here:
addressranges = None
config = None
diskimages = None
publicips = None
servertypes = None
vsysdescriptors = None
vsystems = None

Methods inherited from FGCPResource:
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPVDisk(FGCPResource)
    
Method resolution order:
FGCPVDisk
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
attach(self, vserver, wait=None)
backup(self, wait=None)
cleanup_backups(self, max_num=100, max_age=None)
create(self, wait=None)
destroy(self)
detach(self, vserver, wait=None)
get_backup(self, backup)
getparentid(self)
list_backups(self, timeZone=None, countryCode=None)
restore(self, backup, wait=None)
retrieve(self, refresh=None)
status(self)
update(self, *args, **kwargs)

Data and other attributes defined here:
attachedTo = None
backups = None
creator = None
size = None
vdiskId = None
vdiskName = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
getid(self)
getproxy(self)
merge_attr(self, partial)
setparent(self, parent)
show_output(self, text='')
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPVNic(FGCPResource)
    
Method resolution order:
FGCPVNic
FGCPResource
FGCPElement
__builtin__.object

Data and other attributes defined here:
networkId = None
nicNo = None
privateIp = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPVServer(FGCPResource)
    
Method resolution order:
FGCPVServer
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
attach_vdisk(self, vdisk, wait=None)
backup(self, wait=None)
cleanup_backups(self, max_num=100, max_age=None)
create(self, wait=None)
destroy(self, wait=None)
detach_vdisk(self, vdisk, wait=None)
get_configuration(self, refresh=None)
get_password(self)
get_performance(self, interval='hour', dataType=None)
get_vdisk(self, vdisk)
list_backups(self, timeZone=None, countryCode=None)
list_vdisks(self)
list_vnics(self)
reboot(self, wait=None, force=None)
register_diskimage(self, name, description)
restore(self, backup, wait=None)
retrieve(self, refresh=None)
start(self, wait=None)
status(self)
stop(self, wait=None, force=None)
update(self, *args, **kwargs)

Data and other attributes defined here:
backups = None
creator = None
diskimageId = None
image = None
vdisks = None
vnics = None
vserverId = None
vserverName = None
vserverType = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
setparent(self, parent)
show_output(self, text='')
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPVServerImage(FGCPResource)
    
Method resolution order:
FGCPVServerImage
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
list_softwares(self)

Data and other attributes defined here:
cpuBit = None
id = None
numOfMaxDisk = None
numOfMaxNic = None
serverApplication = None
serverCategory = None
softwares = None
sysvolSize = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
retrieve(self, refresh=None)
setparent(self, parent)
show_output(self, text='')
update(self)
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPVSysDescriptor(FGCPResource)
    
Method resolution order:
FGCPVSysDescriptor
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
create_vsystem(self, vsysName, wait=None)
get_configuration(self, refresh=None)
get_diskimage(self, diskimageName)
list_diskimages(self, category='GENERAL')
list_vservers(self)
register(self)
retrieve(self, refresh=None)
unregister(self)
update(self, *args, **kwargs)

Data and other attributes defined here:
creatorName = None
description = None
diskimages = None
keyword = None
registrant = None
vservers = None
vsysdescriptorId = None
vsysdescriptorName = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
create(self, wait=None)
destroy(self)
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
setparent(self, parent)
show_output(self, text='')
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FGCPVSystem(FGCPResource)
    
Method resolution order:
FGCPVSystem
FGCPResource
FGCPElement
__builtin__.object

Methods defined here:
allocate_publicip(self, wait=None)
attach_vdisk(self, vdisk, vserver, wait=None)
boot(self, wait=None)
create(self)
create_loadbalancer(self, efmName, vnet, wait=None)
create_vdisk(self, vdiskName, size, wait=None)
create_vserver(self, vserverName, servertype, diskimage, vnet, wait=None)
destroy(self)
destroy_vdisk(self, vdisk, wait=None)
destroy_vserver(self, vserver, wait=None)
detach_vdisk(self, vdisk, vserver, wait=None)
get_console_url(self, vnet)
get_firewall(self, efmName)
get_inventory(self, refresh=None)
get_loadbalancer(self, efmName)
get_publicip(self, publicipAddress)
get_status(self, sep='\t')
get_usage(self)
get_vdisk(self, vdiskName)
get_vnet(self, vnet)
get_vserver(self, vserverName)
list_firewalls(self)
list_loadbalancers(self)
list_publicips(self)
list_vdisks(self)
list_vnets(self)
list_vservers(self)
reboot_vserver(self, vserver, wait=None, force=None)
register_vsysdescriptor(self, name, description, keyword)
retrieve(self, refresh=None)
show_status(self, sep='\t')
shutdown(self, wait=None)
start(self, wait=None)
start_vserver(self, vserver, wait=None)
status(self)
stop(self, wait=None)
stop_vserver(self, vserver, wait=None, force=None)
update(self, *args, **kwargs)

Data and other attributes defined here:
baseDescriptor = None
cloudCategory = None
creator = None
description = None
firewalls = None
loadbalancers = None
publicips = None
vdisks = None
vnets = None
vservers = None
vsysId = None
vsysName = None

Methods inherited from FGCPResource:
__init__(self, **kwargs)
__repr__(self)
check_status(self, in_state=[], out_state=[])
getid(self)
getparentid(self)
getproxy(self)
merge_attr(self, partial)
setparent(self, parent)
show_output(self, text='')
wait_for_status(self, in_state=[], out_state=[], timeout=900)

Methods inherited from FGCPElement:
pformat(self, what, depth=0)
pprint(self)
Show dump of the FGCP Element for development
reset_attr(self, what)

Data descriptors inherited from FGCPElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)